{"action":"created","issue":{"url":"https://api.github.com/repos/macports/macports-ports/issues/1711","repository_url":"https://api.github.com/repos/macports/macports-ports","labels_url":"https://api.github.com/repos/macports/macports-ports/issues/1711/labels{/name}","comments_url":"https://api.github.com/repos/macports/macports-ports/issues/1711/comments","events_url":"https://api.github.com/repos/macports/macports-ports/issues/1711/events","html_url":"https://github.com/macports/macports-ports/pull/1711","id":319665403,"number":1711,"title":"New port: RESTinio","user":{"login":"Lord-Kamina","id":6446892,"avatar_url":"https://avatars2.githubusercontent.com/u/6446892?v=4","gravatar_id":"","url":"https://api.github.com/users/Lord-Kamina","html_url":"https://github.com/Lord-Kamina","followers_url":"https://api.github.com/users/Lord-Kamina/followers","following_url":"https://api.github.com/users/Lord-Kamina/following{/other_user}","gists_url":"https://api.github.com/users/Lord-Kamina/gists{/gist_id}","starred_url":"https://api.github.com/users/Lord-Kamina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lord-Kamina/subscriptions","organizations_url":"https://api.github.com/users/Lord-Kamina/orgs","repos_url":"https://api.github.com/users/Lord-Kamina/repos","events_url":"https://api.github.com/users/Lord-Kamina/events{/privacy}","received_events_url":"https://api.github.com/users/Lord-Kamina/received_events","type":"User","site_admin":false},"labels":[{"id":457720721,"url":"https://api.github.com/repos/macports/macports-ports/labels/type:%20enhancement","name":"type: enhancement","color":"0e8a16","default":false},{"id":472413808,"url":"https://api.github.com/repos/macports/macports-ports/labels/type:%20submission","name":"type: submission","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-02T18:35:35Z","updated_at":"2018-05-03T13:26:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/macports/macports-ports/pulls/1711","html_url":"https://github.com/macports/macports-ports/pull/1711","diff_url":"https://github.com/macports/macports-ports/pull/1711.diff","patch_url":"https://github.com/macports/macports-ports/pull/1711.patch"},"body":"Refactored the Portfile and fixed various bugs that were present in my first attempt. Tried the port with the basic example copy-pasted straight from README.md and it's working as expected.\r\n\r\nCommented/disabled tests, samples and benchmarks because they have way too many dependencies that aren't needed for the actual port.\r\n\r\n#### Description\r\n\r\nRESTinio is a header-only C++14 library that gives you an embedded\r\nHTTP/Websocket server. It is based on standalone version of ASIO and targeted\r\nprimarily for asynchronous processing of HTTP-requests.\r\n\r\n<!-- Use \"skip notification\" (surrounded with []) to avoid notifying maintainers -->\r\n<!-- (delete all below for minor changes) -->\r\n\r\n###### Type(s)\r\n<!-- update (title contains \": U(u)pdate to\"), submission (new Portfile) and CVE Identifiers are auto-detected, replace [ ] with [x] to select -->\r\n\r\n- [ ] bugfix\r\n- [x] enhancement\r\n- [ ] security fix\r\n\r\n###### Tested on\r\n<!-- Generate version information with this command in shell:\r\n    echo \"macOS $(sw_vers -productVersion) $(sw_vers -buildVersion)\"; echo \"Xcode $(xcodebuild -version | awk '{print $NF}' | tr '\\n' ' ')\"\r\n-->\r\nmacOS 10.13.4\r\nXcode 9.3\r\n\r\n###### Verification <!-- (delete not applicable items) -->\r\nHave you\r\n\r\n- [x] followed our [Commit Message Guidelines](https://trac.macports.org/wiki/CommitMessages)?\r\n- [x] checked that there aren't other open [pull requests](https://github.com/macports/macports-ports/pulls) for the same change?\r\n- [x] checked your Portfile with `port lint`?\r\n- [x] tried a full install with `sudo port -vst install`?\r\n- [x] tested basic functionality of all binary files?\r\n"},"comment":{"url":"https://api.github.com/repos/macports/macports-ports/issues/comments/386294850","html_url":"https://github.com/macports/macports-ports/pull/1711#issuecomment-386294850","issue_url":"https://api.github.com/repos/macports/macports-ports/issues/1711","id":386294850,"user":{"login":"ctreleaven","id":22987219,"avatar_url":"https://avatars0.githubusercontent.com/u/22987219?v=4","gravatar_id":"","url":"https://api.github.com/users/ctreleaven","html_url":"https://github.com/ctreleaven","followers_url":"https://api.github.com/users/ctreleaven/followers","following_url":"https://api.github.com/users/ctreleaven/following{/other_user}","gists_url":"https://api.github.com/users/ctreleaven/gists{/gist_id}","starred_url":"https://api.github.com/users/ctreleaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctreleaven/subscriptions","organizations_url":"https://api.github.com/users/ctreleaven/orgs","repos_url":"https://api.github.com/users/ctreleaven/repos","events_url":"https://api.github.com/users/ctreleaven/events{/privacy}","received_events_url":"https://api.github.com/users/ctreleaven/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T13:26:54Z","updated_at":"2018-05-03T13:26:54Z","author_association":"MEMBER","body":"I see that RESTinfo depends on http-parser and asio.  Why not have separate portfiles for each rather than defining them as subports in a single file?"}}
{"actor":{"display_login":"ctreleaven"}}