From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KaU66-0007pe-5E for mharc-grub-devel@gnu.org; Tue, 02 Sep 2008 07:30:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaU64-0007pZ-UM for grub-devel@gnu.org; Tue, 02 Sep 2008 07:30:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaU63-0007oy-0E for grub-devel@gnu.org; Tue, 02 Sep 2008 07:30:56 -0400 Received: from [199.232.76.173] (port=51783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaU62-0007ov-Q3 for grub-devel@gnu.org; Tue, 02 Sep 2008 07:30:54 -0400 Received: from c60.cesmail.net ([216.154.195.49]:14135) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KaU62-00085G-62 for grub-devel@gnu.org; Tue, 02 Sep 2008 07:30:54 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 02 Sep 2008 07:30:52 -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 655604F1869 for ; Tue, 2 Sep 2008 07:30:52 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <1220353928.4101.26.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> <1220148681.7450.14.camel@dv> <1220353928.4101.26.camel@fz.local> Content-Type: text/plain Date: Tue, 02 Sep 2008 07:30:51 -0400 Message-Id: <1220355051.5555.9.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: Tue, 02 Sep 2008 11:30:57 -0000 On Tue, 2008-09-02 at 13:12 +0200, Felix Zielcke wrote: > Am Samstag, den 30.08.2008, 22:11 -0400 schrieb Pavel Roskin: > > > > > svn ls -R | sed '/\/$/d' | sort > DISTLIST2 > > Thanks for the regexp. > The sort is actual not needed, `svn' does this and it places even the > files with a capital letter above everything else just like > gendistlist.sh. If we are going to keep DISTLIST in the repository, I would not rely on that. I think it would be best to set locale to C and use sort to make sure that the entries are sorted in the same way for all users. But if we are going to remove DISTLIST from the repository, then the order doesn't matter, so sort won't be needed. > > > 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 ;) > > > Thus, we don't need any lists for included or excluded files. Things > > will change if we stop keeping dependent files in Subversion. > > This was just a little hint from me that some files were recently again > added to SVN without adding them to DISTLIST by e.g. calling > gendistlist.sh > But that's the point why I do this whole thing now :) > > Attached is now a patch which adds ./gendistlist.sh call to autogen.sh > and uses SVN in case it is avaible to generate it. > > I think this now needs the decision of Marco and Okuji because the > DISTLIST file is actual used by them i.e. `make dist' If I was releasing GRUB, I would avoid using DISTLIST even temporarily. I would use a separate script for making releases that would: 1) call "svn export" to create a clean tree 2) create generated files 3) remove non-distributable files (e.g. gendistlist.sh) 4) package the tree > I think using `svn ls' is really great. > But 2 questions come now in my mind: > > `make dist' already creates DISTLIST if it does not exist, so > should ./autogen.sh generate it or directly `make dist' > > should autogen.sh/`make dist' use directly SVN or should it be in > gendistlist.sh? > > Especially should ony SVN be used to generate it or should `make dist' > be actual supported for everyone? I think the best approach would be to allow everyone with a svn directory create the release tarball. This way, many people will be able to test the release process. The requirement to having Subversion is not really a big deal, and it saves the need to keep DISTLIST in the repository. -- Regards, Pavel Roskin