From: Alexey Gladkov <legion@altlinux.ru> To: "Dmitry V. Levin" <ldv@altlinux.org>, ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] I: gear new utility Date: Tue, 06 Nov 2007 15:30:18 +0300 Message-ID: <47305E5A.1040209@altlinux.ru> (raw) Приветствую! Я закончил дорабатывать новую утилиту (пока только под себя) - gear-merge. Думаю она готова к основной ветке. Дим, как будет у тебя время смердж её в основную ветку. Эта утилита может помочь, если вы предполагаете хранить оригинальные исходники, патчи на них и метафайлы, требующиеся для сборки, в отдельных бранчах. Основная задача утилиты -- это слияние (merge) нескольких бранчей в один результирующий master-бранч, из которого можно собирать пакет. Собственно пример использования: [legion ash]$ git-branch * master patch/add-losetup patch/cleanup-warnings patch/fix-gcc-warnings patch/use-cflags upstream [legion ash]$ cat .gear/merge merge: upstream message="Merge upstream sources" merge: patch/add-losetup message="Apply patch 'add-losetup'" merge: patch/cleanup-warnings message="Apply patch 'cleanup-warnings'" merge: patch/fix-gcc-warnings message="Apply patch 'fix-gcc-warnings'" merge: patch/use-cflags message="Apply patch 'use-cflags'" Результатом будет бранч (master) в котором будут слиты исходники и патчи из отдельных веток. Или так, если предпочитаете держать патчи не приложенными: [legion ash]$ cat .gear/merge merge: upstream message="Merge upstream sources" gendiff: patch/add-losetup master name=dash-alt-add-losetup.patch gendiff: patch/cleanup-warnings master name=dash-alt-cleanup-warnings.patch gendiff: patch/fix-gcc-warnings master name=dash-alt-fix-gcc-warnings.patch gendiff: patch/use-cflags master name=dash-alt-use-cflags.diff Нечто подобное есть в git.alt:/people/vsu/packages/kernel-build-scripts.git под названием merge-all-branches. Некоторые идеи были взяты оттуда. С добавлением этой утилиты появится ещё один способ организовать репозиторий (по крайней мере для меня). http://git.altlinux.org/people/legion/packages/gear.git?p=gear.git;a=shortlog;h=legion/gear-merge P.S. Дим, даю копию в devel@. -- Rgrds, legion
next reply other threads:[~2007-11-06 12:30 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-06 12:30 Alexey Gladkov [this message] 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 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=47305E5A.1040209@altlinux.ru \ --to=legion@altlinux.ru \ --cc=devel@lists.altlinux.org \ --cc=ldv@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