Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXxa3-0007Cm-3M for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 26 Jun 2018 23:41:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fXxa0-0002UP-FA for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 26 Jun 2018 23:41:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXxa0-0002UI-1Z for pgsql-pkg-yum@lists.postgresql.org; Tue, 26 Jun 2018 23:41:00 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXxZx-0003VD-6J for pgsql-pkg-yum@postgresql.org; Tue, 26 Jun 2018 23:40:58 +0000 Received: from asus-laptop04.gunduz.org (unknown [88.98.211.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id CEE7E3FD39; Tue, 26 Jun 2018 23:40:44 +0000 (UTC) Message-ID: <76dfe96c8abe24e76e0c8f27a1537ae9f8c811c2.camel@gunduz.org> Subject: Re: RPM Morgue From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Craig Ringer , pgsql-pkg-yum Date: Wed, 27 Jun 2018 00:40:54 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-5MUxuaGQfIj6skIHS0zD" X-Mailer: Evolution 3.28.3 (3.28.3-1.fc28) Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-5MUxuaGQfIj6skIHS0zD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Craig, On Mon, 2018-06-25 at 09:42 +0800, Craig Ringer wrote: > 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 ou= t > 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. >=20 > 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 sen= se > to help out with one for the community. >=20 > 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=3D5d) to index them. >=20 > So it doesn't upset https://yum.postgresql.org/, but > https://yum-archive.postgresql.org/ or whatever can keep a deep history o= f > packages. >=20 > 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 i= f > you go for infrequent access mode. >=20 > Thoughts? I'm not against keeping the old package, but there are two things: * We need to ask sysadmins team, because this means a lot of extra disk spa= ce. * Building older packages is not that hard with the RPMs as you know -- jus= t change the version number, and run make rpm11 (or whatever). I'm not sure t= hat keeping the old packages are worth the hassle. Again, I'm not against the idea as long as you can convince sysadmin team, = and also write scripts to pull the packages :) Cheers, --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-5MUxuaGQfIj6skIHS0zD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAlsyzwYACgkQ2MM9/pLP brUQZxAAs199jO0mEh+fqSOoDxiYIwKEeu0XvHnO3pgmfbWTfwnZYXV+zBCC8s6z 8f+3xKtAIWVN7553TUKIzYE2SJ9SUDC94t5D3Eqa/KRagdbUHL7vxMeFNK9SxegG ITkKpY65skDiYwE59zEul6vVgtgYNkw6U8Rhhwq2L5NqK+hpvlTRrEmVL6lfXnzo 6S8c2v57TjnAKFeAY/8L45aU4M/Lkj8aPaKvhZivoiTXzUqOGT7nDPKvUlby7XQ1 ELW8VI+5oUb0Ox97VGFoHO1HgDuSJuMdc/c2O43aZVleANixhj5bfmPdsZmnnSMx Ux2STiGM1rLSAkxM0Diyz84/sjCri73H8n/FWeKaFiphpmb9jZIkhY/ZbbQff5cA x3kXbg91PvrVWwW1j/cklYD5YZSaxg6ABBPEvvLYlQFr4eYQLT/pqy0iMBTq+KXK QskeqiV9r2yDkBNCmc+103RzeroWa41P8x5eg8gqYUDxXbT88B+2L4R2HQmaMC18 /PLQ1tUZpGw+EpC39sdJD9WYZjlgpBi6XMQyNzdFEMD+UrCoDDoW05geJkSg1Kvm NR+VEYFEDXYhL2kbIvQ/cSyTocxXJAfwzYGiNnmHyvfNQ+L9O+lw6irq36xOJtpC ccBUNwxoCVTQTWwqK0R5M9kgwdn04RIjnsk+Q5ADO2UehRHU9nw= =sxqX -----END PGP SIGNATURE----- --=-5MUxuaGQfIj6skIHS0zD--