Subject: patch-xy for given xy assigned to specific source for life
To: Robert T. Retzlaff <rtr@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: pkgsrc-changes
Date: 10/08/2003 15:19:56
On Wed, 8 Oct 2003, Robert T. Retzlaff wrote:
> Revert:
> That's the wrong naming convention - patch-xy for any particular
> xy is assigned to a particular source file for life. They don't
> get squashed back to aa ab ..., ever.
>
> Make patch-aa -> patch-ae.
I think that is a nice idea, but only if we use a deterministic
method for mapping patch filenames to real filenames, such as
"convert ', to ',,' then '/' to ','", which for hylafax would
give:
work/.../Makefile.in patches/Makefile.in
work/.../config.h.in patches/config.h.in
work/.../config/Makefile.in patches/config,Makefile.in
work/.../config/skel patches/config,skel
work/.../configure patches/configure
work/.../defs.in patches/defs.in
work/.../etc/Makefile.in patches/etc,Makefile.in
work/.../etc/faxaddmodem.sh.in patches/etc,faxaddmodem.sh.in
work/.../etc/faxsetup.sh.in patches/etc,faxsetup.sh.in
work/.../faxd/FaxModem.c++ patches/faxd,FaxModem.c++
work/.../faxd/FaxModem.h patches/faxd,FaxModem.h
work/.../faxd/Getty.c++ patches/faxd,Getty.c++
work/.../faxd/UUCPLock.c++ patches/faxd,UUCPLock.c++
work/.../faxd/faxGettyApp.c++ patches/faxd,faxGettyApp.c++
work/.../hfaxd/User.c++ patches/hfaxd,User.c++
work/.../util/Makefile.in patches/util,Makefile.in
work/.../util/faxcron.sh.in patches/util,faxcron.sh.in
Obviously we would need to teach mkpatches about this.
Personally I would prefer to see us put all patches in one file
and then have good tools for splitting and unsplitting that file and
comparing current contents with arbitrary revisions in CVS. That
should actually makes things _easier_ than now.
--
David/absolute -- www.netbsd.org: No hype required --