Right now we build into tag dist-5E-sw-0.4-candidate. When I have been
working on that nightly repo I find one good reason why we should use
tag dist-5E-sw-0.4 and only successful builds tagged there from
dist-5E-sw-0.4-candidate. The reason are nightly builds.
Now the package get into nightly repo only if you tagged that package in
git. If you do not tagged it there we have two possibility how to build
the package.
1) Automatically tag the package in git and current script will then
automatically pick it up for rebuild.
Honestly - I do not like such option.
2) Create tag dist-5E-sw-0.4. Normally build into
dist-5E-sw-0.4-candidate as now and unsuccessful builds tag into
dist-5E-sw-0.4. Final Spacewalk create from dist-5E-sw-0.4 tag.
For nightly builds, let call "make test-srpm" on untagged packages and
build in koji the packages with .git.longsha1 dist tag.
This way you make sure when somebody finally tag the package (which bump
up the version automatically) such package will be upgraded to last version.
I prefer this option.
3) OK. There is third option. To build .git.longsha1 packages in
dist-5E-sw-0.4-candidate and not creating dist-5E-sw-0.4. But it will
create only mess. I'm scratching such option.
How do you like it? Or do you have another idea how to implement nightly
builds?
--
Miroslav Suchy
RHN Satellite Engineering, Red Hat
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel