Re: publishing a forked^W cloned directory with ancestry
From: martin f krafft <hidden>
Date: 2016-06-15 22:43:31
also sprach martin f krafft [off-list ref] [2007.08.30.2125 +0200]:
And then I wonder: how do I now publish this result of my work? I'd like to push my repository to git.debian.org so that others can clone it and help or submit patches against the debianised upstream.
With this I mean: it would just be nice if people cloning the git.debian.org repo could also use the upstream refs. I am aware that the pack they download is complete in the sense that they can just build after cloning (thanks to Harri Ilari Tapio Liusvaara though for clearing this up for me a bit). After all, this is what I meant when I wrote:
I guess the cleanest solution I can come up with is to branch off upstream/master into branch "upstream" whenever *I* decide it's time to snapshot. Then, people using my repo would basically be confined to the state of the tree as it was the last time I rebased "upstream", but could work freely on the Debian-specific stuff.
But I guess in the Debian world, a bug may be fixed upstream before
it is fixed in Debian (not only because Debian is allegedly
outdated, also because our users and developers often cooperate
directly with upstream), and then when someone jumps in for me to
release a new mdadm package, they might just need to rebase to the
latest upstream HEAD.
Is it possible to enable this with git without asking those people
to first set up their local repo to reference git.debian.org *and*
upstream, all of which is likely going to be more than four
commands?
Harri hinted at using Makefiles, and sure, I can use the Makefile to
set up upstream if it's not already present, but I'd much rather
have a standard way that's going to be the same across all
git-maintained Debian packages.
Comments welcome,
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
"no woman should ever be quite accurate about her age.
it looks so calculating."
-- oscar wilde
spamtraps: madduck.bogus@madduck.net Attachments
- digital_signature_gpg.asc [application/pgp-signature] 189 bytes