public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: [DISCUSSION] Mirror implementation with isar-bootstrap
Date: Fri, 13 Apr 2018 12:33:38 +0200	[thread overview]
Message-ID: <20180413103338.GB6488@yssyq.radix50.net> (raw)
In-Reply-To: <0fd2cd66-a689-febc-ebb6-2690fb4ba0fb@siemens.com>

On Thu, Apr 12, 2018 at 05:13:00PM +0200, Claudius Heine wrote:
> I didn't suggest changing the mirror here, its just a short report about my
> research in Debian/Ubuntu-native solutions.

Sorry for the confusion. Yes, I got your point. Then, I shared our past
experience with httpredir, just to inform people.


> Your method would also have the disadvantage of being much less flexible if
> multiple repositories are used. (Convenient support for multiple
> repositories is one of my reasons for doing all this debootstrapizations.)

With multiple repos, multiple vars would be necessary. Whether it's
inconvenient is a matter of taste. For me, overriding an additive templace in a
config is easier to understand than sedding on the fly without leaving a trail
for the user what exactly has been done; but as already mentioned, mimicking
the upstream has other advantages. So, no objection here.

Before I dig into the upstream docs: Your patch implements the same syntax as
the upstream PREMIRRORS, no?


> What I meant is that such a search and replace method might accidentally
> overwrite Mirrors you didn't want to change.
> 
> For example if you use Debian stretch and jessie repos on the same image.
> The reason doing so might be because you want to use specific packages from
> stretch, but have all other files from jessie.
> For some reason your internal mirror just provides a mirror of the stretch
> distribution. Now its difficult to overwrite just that one entry where
> stretch is used and leave the jessie one in place.
> 
> I disregarded those scenarios with the current patch, but it should be
> possible to change it in a later version if the need arise.

Ah, now I see. I think this is good enough for now.


> No. Matching a whole source list line is to complicated, matching just some
> parts of it makes things easier. I would call myself reasonable experienced
> with regexes, but that format and how it is understood is a bit too much:
...
> Doing the same with one regex is much more painful.

Ok.


With kind regards,
Baurzhan.

  reply	other threads:[~2018-04-13 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-09 12:03 Claudius Heine
2018-04-12 14:12 ` Baurzhan Ismagulov
2018-04-12 15:13   ` Claudius Heine
2018-04-13 10:33     ` Baurzhan Ismagulov [this message]
2018-04-13 10:56       ` Claudius Heine
2018-04-13 11:25         ` Baurzhan Ismagulov

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=20180413103338.GB6488@yssyq.radix50.net \
    --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