From: Anton Farygin <rider@altlinux.com>
To: ALT Linux Team development discussions
<public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.org>
Subject: Re: [devel] gear: tar by sha-1/tag
Date: Sun, 06 Apr 2008 23:35:55 +0400
Message-ID: <47F9261B.1080609@altlinux.com> (raw)
In-Reply-To: <f7a739430804061031v6e988da4qce9d73e2a95e6000@mail.gmail.com>
Eugene Prokopiev пишет:
>>> такой ситуации: у меня в спеке version - 1.2 и вряд ли в ближайшее
>> > время изменится, а release - alt0.svnNNNN или 0.alt0.svnNNNN.M40 (для
>> > branch/4.0). Планировал иметь тег, который при каждом обновлении из
>> > апстрима будет сдвигаться на последний коммит и уже этот тег указывать
>> > в .gear/rules
>>
>> Лучше использовать для tar: тег от версии 1.2 плюс делать diff:
>> от тега до HEAD (откуда собирается пакет). См. такж.
>> gear-update-tag(1).
>
> Совсем не понял. diff вроде используют только для того, чтобы разница
> меду бранчами автомагически оформилась в src.rpm как патч. Мне в
> src.rpm пока патчи не нужны, только tar и спек.
>
> Или речь о другом сценарии? Пример можно?
>
$ cat .gear-rules
tar: v@version@-@release@:. name=psi-@version@-@release@
diff: v@version@-@release@:. .
spec: psi.spec
Отдельный бранч с source (без .gear-rules), и тэг v0.12-alt1.svnXXXX
стоит там.
next prev parent reply other threads:[~2008-04-06 19:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-06 14:05 Eugene Prokopiev
2008-04-06 14:49 ` Alexey I. Froloff
2008-04-06 17:25 ` Eugene Prokopiev
2008-04-06 14:51 ` Alexey I. Froloff
2008-04-06 17:31 ` Eugene Prokopiev
2008-04-06 19:35 ` Anton Farygin [this message]
2008-04-07 5:04 ` Eugene Prokopiev
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=47F9261B.1080609@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@lists.altlinux.org \
--cc=public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.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