Differences between revisions 2 and 3
Revision 2 as of 2008-01-28 05:00:50
Size: 1798
Editor: DavidNusinow
Comment:
Revision 3 as of 2008-01-30 20:52:38
Size: 1851
Editor: BenHutchings
Comment: Added wig&pen details; combined "available" link and name
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
||'''Patch system'''||'''Location of the patches'''||'''How to inactivate a patch'''||'''Accepts {{{diff -u}}} output'''||'''Available'''||'''Advantage'''||
||dpatch ||{{{debian/patches}}}||Remove its name from {{{debian/patches/00list}}}||No||Yes ([http://packages.debian.org/dpatch dpatch]||Can do scripting||
||quilt ||{{{debian/patches}}}||Remove its name from {{{debian/patches/series}}}||Yes||Yes ([http://packages.debian.org/quilt quilt]||Can reorder patches||
||simple-patchsys||{{{debian/patches}}}||Remove its {{{.diff}}} or {{{.patch}}} suffix||Yes||Yes ([http://packages.debian.org/cdbs cdbs]||Simple||
||wig&pen ||?||?||Yes||Not yet||Native to [http://packages.debian.org/dpkg dpkg]||
||dbs||{{{debian/patches}}}||Remove it from the directory||Yes||[http://packages.debian.org/dbs dbs]||Patches applied in ASCIIbetical order, no series file. Tarball-in-tarball (if you're in to that).||
||'''Patch system'''||'''Location of the patches'''||'''How to inactivate a patch'''||'''Accepts {{{diff -u}}} output'''||'''Advantage'''||
||[http://packages.debian.org/dpatch dpatch]||{{{debian/patches}}}||Remove its name from {{{debian/patches/00list}}}||No||Can do scripting||
||[http://packages.debian.org/quilt quilt]||{{{debian/patches}}}||Remove its name from {{{debian/patches/series}}}||Yes||Can reorder patches||
||[http://packages.debian.org/cdbs cdbs] simple-patchsys||{{{debian/patches}}}||Remove its {{{.diff}}} or {{{.patch}}} suffix||Yes||Simple||
||[http://www.dpkg.org/dpkg/NewSourceFormat wig&pen]||{{{debian/patches}}} in .debian.tar.gz file||Rename to include a non-word non-hyphen character||Yes||Native to [http://packages.debian.org/dpkg dpkg]||
||[http://packages.debian.org/dbs dbs]||{{{debian/patches}}}||Remove it from the directory||Yes||Patches applied in ASCIIbetical order, no series file. Tarball-in-tarball (if you're in to that).||

debian/patches

This page stems from the following discussion on debian-devel in January 2007: [http://lists.debian.org/msgid-search/alpine.DEB.1.00.0801250818360.5187@wr-linux02 alpine.DEB.1.00.0801250818360.5187@wr-linux02].

Patch system

Location of the patches

How to inactivate a patch

Accepts diff -u output

Advantage

[http://packages.debian.org/dpatch dpatch]

debian/patches

Remove its name from debian/patches/00list

No

Can do scripting

[http://packages.debian.org/quilt quilt]

debian/patches

Remove its name from debian/patches/series

Yes

Can reorder patches

[http://packages.debian.org/cdbs cdbs] simple-patchsys

debian/patches

Remove its .diff or .patch suffix

Yes

Simple

[http://www.dpkg.org/dpkg/NewSourceFormat wig&pen]

debian/patches in .debian.tar.gz file

Rename to include a non-word non-hyphen character

Yes

Native to [http://packages.debian.org/dpkg dpkg]

[http://packages.debian.org/dbs dbs]

debian/patches

Remove it from the directory

Yes

Patches applied in ASCIIbetical order, no series file. Tarball-in-tarball (if you're in to that).

Future directions

It has been discussed that the profusion of patch systems was making the work of porters, NMUers, security and QA teams difficult, and that some kind of standardisation would be useful. For instance, the systems could be wrapped and one single interface could be provided. Policy could describe how to use rules such as patch and unpatch to provide such a single interface.

Alternatively, it has been proposed to not use patch systems and store this information in version control systems instead.

If a consensus emerges, a [http://dep.debian.net/ Debian enhancement proposal] could be written.