Hello Everyone,
I've updated the beaker spec file to do some magic with regard to git.
If you have a branch checked out and do a make snaparchive and then a
make srpm or rpm it will have the timestamp and branch name in the release.
for example:
/home/bpeck/Sandbox/Beaker/rpm-build/beaker-0.4.71-0.1262640463.ticket51.el5.src.rpm
But if you do the same from master it will just be:
/home/bpeck/Sandbox/Beaker/rpm-build/beaker-0.4.71-0.el5.src.rpm
This allows for really easy testing of branches without needing to
update the spec file and check that into git. Which is always a pain
because it will no doubt conflict with master when you try and merge it
later.
I also created a subpackage called beaker which only contains
beaker/__init__.py with __version__ = '0.4.71' in it. The idea is to
update the web templates to display this version on the web page and
possibly pre-populate a bugzilla url with the right version.
Let me know if you have any questions or see any problems.
Show replies by date