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 j0L8uVu6000932 for ; Fri, 21 Jan 2005 08:56:32 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 0C44676F79 for ; Fri, 21 Jan 2005 08:56:59 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrunF-0004oO-4O for migo@homemail.com; Fri, 21 Jan 2005 04:09:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CruiD-00036W-CF for gnu-arch-users@gnu.org; Fri, 21 Jan 2005 04:04:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CruiB-00035D-VH for gnu-arch-users@gnu.org; Fri, 21 Jan 2005 04:04:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cruf5-00027D-6g for gnu-arch-users@gnu.org; Fri, 21 Jan 2005 04:00:59 -0500 Received: from [195.27.129.236] (helo=mailsc1.simcon-mt.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CruB0-0002eJ-HZ for gnu-arch-users@gnu.org; Fri, 21 Jan 2005 03:29:54 -0500 Received: from localhost (localhost [127.0.0.1]) by mailsc1.simcon-mt.com (Postfix) with ESMTP id F199F3247F; Fri, 21 Jan 2005 09:29:53 +0100 (CET) Received: from localhost (localhost.local [127.0.0.1]) by gate.local (Postfix) with ESMTP id 77D62103C9; Fri, 21 Jan 2005 09:29:52 +0100 (CET) Received: by vandal.local (Postfix, from userid 1001) id 91463AF16F; Fri, 21 Jan 2005 09:27:57 +0100 (CET) Date: Fri, 21 Jan 2005 09:27:57 +0100 From: "Andrei A. Voropaev" To: Jan Hudec Subject: Re: [Gnu-arch-users] strategy to handle back-fixies Message-ID: <20050121082757.GA19548@vandal.simcon-mt.de> Mail-Followup-To: Jan Hudec , gnu-arch-users@gnu.org References: <20050120090735.GA18766@vandal.simcon-mt.de> <20050120200644.GA7715@vagabond> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050120200644.GA7715@vagabond> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at local gate 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: 2953 Lines: 75 On Thu, Jan 20, 2005 at 09:06:45PM +0100, Jan Hudec wrote: > On Thu, Jan 20, 2005 at 10:07:35 +0100, Andrei A. Voropaev wrote: > > Hello! > > > > I need an advice about the best strategy for the following situation. > > > > I have an archive for the project. Another archive contains simbolic > > tags (snapshots) from the first one. I have created snapshot X and have > > been working on new features for snapshot Y. During the work I've fixed > > couple of important though small bugs. Now my boss wants me to create > > snapshot Z that is identical to X but includes those important bug > > fixes. > > > > One obvious (for me :) way could be to create one more archive, tag into > ^^^^^^^ > You definitely don't need an ARCHIVE > > it snapshot X, do the bug fixes and then tag from it into the snapshots > > archive. But I'm not sure if this is going to work and if this is an > > appropriate approach. Would it work when I add snapshot Y? > > In fact, it's exactly what versions are for. The overall schema could > look like: > > archive/foo--dev--0 > This is the "HEAD" where you work on the new features > archive/foo--release--1--base-0 > This is where you first released. Your snapshot X. > archive/foo--release--1--patch-1 > This is your snapshot Z. It does not matter whether you have > merged and commited it or tagged it (tags-only branch), but > I suggest mergeing, because tag-only branches behave a little > strangely, because they always only contain the last log. > archive/foo--release--2--base-0 > This will be where you will eventualy create snapshot Y. That would be perfect. In fact I was (and still am) wondering how in practice this shall work. So far no documentation mentions this approach. So below are my guesses how it should work. Please correct me if I'm wrong. Suppose I have project foo and it is in archive/foo--mainline--1.0. So I 'get' this project tla get foo--mainline--1.0 wdir I do certain changes and create 3 patches by commiting those. So now I have foo--mainline--1.0--base-0 foo--mainline--1.0--patch-1 foo--mainline--1.0--patch-2 foo--mainline--1.0--patch-3 At this point I decide that this is going to be release 1.1. So in my wdir I do tla tag foo--mainline--1.0--patch-3 foo--mainline--1.1 Starting with that my archive shall have foo--mainline--1.0 and foo--mainline--1.1 (at the point containing only base-0). Now I can continue with applying fixes to foo--mainline--1.0 and develop foo--mainline--1.1 Is this correct? Do I really have to tag from my 'wdir' or I can tag from anywhere? (I would guess so) -- Minds, like parachutes, function best when open _______________________________________________ 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/