ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Lua Policy: черновик политики, обсуждение
Date: Tue, 10 Oct 2017 07:21:45 +0300
Message-ID: <20171010042145.GB22156@portlab> (raw)
In-Reply-To: <CACAYGhuB3LhdJaKSRv-iNYDB0nHLujZi+Oxwj=20CDz=jMgtbA@mail.gmail.com>

On Tue, Oct 10, 2017 at 04:04:40AM +0000, Ildar Mulyukov wrote:
> Владимир, Антон,
> 
> >> 07.10.2017 01:30, Vladimir D. Seleznev пишет:
> > >>> Я бы для собираемых модулей, и в именах пакетах, и в провайдсах, явно
> > >>> указывал версию интерпретатора, для которых они подходят, т.е.
> > >>> lua5.3-module-foo с провайдсом luarocks5.3(foo). Это может быть полезно
> > >>> при обновлении главного интерпретатора
> 
> Понимаю ваше здравое желание сделать так, "чтобы десять раз не вставать"
> (т.е. избежать пересборки модуля с приходом новой версии интерпретатора). К
> сожалению, в данном случае не получится.
> Модуль для главной версии ( lua-module-foo с провайдсом luarocks(foo) )
> никогда не сможет стать модулем неглавной версии ( lua5.3-module-foo с
> провайдсом luarocks5.3(foo) ) без пересборки, потому что содержит файлы
> метаинформации luarocks: %luarocks_dbdir/%oname , а пакет для неглавной
> версии его содержать не может: %exclude %luarocks_dbdir/%oname

Тогда лучше пропатчить luarocks, чтобы было два пути: %luarocks5.1_dbdir
и %luarocks5.3_dbdir и не делать exclude'ов, и таки генерить провайдсы
вида luarocks5.3(foo).

> Поэтому предлагаю оставить такое семантическое выделение модуля для главной
> версии.

-- 
   С уважением,
   Владимир Селезнев


  parent reply	other threads:[~2017-10-10  4:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-06 22:30 ` Vladimir D. Seleznev
2017-10-07  4:53   ` Anton Farygin
2017-10-07 11:23     ` Vladimir D. Seleznev
2017-10-07 15:38       ` Anton Farygin
2017-10-10  4:21           ` Vladimir D. Seleznev [this message]
2017-10-10  5:47               ` Vladimir D. Seleznev
2017-10-10  6:20                   ` Vladimir D. Seleznev
2017-10-11 14:56                       ` Vladimir D. Seleznev
2017-10-14 23:08                           ` Vladimir D. Seleznev
2017-11-04 23:03                               ` Vladimir D. Seleznev
2017-11-07 16:30                                 ` Vladimir D. Seleznev
2018-07-15 17:07                                     ` Igor Vlasenko
2019-06-13  6:24                                           ` Dmitry V. Levin
2019-06-14  9:54                                             ` Dmitry V. Levin
2019-06-14 18:25                                               ` Vladimir D. Seleznev

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=20171010042145.GB22156@portlab \
    --to=vseleznv@altlinux.org \
    --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