ansible-community / antsibull-build

Tooling for building various things related to ansible
GNU General Public License v3.0
60 stars 31 forks source link

Record antsibull version used to generate data/sdist #618

Open gotmax23 opened 1 month ago

gotmax23 commented 1 month ago

We should consider recording which antsibull version was used to build an antsibull release/generate its data for reproducibility purposes. Currently, it's recorded in the build-ansible.sh script in the sdist, but this is not the most accessible. I would have the ansible-community command that we added a few releases ago (maybe more than a few at this point?), print out the antsibull version, and also include it in the ansible-build-data repo. I would just create a new ansible-{version}-build-info.yaml file. It's not really a good fit for the .deps file, I don't think, and there's a lot of codepaths that would need to be fixed to not treat the key as a collection (adding the _python key broke a few things).