{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/7049","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/7049/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/7049/comments","events_url":"https://api.github.com/repos/composer/composer/issues/7049/events","html_url":"https://github.com/composer/composer/issues/7049","id":292214663,"number":7049,"title":"Reproducable build: deterministic APCU prefix","user":{"login":"lstrojny","id":79707,"avatar_url":"https://avatars2.githubusercontent.com/u/79707?v=4","gravatar_id":"","url":"https://api.github.com/users/lstrojny","html_url":"https://github.com/lstrojny","followers_url":"https://api.github.com/users/lstrojny/followers","following_url":"https://api.github.com/users/lstrojny/following{/other_user}","gists_url":"https://api.github.com/users/lstrojny/gists{/gist_id}","starred_url":"https://api.github.com/users/lstrojny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lstrojny/subscriptions","organizations_url":"https://api.github.com/users/lstrojny/orgs","repos_url":"https://api.github.com/users/lstrojny/repos","events_url":"https://api.github.com/users/lstrojny/events{/privacy}","received_events_url":"https://api.github.com/users/lstrojny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-28T15:50:50Z","updated_at":"2018-02-14T09:48:11Z","closed_at":null,"author_association":"NONE","body":"Each time when `composer install --no-dev --optimize-autoloader --apcu-autoloader` is run, a new random prefix is generated \r\n\r\nhttps://github.com/composer/composer/blob/be040f8e3111b38c1e49ae5cd6b929dbf5c39045/src/Composer/Autoload/AutoloadGenerator.php#L657\r\n\r\nThis is problematic if one tries to achieve reproducible builds where the same input leads to the same output. It would be cool if composer would offer an option to override the prefix or make it deterministic based on the `composer.lock` hash. Any other idea is welcome as well."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/365550442","html_url":"https://github.com/composer/composer/issues/7049#issuecomment-365550442","issue_url":"https://api.github.com/repos/composer/composer/issues/7049","id":365550442,"user":{"login":"dkarlovi","id":209225,"avatar_url":"https://avatars3.githubusercontent.com/u/209225?v=4","gravatar_id":"","url":"https://api.github.com/users/dkarlovi","html_url":"https://github.com/dkarlovi","followers_url":"https://api.github.com/users/dkarlovi/followers","following_url":"https://api.github.com/users/dkarlovi/following{/other_user}","gists_url":"https://api.github.com/users/dkarlovi/gists{/gist_id}","starred_url":"https://api.github.com/users/dkarlovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkarlovi/subscriptions","organizations_url":"https://api.github.com/users/dkarlovi/orgs","repos_url":"https://api.github.com/users/dkarlovi/repos","events_url":"https://api.github.com/users/dkarlovi/events{/privacy}","received_events_url":"https://api.github.com/users/dkarlovi/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T09:48:11Z","updated_at":"2018-02-14T09:48:11Z","author_association":"NONE","body":"> --apcu-autoloader=my_prefix?\r\n\r\nThat works, IMO. Prefix specified, deterministic, up to the user to deal with pruning. Not specified, as-is."}}
{"actor":{"display_login":"dkarlovi"}}