From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] nmap branching, newbie question, was: Fwd: [#282648] EPERM (try 6) nmap.git=7.80-alt2 Date: Sat, 30 Oct 2021 01:34:04 +0300 Message-ID: <YXx23CUVTZzUvfJR@glebfm.cloud.tilaa.com> (raw) In-Reply-To: <e0ce261a5bb645668b97a3a879be4b29@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 2859 bytes --] Hi, On Tue, Oct 26, 2021 at 11:04:43AM +0200, Pavel Nakonechnyi wrote: > Добрый день, > > В тему сборки обновленной версии, по истории я не смог понять каким > образом был совершен переход с 7.70 до 7.80. Честно говоря, я уже забыл, как собирался этот пакет. Оказалось, так же, как я последние годы собираю все пакеты, в которых приходится применять и поддерживать большое количество патчей. > Я предполагал следующее: > - ветка upstream дополняется оригинальными исходными кодами новой версии > - создается новая ветка, например alt/7.92 на основе upstream > - alt/7.92 дополняется патчами на исходники > - alt/7.92 вмерживается в sisyphus с тем чтобы переписалось содержимое > директории nmap/ на требуемое Всё верно, так и было сделано обновление до 7.80. По такой же схеме собраны многие другие пакеты. > И вот последний шаг совершенно непонятен. ours стратегия не подходит, > recursive (и другие) merge вызывает массу конфликтов. Да и при > переходе с 7.70 до 7.80 было сделано что-то иное... > > Подскажите, пожалуйста, как поступать в таких случаях? Да, в этом месте приходится применять небольшую хитрость, чтобы все исходники совпадали с подготовленным бранчем, а .gear, spec и остальные файлы остались на месте. Я делаю это так: git merge -s ours --no-commit alt/7.80 git read-tree alt/7.80 git checkout @ -- .gear/ alt/ git commit git reset --hard On Thu, Oct 28, 2021 at 09:11:30PM +0300, Vitaly Lipatov wrote: > Если бы была возможность, я бы объяснял мантейнеру, что не нужно > собирать пакеты на основе апстримных репозиториев, а нужно использовать > официально опубликованные тарболы. > Тогда и не будет таких проблем и лишних действий. Странно, этот пакет как раз собран из опубликованного тарболла. -- glebfm [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2021-10-29 22:34 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-30 6:03 ` [devel] " Vitaly Lipatov 2021-09-30 17:24 ` Pavel Nakonechnyi 2021-09-30 20:33 ` Vitaly Lipatov 2021-10-01 7:36 ` Pavel Nakonechnyi 2021-10-01 11:11 ` Vladimir D. Seleznev 2021-10-26 9:04 ` [devel] nmap branching, newbie question, was: " Pavel Nakonechnyi 2021-10-28 18:11 ` Vitaly Lipatov 2021-10-29 22:34 ` Gleb Fotengauer-Malinovskiy [this message] 2021-10-30 8:55 ` Anton Farygin
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=YXx23CUVTZzUvfJR@glebfm.cloud.tilaa.com \ --to=glebfm@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