{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb/issues/302","labels_url":"https://api.github.com/repos/apache/couchdb/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb/issues/302/comments","events_url":"https://api.github.com/repos/apache/couchdb/issues/302/events","html_url":"https://github.com/apache/couchdb/pull/302","id":57392189,"number":302,"title":"Add first stab at a release build script.","user":{"login":"janl","id":11321,"avatar_url":"https://avatars.githubusercontent.com/u/11321?v=3","gravatar_id":"","url":"https://api.github.com/users/janl","html_url":"https://github.com/janl","followers_url":"https://api.github.com/users/janl/followers","following_url":"https://api.github.com/users/janl/following{/other_user}","gists_url":"https://api.github.com/users/janl/gists{/gist_id}","starred_url":"https://api.github.com/users/janl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janl/subscriptions","organizations_url":"https://api.github.com/users/janl/orgs","repos_url":"https://api.github.com/users/janl/repos","events_url":"https://api.github.com/users/janl/events{/privacy}","received_events_url":"https://api.github.com/users/janl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":69,"created_at":"2015-02-11T23:09:01Z","updated_at":"2015-06-24T21:09:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb/pulls/302","html_url":"https://github.com/apache/couchdb/pull/302","diff_url":"https://github.com/apache/couchdb/pull/302.diff","patch_url":"https://github.com/apache/couchdb/pull/302.patch"},"body":"Creates a release directory `apache-couchdb` that we can wrap in a tarball. This is a quick hack to discuss whether this direction is anything we’d like to go towards for releases.\r\n\r\nPlease be generous with feedback, thank you! :)\r\n\r\n```\r\nmake release\r\ncd apache-couchdb\r\n./configure\r\nmake dist\r\n./rel/couchdb/bin/couchdb # starts CouchDB\r\n```\r\n\r\nEnd users will download apache-couchdb-$vsn.tar.gz and then:\r\n\r\n```\r\ntar xzf apache-couchdb-$vsn.tar.gz\r\ncd apache-couchdb-$vsn\r\n./configure\r\nmake dist\r\n```\r\n\r\nThis builds fauxton and the docs as part of `make release`, so that end users don’t have to build those themselves.\r\n\r\nPreliminary Todo:\r\n\r\n - [x] change `./configure` arguments to match 1.x-ish\r\n - [x] infer CouchDB version from source tree and use in tarball, fauxton and welcome message\r\n - [x] check for bashisms, maybe test with, say, dash.\r\n - [x] fix bug noted in build-aux/couchdb-build-release.sh where cloning the current branch doesn’t work when a version tag is specified\r\n - [x] make docs build understand that it doesn’t have to re-build if targets already exist (https://git-wip-us.apache.org/repos/asf?p=couchdb-documentation.git;h=10828f8)\r\n - [x] actually create tarball\r\n - [x] run `test/build/*`during `make check\r\n - [x] factor out docs and fauxton build tasks from `make release`\r\n - [x] finish `make install` target and test with various configurations\r\n - [x] add `make uninstall` target\r\n - [ ] Windows version\r\n - [ ] test test test\r\n\r\nAgain, please be generous with feedback!"},"comment":{"url":"https://api.github.com/repos/apache/couchdb/issues/comments/115013000","html_url":"https://github.com/apache/couchdb/pull/302#issuecomment-115013000","issue_url":"https://api.github.com/repos/apache/couchdb/issues/302","id":115013000,"user":{"login":"janl","id":11321,"avatar_url":"https://avatars.githubusercontent.com/u/11321?v=3","gravatar_id":"","url":"https://api.github.com/users/janl","html_url":"https://github.com/janl","followers_url":"https://api.github.com/users/janl/followers","following_url":"https://api.github.com/users/janl/following{/other_user}","gists_url":"https://api.github.com/users/janl/gists{/gist_id}","starred_url":"https://api.github.com/users/janl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janl/subscriptions","organizations_url":"https://api.github.com/users/janl/orgs","repos_url":"https://api.github.com/users/janl/repos","events_url":"https://api.github.com/users/janl/events{/privacy}","received_events_url":"https://api.github.com/users/janl/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T21:09:15Z","updated_at":"2015-06-24T21:09:15Z","body":"Alright, last push brings a whole lot of little fixes and completions. Also a rebase to master.\r\n\r\nI think this is ready to be merged now.\r\n\r\nDiscussion can continue here, of course."}}