From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] gear - topic branches
Date: Sun, 4 Feb 2007 13:40:47 +0300
Message-ID: <20070204104047.GC18849@basalt.office.altlinux.org> (raw)
In-Reply-To: <a4ab440f0702040210x2e36d14btf95f6e526a3bf7b6@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]
On Sun, Feb 04, 2007 at 12:10:11PM +0200, Nick S. Grechukh wrote:
[...]
> пусть в бранче upstream лежит xmms-1.2.1. из него я делаю бранч
> rusxmms и через patch < rusxmms.patch прикладываю.
> в master я делаю pull . upstream, и в .gear-rules говорю делать дифф
> upstream-rusxmms. или master-rusxmms? в .src.rpm оно лежит отдельным
> патчем. отлично.
> в какой-то момент git fetch upstream вытягивает мне 1.2.3. что я
> должен сделать -
> git checkout master и опять git pull . upstream ? а что потом делать с
> бранчем rusxmms - rebase что ли? иначе ведь дифф будет содержать откат
> с upstream-1.2.3 до rusxmms-1.2.1.
Зависит от того, есть ли у rusxmms.patch свой upstream.
1. Если есть, то имеет смысл завести бранч upstream-rusxmms, который будет
в каждый момент времени просто upstream+rusxmms.patch. Тогда в бранч
master надо будет делать pull именного из бранча upstream-rusxmms, а не из
бранча upstream. При этом надо придумать удобный способ обновления бранча
upstream-rusxmms при обновлении бранча upstream и rusxmms.patch, чтобы
ещё и наследование было правильное. vsu@, поделись опытом!
2. Если нет, то всё равно имеет смысл завести бранч upstream-rusxmms,
в который надо будет делать pull именно из бранча upstream, а в бранч
master -- pull из бранча upstream-rusxmms.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-02-04 10:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-04 10:10 Nick S. Grechukh
2007-02-04 10:40 ` Dmitry V. Levin [this message]
2007-02-04 10:49 ` Nick S. Grechukh
2007-02-04 10:52 ` Nick S. Grechukh
2007-02-05 8:31 ` Ildar Mulyukov
2007-02-04 11:02 ` Dmitry V. Levin
2007-02-04 11:12 ` Nick S. Grechukh
2007-02-04 11:17 ` Dmitry V. Levin
2007-02-04 11:34 ` Alexey I. Froloff
2007-02-04 11:17 ` Sergey Vlasov
2007-02-04 11:38 ` Alexey I. Froloff
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=20070204104047.GC18849@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git