From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KZcPY-0002ID-B1 for mharc-grub-devel@gnu.org; Sat, 30 Aug 2008 22:11:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZcPV-0002HQ-Fr for grub-devel@gnu.org; Sat, 30 Aug 2008 22:11:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZcPU-0002Fi-EM for grub-devel@gnu.org; Sat, 30 Aug 2008 22:11:24 -0400 Received: from [199.232.76.173] (port=33401 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZcPU-0002Ff-6I for grub-devel@gnu.org; Sat, 30 Aug 2008 22:11:24 -0400 Received: from c60.cesmail.net ([216.154.195.49]:51587) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KZcPT-0003G8-Vg for grub-devel@gnu.org; Sat, 30 Aug 2008 22:11:24 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 30 Aug 2008 22:11:22 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 8A041618F22 for ; Sat, 30 Aug 2008 22:11:22 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <1220088538.10913.9.camel@fz.local> References: <1219403324.4450.37.camel@fz.local> <20080822125823.GC20330@thorin> <1219410801.4450.56.camel@fz.local> <1220050444.11557.11.camel@fz.local> <1220051014.7979.6.camel@dv> <1220088538.10913.9.camel@fz.local> Content-Type: text/plain Date: Sat, 30 Aug 2008 22:11:21 -0400 Message-Id: <1220148681.7450.14.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [RFC] DISTLIST and gendistlist.sh X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 02:11:26 -0000 On Sat, 2008-08-30 at 11:28 +0200, Felix Zielcke wrote: > Am Freitag, den 29.08.2008, 19:03 -0400 schrieb Pavel Roskin: > > > Maybe we could take an approach based on the version control system? > > The distributed files are those under version control plus generated > > distributed files (if any) minus maintainer-only files. The file lists > > for inclusion and exclusion would be short and would rarely need to be > > updated. > > Oh good suggestion, I didn't see that `svn' even has an `ls' command > which lists all files which are under it's control and not ignored. > > $ ./gendistlist.sh | sort > DISTLIST > $ svn ls -R | sort > DISTLIST2 > $ diff -u DISTLIST DISTLIST2|less > > The only difference between these 2 files are, that `svn ls' adds the > directorys too > for example: > > +boot/ > +boot/i386/ > +boot/i386/pc/ > boot/i386/pc/boot.S > boot/i386/pc/cdboot.S > > This shouldn't hurt, but with some sed playing probable we could get rid > of it, I'm just not that sed expert :) svn ls -R | sed '/\/$/d' | sort > DISTLIST2 > This seems to be the best then nobody needs to remember to > update ./gendistlist.sh and current DISTLIST seems again already a bit > out of date ;) I checked the 1.96 release. There were no additional files in DISTLIST that are not in Subversion. Some files are missing in DISTLIST, but it seems to me that most are missing by accident, except .cvsignore (shouldn't be an issue since we don't have it in Subversion) and util/genmoddep.c, which should have been removed, according to ChangeLog (I'm going to remove it now). Thus, we don't need any lists for included or excluded files. Things will change if we stop keeping dependent files in Subversion. -- Regards, Pavel Roskin