ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] synchronized subtask rebuild & disttags way too strict
@ 2020-04-27  6:25 Alexey Tourbin
  0 siblings, 0 replies; only message in thread
From: Alexey Tourbin @ 2020-04-27  6:25 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Thu, Apr 23, 2020 at 10:21 PM Vladimir D. Seleznev
<vseleznv@altlinux.org> wrote:
> > I think we already have this problem: the decision to rebuild a
> > subtask is made locally (or rather remotely), per architecture. So
> > occasionally we've seen unmet dependencies due to disttag mismatch.
> > Has the problem been addressed?
>
> Hmm, I'll think about that.

For mixed-arch packages, with both arch and noarch subpackages, you
need a two-phase subtask rebuild. There will be two interactions with
the remotes.  The first phase is, "tell me if there is no need to
rebuild". You gather the answers for all architectures / from all
remotes. If all architectures report "no need to rebuild", there will
be no phase two. Otherwise, if at least one remote wants to rebuild,
then you ask all the remotes, "rebuild irregardless".

This all could have been avoided if you disttags were not so strict.
It can be argued that repo+task.subtask is just strict enough, at
least from the end user's point of view.  (On the other hand, it can
also be argued that repo+task.subtask.iter.subiter is the only "sure
way" to prevent mixing subpackages from different rebuilds.)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-27  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  6:25 [devel] synchronized subtask rebuild & disttags way too strict Alexey Tourbin

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