Using git for patch management in Fedora

Richard W.M. Jones rjones at redhat.com
Tue Nov 19 11:10:30 UTC 2013


On Tue, Nov 19, 2013 at 11:46:46AM +0100, Nikola Pajkovsky wrote:
> "Richard W.M. Jones" <rjones at redhat.com> writes:
> >   git init
> >   git config user.email "%{name}-owner at fedoraproject.org"
> >   git config user.name "%{name}"
> >   git add .
> >   git commit -a -q -m "%{version} baseline"
> >   git am %{patches}
> >
> > Thoughts on this?
> 
> ordering, you cannot run $ git am without ordering.

This recipe has worked for me for years.  The patches are probably
implicitly ordered by their names (ie. 0001-...patch etc)

> Nevertheless, I
> would rather use quilt for managing patches in dist-git.

This doesn't stop you from using another method to apply the patches.
It doesn't even stop you from using your own home-brew method,
although I think standardizing would help for the majority of packages
since it lets co-maintainers and PPs work on them more easily.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top


More information about the devel mailing list