{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7665","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7665/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7665/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7665/events","html_url":"https://github.com/bitcoin/bitcoin/pull/7665","id":139777213,"number":7665,"title":"Contrib: Introduce script to tag compiled binaries for convenience (py)","user":{"login":"jtimon","id":1008458,"avatar_url":"https://avatars.githubusercontent.com/u/1008458?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimon","html_url":"https://github.com/jtimon","followers_url":"https://api.github.com/users/jtimon/followers","following_url":"https://api.github.com/users/jtimon/following{/other_user}","gists_url":"https://api.github.com/users/jtimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimon/subscriptions","organizations_url":"https://api.github.com/users/jtimon/orgs","repos_url":"https://api.github.com/users/jtimon/repos","events_url":"https://api.github.com/users/jtimon/events{/privacy}","received_events_url":"https://api.github.com/users/jtimon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Dev%20Scripts","name":"Dev Scripts","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T03:55:43Z","updated_at":"2016-03-10T22:44:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7665","html_url":"https://github.com/bitcoin/bitcoin/pull/7665","diff_url":"https://github.com/bitcoin/bitcoin/pull/7665.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/7665.patch"},"body":"The basic goal is to make it easier to avoid recompiling branches that have been compiled already.\r\n\r\nI felt I needed to incorporate something like this to my workflow.\r\nIf it is not useful for bitcoin, I'm happy to propose it on elements, freicoin or just keep it to myself.\r\nStill putting it here just in case.\r\n\r\nExample usage (with the appropriate bitcoin/.git/config):\r\n\r\n```\r\ngit fetch origin\r\ngit checkout origin/v0.12.0\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py v0.12.0\r\n\r\ngit checkout origin/master\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py master\r\n```\r\n\r\nNon-bitcoin examples:\r\n\r\n```\r\ngit fetch elements\r\ngit checkout elements/alpha\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py alpha\r\n\r\ngit checkout jtimon/jt\r\nmake clean\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py jt\r\n\r\ngit fetch freicoin\r\ngit checkout freicoin/master\r\ngit clean -fdx\r\n./autogen.sh\r\n./configure\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py freicoin\r\n\r\ngit fetch elements\r\ngit checkout elements/pre-gamma\r\ngit clean -fdx\r\n./autogen.sh\r\n./configure\r\nmake check -j21\r\npython contrib/devtools/tag-binaries.py pre-gamma\r\n```"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/195084119","html_url":"https://github.com/bitcoin/bitcoin/pull/7665#issuecomment-195084119","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7665","id":195084119,"user":{"login":"jtimon","id":1008458,"avatar_url":"https://avatars.githubusercontent.com/u/1008458?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimon","html_url":"https://github.com/jtimon","followers_url":"https://api.github.com/users/jtimon/followers","following_url":"https://api.github.com/users/jtimon/following{/other_user}","gists_url":"https://api.github.com/users/jtimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimon/subscriptions","organizations_url":"https://api.github.com/users/jtimon/orgs","repos_url":"https://api.github.com/users/jtimon/repos","events_url":"https://api.github.com/users/jtimon/events{/privacy}","received_events_url":"https://api.github.com/users/jtimon/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T22:44:27Z","updated_at":"2016-03-10T22:44:27Z","body":"Updated again renaming the script from tag-binaries to archive-binaries as suggested by @MarcoFalke and only using the first 7 chars of the commit id (github seems to shorten commit ids to first 7 too, no other reason)."}}