Gentoo Archives: gentoo-dev

From: Dylan Carlson <absinthe@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Patch filename conventions (WAS: Proposal: patches.gentoo.org)
Date: Thu, 14 Oct 2004 22:08:26
Message-Id: 200410141808.05200.absinthe@gentoo.org
In Reply to: Re: [gentoo-dev] Proposal: patches.gentoo.org by Dylan Carlson
1 On Thu October 14 2004 16:38, Dylan Carlson wrote:
2 > I'd also like to see a naming convention of patches established.
3
4 I know it's bad form to reply to your own message, but I'm doing it anyway.
5 Here's my quick stab on filename convention:
6
7 ${PN}-${PV}-arch/use-##-short_desc[-gentoo].diff.bz2
8
9 where...
10 ## = the patch number (two digit w/leading zeros) in order added
11 arch = "any", or arch it applies to
12 short_desc = ~20 characters or less, use flag at the beginning (if applic),
13 underscores between words
14 [-gentoo] = optional, if diff is gentoo-specific and/or originated @ gentoo
15
16 examples:
17 glibc-2.3.4-any-01-pax_localedef_fix_trampoline.diff.bz2
18 glibc-2.3.4-any-02-pax_pt.diff.bz2
19 glibc-2.3.4-any-03-pax_i386_got_fix.bz2
20 glibc-2.3.4-amd64-01-conf_libdir-gentoo.diff.bz2
21 glibc-2.3.4-mips-01-addabi.diff.bz2
22 glibc-2.3.4-mips-02-syscall.h.diff.bz2
23 glibc-2.3.4-mips-03-sysify.diff.bz2
24 glibc-2.3.4-mips-04-multilib_nolib3264.diff.bz2
25 glibc-2.3.4-mips-05-pax_dl_execstack_support.diff.bz2
26
27 This convention doesn't address files that aren't patches (i.e., conf
28 files, makefiles, etc)
29
30 --
31 Dylan Carlson [absinthe@g.o]
32 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x708E165F
33
34 --
35 gentoo-dev@g.o mailing list

Replies