From: Carsten Fuchs <carsten.fuchs@cafu.de>
To: Yann Droneaud <ydroneaud@opteya.com>
Cc: git@vger.kernel.org
Subject: Re: Tracking vendor release with Git
Date: Wed, 12 Jun 2013 10:17:18 +0200 [thread overview]
Message-ID: <51B82E8E.8010402@cafu.de> (raw)
In-Reply-To: <1370970410-7935-1-git-send-email-ydroneaud@opteya.com>
Hi Yann,
Am 2013-06-11 19:06, schrieb Yann Droneaud:
> I'm trying to setup a workflow to track vendor releases (upstream).
> Each new release are provided as an archive of source code, data,
> documentation, etc.
>
> For each vendor releases, fixes need to be applied before making them
> available to users (downstream).
>
> Seems to be a rather common use case, applied by most Linux distribution
> for decades.
>
> In my case, on top of each releases, a common set of patches will be applied,
> the biggest, the most intrusive one, being converting CRLF to LF using dos2unix,
> the others being small portability fixes. In this case, fixes are not going to
> be applied by upstream.
If you did the end-of-line conversion via .gitattributes rather than explicitly as a
patch, maybe the strategy described at
http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/ is what you're looking for?
If besides the <pristine-vendor> branch you need another <patched-vendor> branch, this
should be extensible, inserting another "layer" into the middle.
Copying and modifying Johannes' graph:
U---V-----W <-- upstream branch (pristine vendor)
\ \ \
C---D-----E <-- patched vendor
\ \ \
K---L--M--N--O <-- downstream branch ("master" in above linked text)
Best regards,
Carsten
--
Dipl.-Inf. Carsten Fuchs
Carsten Fuchs Software
Industriegebiet 3, c/o Rofu, 55768 Hoppstädten-Weiersbach, Germany
Internet: http://www.cafu.de | E-Mail: info@cafu.de
Cafu - the open-source game and graphics engine for multiplayer 3D action
next prev parent reply other threads:[~2013-06-12 8:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 17:06 Tracking vendor release with Git Yann Droneaud
2013-06-11 17:29 ` Greg Troxel
2013-06-11 18:27 ` Johannes Sixt
2013-06-11 18:43 ` Philip Oakley
2013-06-12 8:17 ` Carsten Fuchs [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-06-11 16:59 Yann Droneaud
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=51B82E8E.8010402@cafu.de \
--to=carsten.fuchs@cafu.de \
--cc=git@vger.kernel.org \
--cc=ydroneaud@opteya.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.