ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Mono: мысли по зависимостям
Date: Sun, 4 Nov 2007 23:50:52 +0300
Message-ID: <20071104205052.GB24160@solemn.turbinal> (raw)
In-Reply-To: <20071104202556.GQ15923@wrars-comp.wrarsdomain>

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

On Mon, Nov 05, 2007 at 01:25:56AM +0500, Andrey Rahmatullin wrote:
> 1. Полностью Provides должны обрабатываться только для GAC-сборок,
> остальные не являются публичными, с ними невозможна штатная линковка (без
> пути) и их версии и publicKeyToken игнорируются.

Это примерно соответствует моей идее, что Provides должен выставляться
только для /usr/lib/mono/.  Можно сделать ещё жестче -- /usr/lib/mon/gac,
но тогда будут исключения потому что mscorlib.dll лежит за пределами gac.

> 2. Provides генерируются следующими источниками: метаданные публичных
> сборок и их publisher policy. Если у сборки нет publisher policy,
> используется её версия, иначе - версия, на которую перенаправляет policy.
> Кроме того, надо учитывать publicKeyToken и вроде бы culture.

Я не силён в моновской терминологии.  Что такое publisher policy?
У меня задача попроще -- привести зависимости в божеский вид,
чтобы в глаза не бросались какие-то странные вещи даже на мой
непросвещённый взгляд.

> 3. Ссылки без publicKeyToken могут быть разрешены приватными сборками и
> поэтому не должны создавать Requires с версией.

Это я тоже не понимаю.  Давай пример пакетов в сизифе.

> 4. Ссылки с publicKeyToken должны генерировать Requires, содержащий имя,
> версию, publicKeyToken и culture сборки, при этом версия берётся из
> ссылки либо из .config, если он есть и содержит перенаправление.

Пример пакетов в сизифе.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-11-04 20:50 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 [this message]
2007-11-04 21:16   ` Andrey Rahmatullin
2007-11-04 21:32     ` Alexey Tourbin
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=20071104205052.GB24160@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