Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9RMf9j3001873 for ; Wed, 27 Oct 2004 22:41:09 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id 8A804537A2 for ; Wed, 27 Oct 2004 22:41:09 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMwbP-0000dh-8E for migo@homemail.com; Wed, 27 Oct 2004 18:49:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMwav-0000dV-PX for gnu-arch-users@gnu.org; Wed, 27 Oct 2004 18:48:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMwau-0000d5-SQ for gnu-arch-users@gnu.org; Wed, 27 Oct 2004 18:48:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMwat-0000d2-P1 for gnu-arch-users@gnu.org; Wed, 27 Oct 2004 18:48:40 -0400 Received: from [129.255.60.186] (helo=ct.radiology.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMwSz-00087K-KE for gnu-arch-users@gnu.org; Wed, 27 Oct 2004 18:40:29 -0400 Received: from [192.168.1.11] (12-217-241-0.client.mchsi.com [12.217.241.0]) by ct.radiology.uiowa.edu (8.11.6/8.11.6) with ESMTP id i9RMeJ331392; Wed, 27 Oct 2004 17:40:20 -0500 Message-ID: <418023CD.1000504@johnmeinel.com> Date: Wed, 27 Oct 2004 17:40:13 -0500 From: John Meinel User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthieu Moy Subject: Re: [Gnu-arch-users] Re: Potential flaw in patch-log pruning in proposal References: <20041025210724.GA19744@merconline.com> <200410272144.i9RLiYnd074868@xl2.seyza.com> In-Reply-To: X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Cc: gnu-arch-users@gnu.org, Thomas Lord , jblack@merconline.com X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0293712807==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3234 Lines: 103 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0293712807== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA71F01E97C157E6003A6C1B8" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA71F01E97C157E6003A6C1B8 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Matthieu Moy wrote: > Thomas Lord writes: > > >>So: how about we modify the process so that we maintain a file >> >> ./src/tla/=merged >> >>Each time a (log-pruned) version is merged into tla, it's version name >>will be appended to that file. No version name should appear twice >>in that file. > > > Wouldn't it be better to let (a future version of) tla maintain this > file, and integrate it in the arch protocol instead of some user > convention? > > (I think you had another proposal on how to avoid log pruning, but I > don't remember exactly what it was) > > If I take the example of the Xtla project, on a freshly checked-out > project, I get this: > > $ du -sh > 8.7M . > $ du -sh \{arch}/xtla/ > 7.4M {arch}/xtla > > So, the patch-log takes 85% of the disk space (7 times more than the > source files !!). If I take only the list of merged patches in a file, > it goes down to 120Kb, which is around 10% of the source size. > > Another option would be to have a .tar.gz file of the patch-log. On > Xtla, this makes a 400Kb compressed file, but I suppose this will make > a big performance problem because to answer the question "is changeset > X already merged?", tla would have to gunzip the whole file. > > -- > Matthieu > I think the idea that the patch name gets kept, but you can optionally keep the patch-log itself is a good idea. So the '{arch}/=merged' file would contain the equivalent of tla logs --merges Or possibly with the summaries as well. (This isn't as important, and might cause file size to go up again.) Then when tla wants to check if a patch has already been merged, it can look for the patch-log, and secondly look for the entry in =merged. It might be nicer if =merged was some sort of indexed file format, so that lookups could be faster, but greping even a 120K file doesn't seem very expensive. John =:-> --------------enigA71F01E97C157E6003A6C1B8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBgCPNJdeBCYSNAAMRAj9OAJ9f5Fg/CS2VDxe3jaFu1jCrtbsq7QCgoKoP Ed0OdXXXUvYTgtT/M1YNlJY= =dTQ8 -----END PGP SIGNATURE----- --------------enigA71F01E97C157E6003A6C1B8-- --===============0293712807== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0293712807==--