I was a git hacker, so the noise around fedpkg drew my attention. Now that I'm working on preparing some patched and custom RPMs for OLPC's XS, I am starting to use it, and I have to say, it rocks.
Haven't heard other OLPC'ers talk about it... if you're not using it, it's worth a good shot.
What's so good? With the old CVS, it was hard to prep a 'forked' spec, say adding 2 patches to it, and track Fedora's CVS. And the Fedora specs relied on a 'common' set of scripts that were pulled from CVS too, so if you put the spec in git, it wouldn't build.
Many olpc packages ended up with odd and disparate makefiles to make building them "easier". That's ended up being a drag, each package has its own build infra, and they all differ from Fedora's.
Fedpkg has consolidated Fedora's common stuff into its code, so all you need is a git checkout with a spec file and some patches right there. And it'll build your stuff, locally, via koji, whatever.
Real Nice.
And it's a much smoother path to get the packaging itself into Fedora (or EPEL, as it's more likely with my stuff).
cheers,
m
On Mon, 2011-01-24 at 15:21 -0500, Martin Langhoff wrote:
Fedpkg has consolidated Fedora's common stuff into its code, so all you need is a git checkout with a spec file and some patches right there. And it'll build your stuff, locally, via koji, whatever.
Real Nice.
Yeah, fedpkg & git are the best things that happened to Fedora in many years... I just wish we could get rid of the redundant changelog in the spec file.
Oh, and the ability to push builds to bohdi while sitting comfortably in our shell sessions would also be great.
On Mon, Jan 24, 2011 at 8:35 PM, Bernie Innocenti bernie@codewiz.org wrote:
On Mon, 2011-01-24 at 15:21 -0500, Martin Langhoff wrote:
Fedpkg has consolidated Fedora's common stuff into its code, so all you need is a git checkout with a spec file and some patches right there. And it'll build your stuff, locally, via koji, whatever.
Real Nice.
Yeah, fedpkg & git are the best things that happened to Fedora in many years... I just wish we could get rid of the redundant changelog in the spec file.
Oh, and the ability to push builds to bohdi while sitting comfortably in our shell sessions would also be great.
try "fedpkg update"
Peter
On Mon, 2011-01-24 at 20:38 +0000, Peter Robinson wrote:
Oh, and the ability to push builds to bohdi while sitting comfortably in our shell sessions would also be great.
try "fedpkg update"
Cool!
Then, can I make another wish? Some documentation :-)
On Mon, Jan 24, 2011 at 9:38 PM, Bernie Innocenti bernie@codewiz.org wrote:
On Mon, 2011-01-24 at 20:38 +0000, Peter Robinson wrote:
Oh, and the ability to push builds to bohdi while sitting comfortably in our shell sessions would also be great.
try "fedpkg update"
Cool!
Then, can I make another wish? Some documentation :-)
Try fedpkg --help and it gives you a basic overview of all the commands available. If there's options for the sub commands "fedpkg command --help" will give you the details of that.... not perfect documentation but more than enough to work most of it out :-)
Peter