Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9SJ5D0B028776 for ; Thu, 28 Oct 2004 19:05:13 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id C25A776F68 for ; Thu, 28 Oct 2004 19:05:14 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNFi2-0002So-EN for migo@homemail.com; Thu, 28 Oct 2004 15:13:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNFhX-0002RU-CR for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 15:12:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNFhW-0002Qv-6i for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 15:12:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNFhV-0002Qg-W4 for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 15:12:46 -0400 Received: from [192.94.73.20] (helo=sdf.lonestar.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNFZ6-0003zZ-1E for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 15:04:04 -0400 Received: from sdf.lonestar.org (IDENT:migo@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9SJ3w0B020781; Thu, 28 Oct 2004 19:03:59 GMT Received: (from migo@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i9SJ3w4L012769; Thu, 28 Oct 2004 19:03:58 GMT Date: Thu, 28 Oct 2004 19:03:58 +0000 From: Mikhael Goikhman To: Aaron Bentley Subject: Re: [Gnu-arch-users] Announce: axp - a new command line tool Message-ID: <20041028190358.GA2887@SDF.LONESTAR.ORG> Mail-Followup-To: Aaron Bentley , gnu-arch-users@gnu.org References: <20041028155630.GA21846@SDF.LONESTAR.ORG> <41812887.9010605@panoramicfeedback.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41812887.9010605@panoramicfeedback.com> User-Agent: Mutt/1.4.2.1i Cc: gnu-arch-users@gnu.org 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: , 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: 2606 Lines: 64 On 28 Oct 2004 13:12:39 -0400, Aaron Bentley wrote: > > Nice to have a new face on the field. Ok, let's pretend it is new, although I mentioned axp in March. :) > Mikhael Goikhman wrote: > > What do you mean by report functionality? This means read-only operations. ArchZoom is an example of a read-only reporting tool. Some planned features will be available in both archzoom and axp. It is quite easy when you have a library, you know. > I'd say there's actually quite a lot of overlap: fork, registry and > star-merge-undo functionality are all provided by Fai. There are probably many fork implementations and ideally tla will have one too. :) Anyway, I don't really think it is practical to add more dependancies to our tools, so some reimplementation is unavoidable. > Fai doesn't have an explicit registry command, though. When it > encounters an unregistered archive name, it automatically looks it up. > You can do "fai get random@unregistered/foo--bar", and it just works. Yes, this is handy, but personally I like to register archives explicitly, this avoids unexpected problems. > You might want to add Gergely Nagy's registry too-- Fai will use it for > lookups, and offer to submit manually-entered locations to it, so it's a > useful adjunct to the supermirror. (For example, > lord@emf.net--gnu-arch-2004 is there, but not on the supermirror yet.) I am aware about arch-registry, and we spoke with Gergely about it a bit. I think you may want to know details of my solution. It is not limited to sourcecontrol.net. You may even define $SUPERMIRROR_PREFIX_URL and start to use another DB (that is plain text files, similar to "tla archives"). The registry functionality is available using Arch::Registry module that is part of arch-perl. It has a nice API for any kinds of archive/version regexp searches, and it has a support for internal web cache. The actual "axp registry" subcommands are just several lines. There are two statical gzipped files: http://archzoom.sourcecontrol.net/registry/archives.gz http://archzoom.sourcecontrol.net/registry/versions.gz These files are generated every 6 hours and weight 20Kb in total (the generation is a matter of one millisecond). A user may produce hundreds of searches and no more than 20Kb is fetched, since "axp registry" defines a transparent web cache that expires in 3 hours. Regards, Mikhael. _______________________________________________ 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/