From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: new cronbackport and imporoved croncopy
Date: Sun, 30 Oct 2011 01:00:09 +0400
Message-ID: <4EAC6959.1050909@solin.spb.ru> (raw)
In-Reply-To: <20111029204434.GA28509@dad.imath.kiev.ua>
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
30.10.2011 00:44, Igor Vlasenko пишет:
> On Sat, Oct 29, 2011 at 03:49:42PM +0400, Aleksey Avdeev wrote:
>>> Я так понимаю, ваш список для 5.1
>> Только moodle. Но и с ним прошу погодить: мне над процедурой бэкпорта
>> надо подумать.
>
> В утилите srpmbackport есть магия, позволяющая выполнить над
> srpm пакетом достаточно сложный код.
>
> В простейшем случае, например, можно сделать так:
> Если вы устаревшие места в spec-файле в Сизифе обернете в
> %if_with backport_51
> ...
> %endif
>
> то cronbackport может попросить srpmbackport вставить в начало
> спека для бранча 5.1 директиву
>
> %def_with backport_51
>
> Если этого недостаточно, есть более мощные трюки.
Как раз для отказа от подобных трюков (обёртывание кусков спека в
%if...%endif) мне автобэкпортирование на основе git и нужно.
PS: Я сейчас веду политику избавления от подобных конструкций, т. к.
repocop любит предупреждать о устаревших конструкциях внутри обёрток
(%if...%endif) => более важные предупреждения сложнее заметить на фоне
данного спама. (И по моему, что-то мне уже приходилось удалять из-за
нездоровой реакции sisyphus_check`а.)
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
next prev parent reply other threads:[~2011-10-29 21:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 20:24 Igor Vlasenko
2011-10-28 21:18 ` [devel] I: new cronbackport and improved croncopy Michael Shigorin
2011-10-28 21:39 ` Igor Vlasenko
2011-10-28 22:36 ` [devel] [JT] " Michael Shigorin
2011-10-29 1:24 ` Dmitry V. Levin
2011-10-29 9:49 ` [devel] I: new cronbackport and imporoved croncopy Aleksey Avdeev
2011-10-29 11:40 ` Igor Vlasenko
2011-10-29 11:49 ` Aleksey Avdeev
2011-10-29 20:44 ` Igor Vlasenko
2011-10-29 21:00 ` Aleksey Avdeev [this message]
2011-10-29 21:13 ` Igor Vlasenko
2011-10-29 21:51 ` Aleksey Avdeev
2011-10-29 11:40 ` Igor Vlasenko
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=4EAC6959.1050909@solin.spb.ru \
--to=solo@solin.spb.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