ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: gear new utility
Date: Tue, 6 Nov 2007 23:17:08 +0300
Message-ID: <20071106201707.GA11864@hell.fortress> (raw)
In-Reply-To: <20071106144045.GN26960@immo.ru>

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]

* Alexey I. Froloff <raorn@> [071106 17:47]:
> > Если да, то опиши подробнее пожалуйста. Я на эту тему тоже
> > думал, но задач таких у меня нет, поэтому не реализовал.
> http://lists.altlinux.ru/pipermail/sisyphus/2007-September/207264.html
> Ну и плюс Дамир свой скрипт кидал.
У нас есть ветка upstream, ветки с патчами patch-A, patch-B,
patch-C, patch-D и master, из которого идёт сборка.  Самый
простой случай, выход нового upstream:

$ git checkout upstream
$ gear-update ...
$ git commit
// (1)
$ git checkout patch-A
$ git pull . upstream
$ git checkout patch-B
$ git pull . patch-A
$ git checkout patch-C
$ git pull . patch-B
// (2)
[vim commit vim commit]
// (3)
$ git checkout patch-D
$ git pull . patch-C
$ git checkout master
$ git pull . patch-D
// (4)

Собсно, имеет значение порядок веток, он не меняется, возможно
некоторые ветки будут удаляться или добавляться в процессе
работы.  Если хочется генерить диффы, делать это надо между
upstream и patch-A, patch-A и patch-B и т.д.

От утилиты хочется сказать "смержи мне отсюда (1) и до обеда
(2)", потом "вот отсюда (3) и до master (4)".  Может быть даже с
таким интерфейсом, как это делает git-rebase, чтобы можно было
разрешить конфликт и продолжить мерж.

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-11-06 20:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 12:30 Alexey Gladkov
2007-11-06 13:06 ` Damir Shayhutdinov
2007-11-06 13:19   ` Alexey Gladkov
2007-11-06 13:29 ` Alexey I. Froloff
2007-11-06 13:42   ` Alexey Gladkov
2007-11-06 13:45   ` Alexey Gladkov
2007-11-06 14:08     ` Alexey I. Froloff
2007-11-06 14:15       ` Alexey Gladkov
2007-11-06 14:40         ` Alexey I. Froloff
2007-11-06 20:17           ` Alexey I. Froloff [this message]
2007-11-11 23:21             ` Alexey Gladkov

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=20071106201707.GA11864@hell.fortress \
    --to=raorn@immo.ru \
    --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