[Libosinfo] [osinfo-db PATCH 1/4] centos: Remove URLs pointing to vault.centos.org

Fabiano Fidêncio fidencio at redhat.com
Mon Sep 24 11:43:31 UTC 2018


On Mon, Sep 24, 2018 at 1:33 PM Christophe Fergeau <cfergeau at redhat.com> wrote:
>
> On Fri, Sep 21, 2018 at 04:05:09PM +0200, Fabiano Fidêncio wrote:
> > As vault.centos.org doesn't keep any ISO anymore, let's just remove them
> > from our db.
> >
> > Along with the URLs removal, let's remove together the tree's as those
> > can't be accessed without a valid URL.
>
> Trying to access the ISOs gives a text message instead of the ISO saying
> to refer to external mirrors in order to save bandwidth, so it indeed
> seems there are no canonical URL we can give in osinfo-db for now.
> However, the tree data is still there, and downloading repo metadata or
> rpm packages seem to still be working, so I would think we can keep the
> tree data in the xml file.

Although the tree data is still there I've been told (on #centos-devel):
"so in short, if some program links to vault, it's most likely not a
good idea and may not even work"

And that's the main reason I think we should just remove those altogether.

>
> Christophe
>
> >
> > Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> > ---
> >  data/os/centos.org/centos-6.6.xml.in | 23 -----------------------
> >  data/os/centos.org/centos-6.7.xml.in | 27 ---------------------------
> >  data/os/centos.org/centos-6.8.xml.in | 27 ---------------------------
> >  data/os/centos.org/centos-6.9.xml.in | 25 -------------------------
> >  4 files changed, 102 deletions(-)
> >
> > diff --git a/data/os/centos.org/centos-6.6.xml.in b/data/os/centos.org/centos-6.6.xml.in
> > index 546ff5e..41b2647 100644
> > --- a/data/os/centos.org/centos-6.6.xml.in
> > +++ b/data/os/centos.org/centos-6.6.xml.in
> > @@ -16,7 +16,6 @@
> >
> >      <!-- DVD -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.6_Final</volume-id>
> > @@ -26,7 +25,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.6_Final</volume-id>
> > @@ -38,7 +36,6 @@
> >
> >      <!-- Minimal Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.6_Final</volume-id>
> > @@ -48,7 +45,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.6_Final</volume-id>
> > @@ -60,7 +56,6 @@
> >
> >      <!-- Network Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.6/isos/i386/CentOS-6.6-i386-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -70,7 +65,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.6/isos/x86_64/CentOS-6.6-x86_64-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -80,23 +74,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >
> > -    <tree arch="i686">
> > -      <url>http://vault.centos.org/6.6/os/i386</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.6</version>
> > -        <arch>i386</arch>
> > -      </treeinfo>
> > -    </tree>
> > -    <tree arch="x86_64">
> > -      <url>http://vault.centos.org/6.6/os/x86_64</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.6</version>
> > -        <arch>x86_64</arch>
> > -      </treeinfo>
> > -    </tree>
> > -
> >      <resources arch="all">
> >        <minimum>
> >          <n-cpus>1</n-cpus>
> > diff --git a/data/os/centos.org/centos-6.7.xml.in b/data/os/centos.org/centos-6.7.xml.in
> > index cd0e1dc..13b053a 100644
> > --- a/data/os/centos.org/centos-6.7.xml.in
> > +++ b/data/os/centos.org/centos-6.7.xml.in
> > @@ -16,7 +16,6 @@
> >
> >      <!-- DVD -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.7_Final</volume-id>
> > @@ -26,7 +25,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.7_Final</volume-id>
> > @@ -38,7 +36,6 @@
> >
> >      <!-- Live CD -->
> >      <media arch="i686" live="true">
> > -      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-LiveCD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.7-i386-LiveCD</volume-id>
> > @@ -47,7 +44,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64" live="true">
> > -      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-LiveCD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.7-x86_64-LiveCD</volume-id>
> > @@ -58,7 +54,6 @@
> >
> >      <!-- Live DVD -->
> >      <media arch="i686" live="true">
> > -      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.7-i386-LiveDVD</volume-id>
> > @@ -67,7 +62,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64" live="true">
> > -      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.7-x86_64-LiveDVD</volume-id>
> > @@ -78,7 +72,6 @@
> >
> >      <!-- Minimal Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.7_Final</volume-id>
> > @@ -88,7 +81,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.7_Final</volume-id>
> > @@ -100,7 +92,6 @@
> >
> >      <!-- Network Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.7/isos/i386/CentOS-6.7-i386-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -110,7 +101,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.7/isos/x86_64/CentOS-6.7-x86_64-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -120,23 +110,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >
> > -    <tree arch="i686">
> > -      <url>http://vault.centos.org/6.7/os/i386</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.7</version>
> > -        <arch>i386</arch>
> > -      </treeinfo>
> > -    </tree>
> > -    <tree arch="x86_64">
> > -      <url>http://vault.centos.org/6.7/os/x86_64</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.7</version>
> > -        <arch>x86_64</arch>
> > -      </treeinfo>
> > -    </tree>
> > -
> >      <resources arch="all">
> >        <minimum>
> >          <n-cpus>1</n-cpus>
> > diff --git a/data/os/centos.org/centos-6.8.xml.in b/data/os/centos.org/centos-6.8.xml.in
> > index b41c48e..282b93e 100644
> > --- a/data/os/centos.org/centos-6.8.xml.in
> > +++ b/data/os/centos.org/centos-6.8.xml.in
> > @@ -16,7 +16,6 @@
> >
> >      <!-- DVD -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.8/isos/i386/CentOS-6.8-i386-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.8_Final</volume-id>
> > @@ -26,7 +25,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.8/isos/x86_64/CentOS-6.8-x86_64-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.8_Final</volume-id>
> > @@ -38,7 +36,6 @@
> >
> >      <!-- Live CD -->
> >      <media arch="i686" live="true">
> > -      <url>http://vault.centos.org/6.8/isos/i386/CentOS-6.8-i386-LiveCD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.8-i386-LiveCD</volume-id>
> > @@ -47,7 +44,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64" live="true">
> > -      <url>http://vault.centos.org/6.8/isos/x86_64/CentOS-6.8-x86_64-LiveCD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.8-x86_64-LiveCD</volume-id>
> > @@ -58,7 +54,6 @@
> >
> >      <!-- Live DVD -->
> >      <media arch="i686" live="true">
> > -      <url>http://vault.centos.org/6.8/isos/i386/CentOS-6.8-i386-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.8-i386-LiveDVD</volume-id>
> > @@ -68,7 +63,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64" live="true">
> > -      <url>http://vault.centos.org/6.8/isos/x86_64/CentOS-6.8-x86_64-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.8-x86_64-LiveDVD</volume-id>
> > @@ -80,7 +74,6 @@
> >
> >      <!-- Minimal Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.8/isos/i386/CentOS-6.8-i386-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.8_Final</volume-id>
> > @@ -90,7 +83,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.8_Final</volume-id>
> > @@ -102,7 +94,6 @@
> >
> >      <!-- Network Installer -->
> >      <media arch="i686">
> > -      <url>http://vault.centos.org/6.8/isos/i386/CentOS-6.8-i386-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -112,7 +103,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://vault.centos.org/6.8/isos/x86_64/CentOS-6.8-x86_64-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -122,23 +112,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >
> > -    <tree arch="i686">
> > -      <url>http://vault.centos.org/6.8/os/i386</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.8</version>
> > -        <arch>i386</arch>
> > -      </treeinfo>
> > -    </tree>
> > -    <tree arch="x86_64">
> > -      <url>http://vault.centos.org/6.8/os/x86_64</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.8</version>
> > -        <arch>x86_64</arch>
> > -      </treeinfo>
> > -    </tree>
> > -
> >      <resources arch="all">
> >        <minimum>
> >          <n-cpus>1</n-cpus>
> > diff --git a/data/os/centos.org/centos-6.9.xml.in b/data/os/centos.org/centos-6.9.xml.in
> > index 98c86bb..4619756 100644
> > --- a/data/os/centos.org/centos-6.9.xml.in
> > +++ b/data/os/centos.org/centos-6.9.xml.in
> > @@ -16,7 +16,6 @@
> >
> >      <!-- DVD -->
> >      <media arch="i686">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/i386/CentOS-6.9-i386-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.9_Final</volume-id>
> > @@ -26,7 +25,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/x86_64/CentOS-6.9-x86_64-bin-DVD1.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.9_Final</volume-id>
> > @@ -38,7 +36,6 @@
> >
> >      <!-- Live DVD -->
> >      <media arch="i686" live="true">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/i386/CentOS-6.9-i386-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.9-i386-LiveDVD</volume-id>
> > @@ -48,7 +45,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64" live="true">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/x86_64/CentOS-6.9-x86_64-LiveDVD.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS-6.9-x86_64-LiveDVD</volume-id>
> > @@ -60,7 +56,6 @@
> >
> >      <!-- Minimal Installer -->
> >      <media arch="i686">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/i386/CentOS-6.9-i386-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.9_Final</volume-id>
> > @@ -70,7 +65,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/x86_64/CentOS-6.9-x86_64-minimal.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS_6.9_Final</volume-id>
> > @@ -82,7 +76,6 @@
> >
> >      <!-- Network Installer -->
> >      <media arch="i686">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/i386/CentOS-6.9-i386-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -92,7 +85,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >      <media arch="x86_64">
> > -      <url>http://mirror.centos.org/centos/6.9/isos/x86_64/CentOS-6.9-x86_64-netinstall.iso</url>
> >        <iso>
> >          <system-id>LINUX</system-id>
> >          <volume-id>CentOS</volume-id>
> > @@ -102,23 +94,6 @@
> >        <initrd>isolinux/initrd.img</initrd>
> >      </media>
> >
> > -    <tree arch="i686">
> > -      <url>http://vault.centos.org/6.9/os/i386/</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.9</version>
> > -        <arch>i386</arch>
> > -      </treeinfo>
> > -    </tree>
> > -    <tree arch="x86_64">
> > -      <url>http://vault.centos.org/6.9/os/x86_64/</url>
> > -      <treeinfo>
> > -        <family>CentOS</family>
> > -        <version>6.9</version>
> > -        <arch>x86_64</arch>
> > -      </treeinfo>
> > -    </tree>
> > -
> >      <resources arch="all">
> >        <minimum>
> >          <n-cpus>1</n-cpus>
> > --
> > 2.17.1
> >
> > _______________________________________________
> > Libosinfo mailing list
> > Libosinfo at redhat.com
> > https://www.redhat.com/mailman/listinfo/libosinfo




More information about the Libosinfo mailing list