You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Including upstream list as submodule/subtree would be more transparent #13
During packaging of python-publicsuffix2 I realized, that downloading the publicsuffix list during build time makes it unreproducible (any time the package is rebuilt, it will have a different list).
My suggestion would be to include the publicsuffix list from upstream directly as e.g. a git submodule or git subtree (the latter is preferred as this way the files actually end up in an automatically generated tarball on github when tagging a release) and not download it during build time at all to ensure reproducibility raise transparency.
The data lives in this repository already, so it could also be copied manually, but IMHO a subtree or submodule is the more transparent way of dealing with this.
Currently only the wheel on pypi.org is really ensured to carry the currently bundled version of the publicsuffix list. For anyone else building this package, this assumption is not valid.
changed the title [-]Downloading the list during build is unreproducible[/-][+]Including upstream list as submodule/subtree would be more transparent[/+]on Jan 26, 2020
Activity
dvzrv commentedon Jan 26, 2020
Oops, I just realized, that the list is actually not downloaded during build. Sorry for the noise.
However, including the list via git submodule/subtree would be more transparent nonetheless. Modifying this ticket accordingly!
[-]Downloading the list during build is unreproducible[/-][+]Including upstream list as submodule/subtree would be more transparent[/+]pombredanne commentedon Jan 27, 2020
@dvzrv Thank you... I have never been a big fan of submodules because of principles that I can no longer articulate and I have forgotten...
Therefore I would be quite fine to have a PR to use submodules instead. You will have to provide some minimal doc to help me update the PSL!
(NB: as you noted the PSL is NOT fetched automatically during a build. You have to issue a
python setup.py update_pslto do the update.)pombredanne commentedon Apr 28, 2020
@dvzrv Could I interest you in a PR for the submodule?