public inbox for [email protected]  
help / color / mirror / Atom feed
From: Craig Ringer <[email protected]>
To: Devrim Gündüz <[email protected]>
To: pgsql-pkg-yum <[email protected]>
Subject: RPM Morgue
Date: Mon, 25 Jun 2018 09:42:28 +0800
Message-ID: <CAMsr+YHGvn-7nyFUncdVHR_Q5i2Kc19jy_RAvmt-g9O5iMKUqg@mail.gmail.com> (raw)

Devrim, team:

The apt.postgresql.org crew have a package morgue for old versions at
atalia.postgresql.org/morgue/ . It's not a full repo, but you can fish out
needed packages manually and install them. This is a *lifesaver* when
trying to examine a core file a customer system where debuginfo wasn't
installed, or trying to reproduce a subtle version-specific issue.

Do you have anything like that? If not, do you have any interest in it? I'd
really like to get something like it going, and rather than creating one
in-house at 2ndQ where nobody else lands up benefiting, it might make sense
to help out with one for the community.

What I'm thinking of is a selective rsync to an archive repo, where
packages get copied but never get deleted, then createrepo_c runs in
incremental mode (--update --retain-old-md-by-age=5d) to index them.

So it doesn't upset https://yum.postgresql.org/, but
https://yum-archive.postgresql.org/ or whatever can keep a deep history of
packages.

An alternative is to ditch the repo indexing and use an AWS S3 bucket to
host an unindexed package slush pile, like the apt morgue. createrepo can't
run sensibly on s3-hosted files. But s3 is cheap - 2c/gb/month, or less if
you go for infrequent access mode.

Thoughts?

I can always set up my own mirror inhouse for 2ndQ, but I'd rather work
with you.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


view thread (8+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: RPM Morgue
  In-Reply-To: <CAMsr+YHGvn-7nyFUncdVHR_Q5i2Kc19jy_RAvmt-g9O5iMKUqg@mail.gmail.com>

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

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