From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: martin f krafft <madduck@debian.org>
Cc: Petr Baudis <pasky@suse.cz>, git@vger.kernel.org
Subject: Re: topgit patches
Date: Fri, 27 Feb 2009 20:42:52 +0100 [thread overview]
Message-ID: <20090227194252.GB24054@pengutronix.de> (raw)
In-Reply-To: <20090227123731.GA22696@piper.oerlikon.madduck.net>
On Fri, Feb 27, 2009 at 01:37:31PM +0100, martin f krafft wrote:
> also sprach Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [2009.02.26.1515 +0100]:
> > If you need help, I'm also interested to co-maintain the debian
> > package. Just an offer ... (I don't know the exact way to become
> > a maintainer, if I need to meet a Debian developer, that's no
> > problem, I know one.)
>
> The Debian package is pretty trivial to maintain on top of upstream
> (thanks to topgit), and I am using it a bit as a test-case for
> workflow experiments. However, if you are interested in packaging,
> by all means, join me. In that case I'd suggest that you make the
> 0.6-1 Debian package after 0.6 is out, and I give you some hints up
> front and then simply stand by to help out.
Great.
> > 1 move all or most topgit-topic-branches to a private namespace, say
> > refs/top-heads because the patch branches pollute the output of git
> > branch.
>
> But aren't the topic branches essentially also plain Git branches?
Yes, sure, but in my workflow I usually have "patch branches" that
really introduce a change and "topic branches" that don't introduce own
changes but only collect "patch branches" in .topdeps. For me it would
be enough to let the "topic branches" appear in the output of
git-branch. Currently I have 144 (non-remote) branches in my linux
repo:
- 3 branches are exported topgit developments;
- 1 master branch (don't know off-hand what it contains);
- 9 topgit topic branches; and
- 131 topgit patch branches.
Skipping the 131 patch branches would greatly improve usability.
> > 2 export method that works like the existing linearize but creates
> > branches for topgit branches living in refs/heads and merges these
> > properly without linearisation.
> > (obviously depends on 1)
>
> I am not sure I understand what you are trying to do.
For example I collect arm-linux related patches that are ready for
upstream in a branch called t/armmisc-master, and patches that are not
ready in t/armmisc-pu. t/armmisc-pu depends on t/armmisc-master. When
I export t/armmisc-pu (usually to armmisc-pu) I want that a branch
armmisc-master is created that is an ancestor of armmisc-pu that just
contains the patches in t/armmisc-master.
Another scenario is if I'm working on a platform, say imx, I have
several upstreams: arm, i2c, mtd etc. Here I want to have a topic
branch that contains all my imx patches and provides proper branches to
pull for my upstreams. So the involved topgit topic branches are named:
t/imx-master
t/imx/arm-master
t/imx/i2c-master
t/imx/mtd-master
and the exported result has to look like this:
arm-patch1 -- arm-patch2 ... arm-patchK
/ \
/ \
linus/master -- i2c-patch1 -- i2c-patch2 ... i2c-patchL-- imx-master
\ /
\ /
mtc-patch1 -- mtd-patch2 ... mtd-patchM
and arm-patchK, i2c-patchL and mtd-patchM are the heads of the branches
imx/arm-master, imx/i2c-master and imx/mtd-master respectively.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2009-02-27 19:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 19:58 topgit patches Uwe Kleine-König
2009-02-25 20:03 ` [PATCH] [TOPGIT] limit rev-list in branch_contains to a single rev Uwe Kleine-König
2009-02-25 20:03 ` [PATCH] [TOPGIT] allow working with annihilated branches Uwe Kleine-König
2009-02-25 20:03 ` [PATCH] [TOPGIT] make tg remote idempotent Uwe Kleine-König
2009-02-25 20:03 ` [PATCH] [TOPGIT] make creating a commit from a topgit branch a function Uwe Kleine-König
2009-02-25 20:04 ` [PATCH] [TOPGIT] implement linearize export method Uwe Kleine-König
2009-02-25 21:23 ` topgit patches Petr Baudis
2009-02-25 23:15 ` Uwe Kleine-König
2009-02-25 23:22 ` Petr Baudis
2009-02-26 13:47 ` Uwe Kleine-König
2009-02-26 6:06 ` martin f krafft
2009-02-26 14:15 ` Uwe Kleine-König
2009-02-27 12:37 ` martin f krafft
2009-02-27 19:42 ` Uwe Kleine-König [this message]
2009-03-02 16:26 ` Uwe Kleine-König
2009-03-03 7:54 ` martin f krafft
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=20090227194252.GB24054@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=git@vger.kernel.org \
--cc=madduck@debian.org \
--cc=pasky@suse.cz \
/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).