public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCHv3] dpkg-base: derive "Package" and "Architecture" from .deb in cleanup
Date: Tue, 2 Apr 2019 17:31:04 +0200	[thread overview]
Message-ID: <20190402153104.GW1437@yssyq.m.ilbers.de> (raw)
In-Reply-To: <20190328185056.61434442@md1za8fc.ad001.siemens.net>

On Thu, Mar 28, 2019 at 06:50:56PM +0100, Henning Schild wrote:
> > IMHO, it's unclear who is "you" in the commit message. I'd suggest to
> > reword in a more neutral form, e.g.:
...
> Ok, you or Maxim can fix that on merge.

Ok, thanks.


> I hope it is clear who you is ;).

Not for some other user reading the commit message later.

And if you actually address a specific person, I'd ask to avoid that in the
future. We need the description of the problem and of the solution -- in this
patch you got both well. Fingerpointing doesn't contribute to the project.


> > How can one reproduce the problem? I'd like to understand the cause
> > because at the first glance I'd think an _all.deb package should land
> > in the pool only once.
> 
> That is written in the commit message.

I wanted to ensure I got the context correctly, e.g. 1. whether isar-apt or
base-apt (assuming the former) and 2. local.conf or multiconfig (assuming the
former).


> A deployment of "all" will not deploy one .deb of arch "all" but it
> will deploy n .debs of all the archs enabled in the repo.
> So on deploy of "all" from arm into a "arm, arm64, x86" repo you will
> get three copies. The next deploy from x86 will write all three again,
> same for arm64. But they are all the same and just get written 3 times.

Thanks for explaining, this was clear enough from the commit message. It's the
3 copies that I'd expected to be one.


> The easiest way to just get to the "broken" clean is to build an "all"
> package. Deploy it and repo_clean it, you should still see it in the
> other archs ...

Thanks, I'll try.


> That also means we must never use the repo while another arch deploys
> into it because we get sharing over "all".

My understanding was that we lock reprepro to avoid this. Or am I missing
anything?


> That is a severe problem if
> you have "all" packages and use multiconf. My suggestion would be to
> avoid both ;).

"all" is in Debian and we have to handle it. We should also support local.conf,
although I haven't tried it for a long time.


> However that issue should be documented or fixed for people who care about
> multiconfig ;).

I'd look first whether having the 3 copies is correct.


> I agree and i am the one constantly asking for tests. All the
> rebuilding patches that got merged so far are not covered by tests. I
> guess some tests that trigger partial rebuilds would be needed. But
> that is probably out of scope of this patch.
> 
> Yes we need tests for new features. Tests for corner-case bugfixes ...
> would be handy but holding back bug-fixes for it?

That was a general wish, also for the mentioned rebuilding patches. No, missing
test case isn't a blocker for me. It would just speed up testing -- even your
temporary manual test case (beyond providing the longer-term quality, that is).


With kind regards,
Baurzhan.

  reply	other threads:[~2019-04-02 15:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 15:56 Henning Schild
2019-02-21 15:59 ` Henning Schild
2019-03-27 15:45 ` Henning Schild
2019-03-28 11:03 ` Baurzhan Ismagulov
2019-03-28 17:50   ` Henning Schild
2019-04-02 15:31     ` Baurzhan Ismagulov [this message]
2019-04-12 12:10       ` Henning Schild
2019-04-16 18:20         ` Baurzhan Ismagulov
2019-04-17  6:14           ` Baurzhan Ismagulov
2019-04-17 12:14     ` Baurzhan Ismagulov
2019-05-20 10:27 ` Henning Schild
2019-05-20 13:48 ` Maxim Yu. Osipov

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=20190402153104.GW1437@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox