{"action":"created","issue":{"url":"https://api.github.com/repos/mardiros/pyshop/issues/86","repository_url":"https://api.github.com/repos/mardiros/pyshop","labels_url":"https://api.github.com/repos/mardiros/pyshop/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/mardiros/pyshop/issues/86/comments","events_url":"https://api.github.com/repos/mardiros/pyshop/issues/86/events","html_url":"https://github.com/mardiros/pyshop/pull/86","id":262163150,"number":86,"title":"Feature: disallow version overwrites by policy","user":{"login":"emauton","id":2808567,"avatar_url":"https://avatars1.githubusercontent.com/u/2808567?v=4","gravatar_id":"","url":"https://api.github.com/users/emauton","html_url":"https://github.com/emauton","followers_url":"https://api.github.com/users/emauton/followers","following_url":"https://api.github.com/users/emauton/following{/other_user}","gists_url":"https://api.github.com/users/emauton/gists{/gist_id}","starred_url":"https://api.github.com/users/emauton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emauton/subscriptions","organizations_url":"https://api.github.com/users/emauton/orgs","repos_url":"https://api.github.com/users/emauton/repos","events_url":"https://api.github.com/users/emauton/events{/privacy}","received_events_url":"https://api.github.com/users/emauton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-02T17:33:57Z","updated_at":"2017-10-05T13:22:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/mardiros/pyshop/pulls/86","html_url":"https://github.com/mardiros/pyshop/pull/86","diff_url":"https://github.com/mardiros/pyshop/pull/86.diff","patch_url":"https://github.com/mardiros/pyshop/pull/86.patch"},"body":"Prior to this change, re-uploading a package with the same version\r\nresults in the old version being overwritten.\r\n\r\nIn some environments (e.g. with packages being automatically uploaded\r\nfrom \"green\" builds of `master`), this can result in programmer error -\r\nforgetting to change `setup.py` versions - changing the \"version of\r\nrecord\" in the local `pyshop`.\r\n\r\nThis change add a new administrative policy option\r\n\r\n    pyshop.upload.never_overwrite\r\n\r\nwhich results in re-uploads raising a HTTP Conflict Error.\r\n\r\nThis change also introduces `pyfakefs` to test cases, which means that\r\nthey no longer rely upon real `/tmp` or have filesystem dependencies\r\nacross tests."},"comment":{"url":"https://api.github.com/repos/mardiros/pyshop/issues/comments/334463150","html_url":"https://github.com/mardiros/pyshop/pull/86#issuecomment-334463150","issue_url":"https://api.github.com/repos/mardiros/pyshop/issues/86","id":334463150,"user":{"login":"mardiros","id":447396,"avatar_url":"https://avatars1.githubusercontent.com/u/447396?v=4","gravatar_id":"","url":"https://api.github.com/users/mardiros","html_url":"https://github.com/mardiros","followers_url":"https://api.github.com/users/mardiros/followers","following_url":"https://api.github.com/users/mardiros/following{/other_user}","gists_url":"https://api.github.com/users/mardiros/gists{/gist_id}","starred_url":"https://api.github.com/users/mardiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mardiros/subscriptions","organizations_url":"https://api.github.com/users/mardiros/orgs","repos_url":"https://api.github.com/users/mardiros/repos","events_url":"https://api.github.com/users/mardiros/events{/privacy}","received_events_url":"https://api.github.com/users/mardiros/received_events","type":"User","site_admin":false},"created_at":"2017-10-05T13:22:50Z","updated_at":"2017-10-05T13:22:50Z","author_association":"OWNER","body":"I like the idea of the setting to disallow override.\r\n\r\nI didn't know about pyfakefs. I think we can wait a bit to know if its author release a new version of it\r\nto avoid a git+http dependency.\r\n\r\nThe dependency has to be specified here :\r\n\r\nhttps://github.com/mardiros/pyshop/blob/master/setup.py#L36\r\n\r\nand must be a packaged version.\r\n"}}
{"actor":{"display_login":"mardiros"}}