From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] git: бранчи/дистрибутивы/обновления
Date: Sun, 22 Jul 2007 12:03:24 +0400
Message-ID: <679044850707220103l7e877440k41231f25895e67dd@mail.gmail.com> (raw)
In-Reply-To: <200707220407.16227.artem.zolochevskiy@gmail.com>
> == 2. А если сторочка "ещё какая-то информация" для Desktop никак не
> применима,
> то, видимо, надо отдельный бранч заводить? как-то так:
> $ git checkout -b desktop 0.1-alt1
> $ vi test.txt
> s/Ещё одна строка описания/Ещё одна строка описания./
> $ git add test.txt
> $ git commit -m "added point. fixes bug#XXX"
> $ vi example.spec
> (меняем версию/changelog)
> $ cat example.spec
> Name: example
> Version: 0.1
> Release: alt1.M40.1
> %changelog
> * new-date name <mail> 0.1-alt1.M40.1
> - fixed bug#XXX
>
> * date name <mail> 0.1-alt1
> - initial build for Sisyphus
> $ git commit -m "spec modified for 0.1-alt1.M40.1"
> $ git-tag 0.1-alt1.M40.1
>
> gear > example-0.3-alt1.src.rpm > куда? чтоб он попал в обновления.
>
> т.е. получается некое копирования branch-ами структуры нашего ftp
>
> Теперь хорошо бы, наверное, эту забытую "." и в текущую версию внести
> Видимо, это можно cделать:
>
> $ git checkout master
> a) просто вручную cделать commit
> б) merge? скорее даже git merge -s ours desktop ?
> c) или обойтись git-cherry-pick на коммит с фиксом точки?
> если, он был сделан в desktop отдельным коммитом.
Лучше cherry-pick, раз уж бранчи разошлись. Merge тут ИМХО не нужен.
> Ну суть вопроса, надеюсь, ясна.
> Кто-что посоветует по организации git/gear репозитория в свете поддержания
> различных версий пакета,
> находящегося в Sisyphus/Desktоp/Server/Junior ?
Мне пока видится приемлемой вышеприведенная структура, с бранчем на
каждый поддерживаемый дистрибутив, в котором исправления переносятся
из ветки в ветку через cherry-pick.
Или же можно держать спек и .gear-rules в отдельном бранче, и тогда
можно сократить количество cherry-pick-ов за счет merge. Но это будет
посложнее и понимать, и поддерживать.
next prev parent reply other threads:[~2007-07-22 8:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 1:07 Artem Zolochevskiy
2007-07-22 8:03 ` Damir Shayhutdinov [this message]
2007-07-22 16:06 ` Artem Zolochevskiy
2007-07-23 9:01 ` Aleksey Avdeev
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=679044850707220103l7e877440k41231f25895e67dd@mail.gmail.com \
--to=damir@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