From: "Хихин Руслан" <hihin@yandex.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Версии и релиз-кандидаты
Date: Tue, 18 Sep 2007 22:56:03 +0400
Message-ID: <200709182256.09644@ruslandh> (raw)
In-Reply-To: <46F01A37.3090302@stc.donpac.ru>
[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]
Здравствуйте Eugene Prokopiev
В сообщении от Вторник 18 сентября 2007 Eugene Prokopiev написал(a):
> Здравствуйте!
>
>
>
> А что будет, если сейчас я запакую и отправлю в инкаминг
> пакет-0.1.RC1,
> а завтра пакет-0.1 (т.е. окончательный релиз)? Не окажется ли первый
> "лексикографически круче"? Для того, чтобы разрешить сомнения,
> провел
> эксперимент:
>
> $ echo -e '0.1.RC1\n0.1' | sort
>
> 0.1
> 0.1.RC1
>
> Получается, что окажется? Как принято выкручиваться?
Во-первых
http://www.freesource.info/wiki/AltLinux/Sisyphus/devel/TypicalPackagingErrors/versions?v=6f&
"т.е. 7.1PRE1 действительно больше чем 7.1.1.
Выход в данной ситуации один. Давать номера пакетов вида:
version-altx.prefix
Например, в данной ситуации, было бы лучше версию PRE1 запаковать как
7.1-alt0.PRE1, а официальный релиз тогда имел бы версию 7.1-alt1 и т.д.
Тоже самое предлагается делать и для cvs (например
7.1-alt0.cvs20051128) и всяких там alpha/beta/rc/pre. Сборка alt0 как
раз визуально выделят версии cvs/pre из списка релизов."
Т.е. alt, идущий впереди упорядочивает версии пакетов.
Во-вторых существуют эпохи и т.п. инструменты для таких случаев.
--
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-09-18 18:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 18:34 Eugene Prokopiev
2007-09-18 18:37 ` Mykola S. Grechukh
2007-09-18 18:46 ` Motsyo Gennadi aka Drool
2007-09-18 18:56 ` Хихин Руслан [this message]
2007-09-18 18:58 ` Pavlov Konstantin
2007-09-18 20:11 ` Alexey Tourbin
2007-09-19 0:01 ` Led
2007-09-19 19:00 ` Michael Shigorin
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=200709182256.09644@ruslandh \
--to=hihin@yandex.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