[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to cope with patches sanely



On ma, 2008-01-28 at 16:05 -0800, Russ Allbery wrote:
> We can't get too rules-bound here. 

As someone who's occasionally done some bug fixing to random packages,
I'd really like to see some solution that allows us to mandate that the
following sequence must work for all source packages:

dpkg-source -x foo_1.2-3.dsc
cd foo-1.2
sensible-editor *
sensible-editor debian/changelog
dpkg-buildpackage -rfakeroot -us -uc

In other words: dpkg-source must unpack sources that can be directly
edited and then dpkg-buildpackage will build a new, modified package
that can be uploaded.

If it's an NMU, then the package's maintainers can get the NMU'd version
and include any changes in it in a way that suits their workflow.

More strict requirements than that is probably bad, since it will make
it harder to innovate in, say, patch systems, source package formats, or
such.




Reply to: