{"action":"created","issue":{"url":"https://api.github.com/repos/blablacar/dgr/issues/225","repository_url":"https://api.github.com/repos/blablacar/dgr","labels_url":"https://api.github.com/repos/blablacar/dgr/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/blablacar/dgr/issues/225/comments","events_url":"https://api.github.com/repos/blablacar/dgr/issues/225/events","html_url":"https://github.com/blablacar/dgr/pull/225","id":195866250,"number":225,"title":"support for reproducible builds","user":{"login":"wmark","id":191736,"avatar_url":"https://avatars.githubusercontent.com/u/191736?v=3","gravatar_id":"","url":"https://api.github.com/users/wmark","html_url":"https://github.com/wmark","followers_url":"https://api.github.com/users/wmark/followers","following_url":"https://api.github.com/users/wmark/following{/other_user}","gists_url":"https://api.github.com/users/wmark/gists{/gist_id}","starred_url":"https://api.github.com/users/wmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmark/subscriptions","organizations_url":"https://api.github.com/users/wmark/orgs","repos_url":"https://api.github.com/users/wmark/repos","events_url":"https://api.github.com/users/wmark/events{/privacy}","received_events_url":"https://api.github.com/users/wmark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-15T17:29:52Z","updated_at":"2016-12-15T17:33:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blablacar/dgr/pulls/225","html_url":"https://github.com/blablacar/dgr/pull/225","diff_url":"https://github.com/blablacar/dgr/pull/225.diff","patch_url":"https://github.com/blablacar/dgr/pull/225.patch"},"body":"This contribution implements support for reproducible builds with *dgr*.\r\n\r\nThat is, if the scripts and tools used within the builder and target environment (equals \"build environment\" in our case) allow for such builds, then using dgr will result in a reproducibly built ACI image.\r\n\r\n*dgr's* function is that of a packager, hence its responsibilities are deterministically ordered content in said image, and pinned datetimes – especially modification datetimes. This requires us to upgrade *tar* to ≥1.29 for its new features, and to expose those arguments for templating of the `aci-manifest.yml`, which results in the APPC `manifest`. Everything else is already set by *rkt*.\r\n\r\nThe sole settings which needs to be set by the user is the *build epoch* (a fixed datetime), like this:\r\n\r\n    aci:\r\n      annotations:\r\n        - name: build-date\r\n          value: '2016-12-15T20:00:00+01:00'\r\n\r\nI have created a *reproducible build* as demonstration which you can try from here:\r\nhttps://github.com/Blitznote/baseimage\r\nAny two runs result in binary identical `image.aci` files."},"comment":{"url":"https://api.github.com/repos/blablacar/dgr/issues/comments/267390174","html_url":"https://github.com/blablacar/dgr/pull/225#issuecomment-267390174","issue_url":"https://api.github.com/repos/blablacar/dgr/issues/225","id":267390174,"user":{"login":"wmark","id":191736,"avatar_url":"https://avatars.githubusercontent.com/u/191736?v=3","gravatar_id":"","url":"https://api.github.com/users/wmark","html_url":"https://github.com/wmark","followers_url":"https://api.github.com/users/wmark/followers","following_url":"https://api.github.com/users/wmark/following{/other_user}","gists_url":"https://api.github.com/users/wmark/gists{/gist_id}","starred_url":"https://api.github.com/users/wmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmark/subscriptions","organizations_url":"https://api.github.com/users/wmark/orgs","repos_url":"https://api.github.com/users/wmark/repos","events_url":"https://api.github.com/users/wmark/events{/privacy}","received_events_url":"https://api.github.com/users/wmark/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T17:33:53Z","updated_at":"2016-12-15T17:33:53Z","body":"I am sorry, but I will not fix any errors thrown by *Travis*, the CI system, due to *Travis* using an old or incomplete OS installation. Please test on your local machine(s)."}}
{"actor":{"display_login":"wmark"}}