candlepin as rpm

Bryan Kearney bkearney at redhat.com
Thu Apr 8 12:57:54 UTC 2010


On 04/07/2010 04:46 PM, Jesus M. Rodriguez wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>                    WARNING! WARNING! WARNING!
>              very long email, bear with me please :)
>                    WARNING! WARNING! WARNING!
>
>
> Here is the updated candlepin.spec file (as of today) :
>
>     http://bit.ly/9WAXXK
>
> Here is the diff between what's in master and my tito branch:
>
>     http://pastie.org/908199
>
> I installed the tomcat6 version of the rpm on my development machine
> and was able to run the python tests against it (after I did the
> 'init' step from the deploy script).
>
> There is still quite a bit of work to get candlepin packaged 100%
> as an rpm with all of its dependencies ( see Adam's list:
> https://fedorahosted.org/candlepin/wiki/Dependencies )
> but there are a few more items that need to be addressed before
> we can merge the tito branch back to master:
>
>   1. explode candlepin war for the jboss deployment
>
>   2. fix githash code to work or find alternative approach
>
>   3. spec file requires rubygem-buildr rpm to build, we could
>      make that BuildRequires: /usr/bin/buildr until the buildr
>      rpms are ready.
>
>   4. buildr's buildfile has a version (which hasn't changed,
>      and the spec file has a version which tito bumps automagically).
>
> How hard are the above issues to address?
>
> 1. is trivial will be done probably before you read this email.
>
> 2. this is a bit more difficult because we need a way to update
>     the candlepin_info.properties on the fly and the build isn't
>     running in a git checkout at the time of the rpm build.
>
>     How important is the candlepin_info.properties with a git hash?
>

Not as important. If we loose the hash, we will need to get better with 
small releases for QE.  What if we packaged the git repo with it in the 
srpm?? Or... if builder made the srpm and copied the resources over as 
part of that?

-- bk



More information about the candlepin mailing list