From owner-freebsd-ports Wed Jul 19 10:22:55 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 23E4537BF7E; Wed, 19 Jul 2000 10:22:52 -0700 (PDT) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with ESMTP id e6JHMo209546; Wed, 19 Jul 2000 13:22:50 -0400 (EDT) Date: Wed, 19 Jul 2000 13:22:49 -0400 (EDT) From: Trevor Johnson To: Maxim Sobolev Cc: Alexander Langer , Bill Fumerola , ports@FreeBSD.org, asami@FreeBSD.org Subject: Re: New rules for naming patches In-Reply-To: <3975CBB2.CE38F8EB@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > should help make the history more comprehensible: the patches to a > > > particular source file will automatically go in the same ,v file as > > > patches are created and removed over the lifetime of a port. > > > > Only if you do something like > > patch-subdir1_subdir2_subdir3_file.name > > for each file, which is kinda overhead :) > > It may be even worse: patch-subdir1_subdir2_subdir3_file.name__foo__bar.c > > if the original file is name_foo_bar.c I've adapted the update-patches utility for FreeBSD. At http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=808513+815024+/usr/local/www/db/text/2000/freebsd-ports/20000702.freebsd-ports it's in the form of a patch that you can try. It puts in the names of subdirectories (think of files called "Makefile") but if a file has an underscore in its name, that doesn't get escaped in the manner you're hypothesizing. I suppose there's a little overhead in storing the longer filenames. Is that the overhead that you're concerned about? Again, I'm not saying this should be mandatory, so if you find that "patch-1" is easier for you to work with than "patch-programs_Xserver_hw_xfree86_input_joystick_Imakefile", or that the 50 bytes' difference is burdensome, I have no problem with it. -- Trevor Johnson http://jpj.net/~trevor/gpgkey.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message