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] disttag в src.rpm
Date: Thu, 15 Aug 2019 20:33:27 +0300
Message-ID: <20190815173327.GA6576@portlab> (raw)
In-Reply-To: <afc2ee3f-c2e3-832b-e092-79ac3f7fb1c1@basealt.ru>

On Thu, Aug 15, 2019 at 06:38:18PM +0300, Anton Farygin wrote:
> On 15.08.2019 18:16, Dmitry V. Levin wrote:
> 
> >
> > Вычислить соответствие между именем исходного пакета и disttag, который
> > получили все бинарные пакеты, собранные в данный репозиторий из этого
> > исходного пакета, совсем не сложно.
> 
> Но это невозможно сделать имея только исходные пакеты.
> 
> Сейчас src.rpm меняется по каждому поводу, туда можно было бы запросто 
> положить disttag.

На самом деле нужно понимать, как у нас работает disttag. У нас в
пакетах disttag состоит из двух частей, разделённых символом '+'. Первая
часть существенна, и она учитывается при сравнении версий пакетов, в ней
записано имя целевого бранча. Поэтому если вы будете собирать пакет со
значением disttag'а 'sisyphus+1', rpm будет считать, что по NEVRD он
совпадает с любым другим пакетом с таким же NEVR и значение disttag
'sisyphus+task.subtask.try.iter' с произвольными task.subtask.try.iter.
Т.е., при одинаковой первой части disttag'а rpm перейдёт к сравнению
buildtime'а.

Попробуйте сформулировать задачу, которую вы решаете.

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


  parent reply	other threads:[~2019-08-15 17:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 13:33 Anton Farygin
2019-08-15 13:42 ` Vladimir D. Seleznev
2019-08-15 13:50   ` Gleb Fotengauer-Malinovskiy
2019-08-15 14:47     ` Anton Farygin
2019-08-15 14:47   ` Anton Farygin
2019-08-15 15:16     ` Dmitry V. Levin
2019-08-15 15:38       ` Anton Farygin
2019-08-15 17:28         ` Dmitry V. Levin
2019-08-15 17:33         ` Vladimir D. Seleznev [this message]
2019-08-15 14:40 ` Alexey V. Vissarionov
2019-08-15 14:53   ` Oleg Solovyov

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=20190815173327.GA6576@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