pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: mike.burgener@zg.ch
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17672: Wrong logic of Postgresql Resporitory Naming and mirroring incompatibility
Date: Mon, 31 Oct 2022 13:18:51 +0100
Message-ID: <Y1+9K0H7G83fQTxr@msg.df7cb.de> (raw)
In-Reply-To: <17672-0cdbd95934fa4600@postgresql.org>
References: <17672-0cdbd95934fa4600@postgresql.org>

> Dear Postgresql Community, while trying to mirror your repository to a
> Canonical Landscape Server, i discovered that you don't follow the
> guidelines of the Repository Format.

Hi Mike,

do you have any references to these guidelines?

> I could not get landscape to mirror, as it quite strictly checks if the
> repository is in the correct format and it internaly reuses the
> $distribution name set earlier and globally as a variable value.

Did you try setting distribution to focal-pgdg? Then everything should
be consistent.

> Maybe a quick on your repository to fullfill the Repository format standard
> could be to link/bindmount
> 
> https://apt.postgresql.org/pub/repos/apt/dists/focal/ to
> https://apt.postgresql.org/pub/repos/apt/dists/focal-pgdg/ (stable)

That doesn't work as the Release file mentions the name as well and
apt will complain if it doesn't match.

> Another special case i discovered on your repositories, you are using the
> Postgres-Version name like
> https://apt.postgresql.org/pub/repos/apt/dists/focal-pgdg/12/ 
> actually that's not really needed, as your package-names for each major
> version seem to be different, you could just use
> https://apt.postgresql.org/pub/repos/apt/dists/focal/postgresql and have all
> versions like postgresql-12 postgresql-13 etc. in the same release file, as
> thats selectable by apt later for example with "apt install postgresql-12"
> "apt install postgresql-13"

Please see https://apt.postgresql.org/pub/repos/apt/pool/README for an
explanation.

> My suggestion to have a proper repository setup which follows the guidelines
> would be 
> 
> https://apt.postgresql.org/pub/repos/apt/dists/focal/postgresql

That would require you to set distribution = focal/postgresql. Is that
any better?

Christoph





view thread (2+ messages)

Message-ID: <Y1+9K0H7G83fQTxr@msg.df7cb.de>
Permalink:  ../Y1+9K0H7G83fQTxr@msg.df7cb.de/
Also on:    postgresql.org/message-id/Y1+9K0H7G83fQTxr@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: myon@debian.org, mike.burgener@zg.ch, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17672: Wrong logic of Postgresql Resporitory Naming and mirroring incompatibility
  In-Reply-To: <Y1+9K0H7G83fQTxr@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox