From: Anton Farygin <rider@altlinux.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Бэкпорт psi-0.13 Date: Tue, 10 Feb 2009 10:47:13 +0300 Message-ID: <49913101.7060404@altlinux.com> (raw) In-Reply-To: <3f60a830902091638g35dc13aet9940132c066f5f50@mail.gmail.com> Alexey Borovskoy пишет: > Добрый день. > > Разглядываю я git://git.altlinux.org/people/rider/packages/psi.git > > Кто бы объяснил следующее: > > 1. Как была получена ветка source-0.13 ? git checkout -b source-0.13 psi/master (забрали master бранч гита апстрима) git merge -s ours iris (подшили туда историю от iris) > 2. Как была получена ветка master-0.13 ? git checkout -b master-0.13 psi/master git merge -s ours iris > 3. Есть ли у веток source и source-0.13 общие коммиты? Если они есть, > то почему при мерже ветки source-0.13 в ветку source получаем огромное > количество конфликтов? Нет, нету. Сборка идёт из ветки master-0.13, а ветку master можно игнорировать - это старый импорт из svn. Оставил для истории. Сейчас upstream перешёл на git. > 4. Аналогично п.3 но для веток master и master-0.13. Аналогично > 5. Что делать с submodules? tar: v@version@-@release@:. name=psi-@version@-@release@ diff: v@version@-@release@:. . tar: iris:. name=iris Последнее говорит, что тарболл iris собирается из текущего бранча iris. Соответственно при обновлении нужно: смержить апстримный git для iris смержить апстримный git для source-0.13 и master-0.13 подшить историю iris через -s ours в source-0.13 и master-0.13 В бранче source-0.13 поставить тэг вида: v<версия>-<релиз>, например v0.13-alt0.git3.57c98f2 В бранче master-0.13 после правки спека (обновления/изменения релиза) выполнить gear-update-tag -a -c После этого попробовать собрать пакет (gear-rpm -ba --commit) > > Я понимаю что это мощная чорная магия, но как в проекте psi из пункта > А приехать в пункт Б? Я тут отдельным письмом её описывал. В общем то ничего особенно страшного - такая схема сделана для объезда submodules. > > Только не надо раздражаться и посылать меня грепать гит апстрима и доку от гита. В данном случае это не поможет (грепать гит и доку). спрашивайте ;) Для бэкпорта всё намного проще: делаем новый бранч на основе master-0.13, например 4.0 На последний коммит в бранче source-0.13 ставим тэг с новой версией/релизом для бэкпорта. (мне страшно подумать, как он будет выглядеть). Правим спек (в бранче 4.0), выполняем gear-update-tag -a -c, собираем. Смержить старые изменения, думаю, что не получится. Можно попробовать подёргать патчи через cherry-pick, но по моему проще убить не нужную историю.
prev parent reply other threads:[~2009-02-10 7:47 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-02-10 0:38 Alexey Borovskoy 2009-02-10 7:47 ` Anton Farygin [this message]
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=49913101.7060404@altlinux.com \ --to=rider@altlinux.com \ --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