cedadev / jasmin_scivm

9 stars 0 forks source link

Fix mirroring of sources #38

Closed alaniwi closed 8 years ago

alaniwi commented 8 years ago

Mirroring of latest SRPMS to http://dist.ceda.ac.uk/yumrepo/SRPMS/ has broken.

For example latest cf-python binary at http://dist.ceda.ac.uk/yumrepo/RPMS/ is python27-cf-0.9.6-2.ceda.el6.noarch.rpm but latest source is python27-cf-0.9.8.1-1.ceda.el6.src.rpm

Needed for licence compliance in some cases.

*\ If anyone else is reading this and needs access to corresponding sources for our published binary RPMs before this is done, please email CEDA support or add a comment to this ticket, saying which package(s) you need, and I will endeavour to provide them as soon as possible.

alaniwi commented 8 years ago

A path on dist had changed. Edited the path in get-jasmin-sources.sh, and the script now works when run manually.

Lives in /root/puppet/jasmin_repo_mirror/modules/jasmin_repo_mirror/scripts and run via /etc/cron.d/puppet-jasmin.cron

Also tested that it now works via cron.