From: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>
To: Thomas Koch <thomas-5j3myg3OO4w@public.gmane.org>
Cc: vcs-pkg-discuss-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org,
git-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: rethinking patch management with GIT / topgit
Date: Sun, 21 Mar 2010 21:36:26 +0100 [thread overview]
Message-ID: <20100321203626.GE3533@machine.or.cz> (raw)
In-Reply-To: <201003201953.34666.thomas-5j3myg3OO4w@public.gmane.org>
On Sat, Mar 20, 2010 at 07:53:34PM +0100, Thomas Koch wrote:
> Petr Baudis:
> - tg recreate <patchset> <newbase> <new patchset name>
> Creates a new patchset with root <newbase> by creating new patch branches
> for each patch branch in <patchset>
> This command is useful if you need to keep the old patchset to maintain an
> older version of your Debian package.
This means wiping out history again; in TopGit, you would ideally
checkpoint all the branches within the patchset, then just tg update
your branches. It's another matter that the former is now difficult to
do easily.
> I don't see this. What do I miss? All metadata I'd need to manage is:
> - one file with the name of each branch, it's last commit and the names of its
> dependencies (the root of the patchset, if empty)
> - one message file for each patch
> - the root of the patchset
>
> The example commands given above would manipulate or read the patchset branch
> in the background much like pristine-tar does it with its metadata branch.
Hmm, to a degree I misunderstood your idea. You would still need quirky
commands to update the references when you make a new commit, to go to a
certain patch (at which point git will start acting a bit annoyed since
it's not on a branch), etc. Other than that, I can offer only my gut
feeling. ;-)
> > Wouldn't it be better to do the collapsing/expanding instead, e.g.
> > have a convention for patchset/stage branch tying up all patchset/*
> > branches, and an alias that lists only */stage branches and another that
> > lists only patchset/* minus patchset/stage branches.
> So you propose not to delete/recreate the patch branches but to provide extra
> commands to list only the desired subset of branches? This would still mean
> that I'd see douzens of patch branches in gitweb and that I't need to push
> douzens of branches to my co-packagers. - That doesn't solve it for me.
There are already some patches in the wild to make gitweb topgit-aware;
I don't see why is the latter a problem.
> I hope I managed to make it clearer this time. I believe my proposals are
> incompatible to topgit and thus would require a new project from scratch.
Yes, I finally understood what do you mean, sorry for being a bit dense.
--
Petr "Pasky" Baudis
http://pasky.or.cz/ | "Ars longa, vita brevis." -- Hippocrates
next prev parent reply other threads:[~2010-03-21 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-20 17:02 rethinking patch management with GIT / topgit Thomas Koch
2010-03-20 17:47 ` Petr Baudis
2010-03-20 18:53 ` Thomas Koch
[not found] ` <201003201953.34666.thomas-5j3myg3OO4w@public.gmane.org>
2010-03-21 20:36 ` Petr Baudis [this message]
2010-03-22 7:59 ` Thomas Koch
2010-03-22 19:30 ` Petr Baudis
2010-03-23 8:09 ` Thomas Koch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100321203626.GE3533@machine.or.cz \
--to=pasky-alswssmvlrq@public.gmane.org \
--cc=git-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=thomas-5j3myg3OO4w@public.gmane.org \
--cc=vcs-pkg-discuss-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).