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] suggesting arch/noarch
Date: Tue, 29 Dec 2009 03:47:49 +0300
Message-ID: <20091229004749.GB8492@altlinux.org> (raw)
In-Reply-To: <20091228172334.GI3735@osdn.org.ua>

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

On Mon, Dec 28, 2009 at 07:23:34PM +0200, Michael Shigorin wrote:
> On Sun, Dec 27, 2009 at 04:53:52AM +0300, Alexey Tourbin wrote:
> > At an extreme, it is best to require full md5 match for both
> > noarch packages and /usr/share part of arch packages.
> 
> А это зависит от определения "best".
> 
> Напоминаю, что если думать не о людях, а о чём-то ещё,
> то людям рано или поздно станет неуютно и останется
> самоудовлетворяться об протухший и никому не нужный
> каталог с файликами.

Людишки очень тупы, думать про них смысла нет.

> noarch -- это то, что годится в работу вне зависимости
> от архитектуры.  Необязательно ещё и собирается идентичным
> на любой: это уже примерно как ровнять заодно налоговый кодекс.
> 
> Пожалуйста, используй это определение или раскритикуй
> и предложи иное, с которым согласятся люди.

Твое определение по сути верно, но как убедиться, что оно выполняется?
Когда md5-суммы совпадают, то есть гарантия, что условие выполняется.
А когда md5-суммы не совпадают, то никакой гарантии нет, и, более того,
выполнятся определение или нет проверить никак нельзя.

Это получается вроде принципа Барбары Лисков.  Принцип конечно
интересный чтобы чисто порассуждать, но когда у тебя на руках простыня
кода то понять выполняется этот принцип или нет практически никакой
возможности нету.

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

      reply	other threads:[~2009-12-29  0:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 23:36 ` [devel] noarch and /usr/share (packages/aptitude: tags/0.4.5-alt5) Alexey Tourbin
2009-12-22  8:05   ` Alexey Tourbin
2009-12-22 12:12     ` Michael Shigorin
2009-12-22 17:57       ` Alexey Tourbin
2009-12-23 12:00         ` Michael Shigorin
2009-12-23 18:48           ` Alexey Tourbin
2009-12-22 18:18     ` [devel] forced noarch Dmitry V. Levin
2009-12-22 18:54       ` Alexey Tourbin
2009-12-22 19:02         ` Damir Shayhutdinov
2009-12-22 19:06           ` Alexey Tourbin
2009-12-23 14:17         ` Kirill A. Shutemov
2009-12-23 19:19           ` Alexey Tourbin
2009-12-23 20:33             ` Kirill A. Shutemov
2009-12-23 21:23               ` Alexey Tourbin
2009-12-23  0:49       ` [devel] packages with non-identical /usr/share Alexey Tourbin
2009-12-23 11:57         ` Michael Shigorin
2009-12-23  2:11       ` [devel] forced noarch Alexey Tourbin
2009-12-23 11:12         ` Dmitry V. Levin
2009-12-23 12:38           ` Damir Shayhutdinov
2009-12-23 12:47             ` Michael Shigorin
2009-12-23 13:11             ` Dmitry V. Levin
2009-12-23 13:17               ` Damir Shayhutdinov
2009-12-23 13:52                 ` Dmitry V. Levin
2009-12-23 20:11           ` Alexey Tourbin
2009-12-23 22:30             ` Alexey Tourbin
2009-12-24  0:26               ` Alexey Tourbin
2009-12-27  1:09     ` [devel] forcing arch/noarch Dmitry V. Levin
2009-12-27  1:53       ` Alexey Tourbin
2009-12-27  9:50         ` Денис Смирнов
2009-12-28  0:44         ` Dmitry V. Levin
2009-12-28 17:23         ` [devel] suggesting arch/noarch Michael Shigorin
2009-12-29  0:47           ` Alexey Tourbin [this message]

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=20091229004749.GB8492@altlinux.org \
    --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