Re: [PATCH osinfo-db] mageia: remove all download URLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

ACK.

On Fri, Aug 12, 2016 at 9:24 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> The download URLs in the mageia data files are not valid,
> since they just point to HTML pages which use javascript
> todo a magic redirect to the actual download site. This
> means that any app trying to fetch ISOs with URLs will
> just get HTML instead of the actual ISO.
>
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  data/os/mageia.org/mageia-1.xml.in | 17 -----------------
>  data/os/mageia.org/mageia-2.xml.in |  8 --------
>  data/os/mageia.org/mageia-3.xml.in | 14 --------------
>  3 files changed, 39 deletions(-)
>
> diff --git a/data/os/mageia.org/mageia-1.xml.in b/data/os/mageia.org/mageia-1.xml.in
> index 262d27f..197b291 100644
> --- a/data/os/mageia.org/mageia-1.xml.in
> +++ b/data/os/mageia.org/mageia-1.xml.in
> @@ -21,45 +21,28 @@
>      </devices>
>
>      <media arch="i686">
> -      <url>https://www.mageia.org/en/downloads/get/?q=mageia-1-dvd-i586</url>
>        <iso>
>          <volume-id>1-i586</volume-id>
>          <publisher-id>Mageia.Org</publisher-id>
>        </iso>
>      </media>
>      <media arch="i686">
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-cd-dualarch</url>
>        <iso>
>          <volume-id>mageia-dual-1</volume-id>
>        </iso>
>      </media>
>      <media arch="x86_64">
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-cd-dualarch</url>
>        <iso>
>          <volume-id>mageia-dual-1</volume-id>
>        </iso>
>      </media>
>      <media arch="x86_64">
> -      <url>https://www.mageia.org/en/downloads/get/?q=mageia-1-dvd-x86_64</url>
>        <iso>
>          <volume-id>1-x86_64</volume-id>
>          <publisher-id>Mageia.Org</publisher-id>
>        </iso>
>      </media>
>      <media live="true" arch="i686">
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-europe1-cd-i586</url>
> -<!--
> -      The Mageia project releases several live CD isos for different languages, but libosinfo
> -      currently only supports one <url> node per <media> node
> -
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-europe2-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-asia-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-kde-africa-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-europe1-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-europe2-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-asia-cd-i586</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=mageia-1-live-gnome-africa-cd-i586</url>
> --->
>        <iso>
>          <volume-id>Livecd-1-(GNOME|KDE)</volume-id>
>        </iso>
> diff --git a/data/os/mageia.org/mageia-2.xml.in b/data/os/mageia.org/mageia-2.xml.in
> index ba516c1..3a15c80 100644
> --- a/data/os/mageia.org/mageia-2.xml.in
> +++ b/data/os/mageia.org/mageia-2.xml.in
> @@ -13,19 +13,11 @@
>      <eol-date>2013-11-22</eol-date>
>
>      <media arch="i686">
> -      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-2-i586-DVD.iso</url>
> -<!--
> -      <url>http://www.mageia.org/en/downloads/get/?q=Mageia-2-dual-CD.iso</url>
> --->
>        <iso>
>          <volume-id>Mageia-2(-i586)?</volume-id>
>        </iso>
>      </media>
>      <media arch="x86_64">
> -      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-2-x86_64-DVD.iso</url>
> -<!--
> -      <url>http://www.mageia.org/en/downloads/get/?q=Mageia-2-dual-CD.iso</url>
> --->
>        <iso>
>          <volume-id>Mageia-2(-x86_64)?</volume-id>
>        </iso>
> diff --git a/data/os/mageia.org/mageia-3.xml.in b/data/os/mageia.org/mageia-3.xml.in
> index 8070ca0..1230d7e 100644
> --- a/data/os/mageia.org/mageia-3.xml.in
> +++ b/data/os/mageia.org/mageia-3.xml.in
> @@ -13,30 +13,16 @@
>      <eol-date>2014-11-19</eol-date>
>
>      <media arch="i686">
> -      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-3-i586-DVD.iso</url>
> -<!--
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-dual-CD.iso</url>
> --->
>        <iso>
>          <volume-id>Mageia-3(-i586)?</volume-id>
>        </iso>
>      </media>
>      <media arch="x86_64">
> -      <url>https://www.mageia.org/en/downloads/get/?q=Mageia-3-x86_64-DVD.iso</url>
> -<!--
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-dual-CD.iso</url>
> --->
>        <iso>
>          <volume-id>Mageia-3(-x86_64)?</volume-id>
>        </iso>
>      </media>
>      <media live="true" arch="i686">
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso</url>
> -<!--
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso</url>
> -      <url>http://www.mageia.org/fr/downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso</url>
> --->
>        <iso>
>          <volume-id>Mageia-3-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
>        </iso>
> --
> 2.7.4
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Regards,

Zeeshan Ali

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux