ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <alexey.tourbin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] synchronized subtask rebuild & disttags way too strict
Date: Mon, 27 Apr 2020 09:25:23 +0300
Message-ID: <CA+qzenmADwB-8m-fD-t_1EOFvwOqbFnZCta_j39wCDKnuAtSZA@mail.gmail.com> (raw)

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.)


                 reply	other threads:[~2020-04-27  6:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CA+qzenmADwB-8m-fD-t_1EOFvwOqbFnZCta_j39wCDKnuAtSZA@mail.gmail.com \
    --to=alexey.tourbin@gmail.com \
    --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