From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Mono: мысли по зависимостям
Date: Mon, 5 Nov 2007 00:32:47 +0300
Message-ID: <20071104213246.GC24160@solemn.turbinal> (raw)
In-Reply-To: <20071104211644.GA22138@wrars-comp.wrarsdomain>
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]
On Mon, Nov 05, 2007 at 02:16:44AM +0500, Andrey Rahmatullin wrote:
> > > 4. Ссылки с publicKeyToken должны генерировать Requires, содержащий имя,
> > > версию, publicKeyToken и culture сборки, при этом версия берётся из
> > > ссылки либо из .config, если он есть и содержит перенаправление.
> > Пример пакетов в сизифе.
> /usr/lib/mono/gac/Nemerle.CSharp/0.9.3.29994__5291d186334f6101/Nemerle.CSharp.dll
>
> Чтобы загрузить эту сборку, в программе должен быть блок
>
> .assembly extern Nemerle.CSharp
> {
> .ver 0:9:3:29994
> .publickeytoken = (52 91 D1 86 33 4F 61 01 )
> }
А если в программе вообще не указан .publickeytoken?
Программа "слинкуется" с текущей версией или как?
> Поэтому зависимость, по-хорошему, должна включать и имя, и версию, и хэш
> ключа.
Можно сделать наиболее общий формат зависимостей 1.2.3.4-HASH.
То есть hash вынести в релиз. Это можно абсолютно безболезненно
делать как минимум в Provides. А потом включать hash и в Requires.
Или не включать -- здесь сохраняется степень свободы, потому что
зависимость без релиза успешно разрешится в любой релиз.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-04 21:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 20:25 Andrey Rahmatullin
2007-11-04 20:50 ` Alexey Tourbin
2007-11-04 21:16 ` Andrey Rahmatullin
2007-11-04 21:32 ` Alexey Tourbin [this message]
2007-11-05 10:48 ` Andrey Rahmatullin
2007-11-05 11:04 ` Alexey Tourbin
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=20071104213246.GC24160@solemn.turbinal \
--to=at@altlinux.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