[gnome-build-meta/matthiasc/41.7: 2/4] Add aliases and mirrors




commit d23db22883e5b69571a2667572af784f97cb12be
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 31 07:12:19 2022 -0400

    Add aliases and mirrors
    
    Copy the aliases and mirrors setup from master, so we
    can stop relying on people.gnome.org for libcanberra.

 include/aliases.yml | 57 +++++++++++++++++++++++++++++++++++
 include/mirrors.yml | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 project.conf        |  2 ++
 3 files changed, 146 insertions(+)
---
diff --git a/include/aliases.yml b/include/aliases.yml
new file mode 100644
index 000000000..e14d873d3
--- /dev/null
+++ b/include/aliases.yml
@@ -0,0 +1,57 @@
+# Source aliases.
+#
+# These are used in the individual element.bst files in
+# place of specifying full uris.
+#
+# The location from where source code is downloaded can
+# be changed without triggering a rebuild.
+#
+aliases:
+  # file aliases (e.g. tarballs)
+  0pointer: https://0pointer.de/
+  boostorg: https://boostorg.jfrog.io/
+  cairo: https://cairographics.org/
+  cpan: https://cpan.metacpan.org/
+  crates: https://static.crates.io/
+  dbmx: https://dbmx.net/
+  debian_salsa: https://salsa.debian.org/
+  freedesktop_files: https://gitlab.freedesktop.org/
+  freedesktop_people: https://people.freedesktop.org/
+  freedesktop_software: https://www.freedesktop.org/software/
+  freerdp: https://pub.freerdp.com/
+  ftp_gnu_org: https://ftp.gnu.org/gnu/
+  gimp: https://download.gimp.org/pub/
+  github_files: https://github.com/
+  gitlab_files: https://gitlab.com/
+  gnome_downloads: https://download.gnome.org/sources/
+  gnupg: https://www.gnupg.org/
+  gstreamer: https://gstreamer.freedesktop.org/
+  kerberos: https://kerberos.org/
+  launchpad: https://launchpad.net/
+  libburnia: http://files.libburnia-project.org/releases/
+  libopenraw: https://libopenraw.freedesktop.org/
+  libraw: https://www.libraw.org/
+  libvirt: https://libvirt.org/sources/
+  linuxcontainers: https://linuxcontainers.org/downloads/
+  netfilter: https://www.netfilter.org/
+  openldap: https://openldap.org/
+  pagure_releases: https://releases.pagure.org/
+  pypi: https://files.pythonhosted.org/packages/
+  samba: https://download.samba.org/pub/
+  sourceforge: https://downloads.sourceforge.net/
+  spice: https://www.spice-space.org/download/
+  tcpdump: https://www.tcpdump.org/
+  tecnocode: https://tecnocode.co.uk/downloads/
+  thekelleys: http://www.thekelleys.org.uk/
+  videolan: https://download.videolan.org/
+  webkitgtk: https://webkitgtk.org/releases/
+  wpewebkit: https://wpewebkit.org/releases/
+
+  # git aliases go here
+  freedesktop: https://gitlab.freedesktop.org/
+  github: https://github.com/
+  gitlab: https://gitlab.com/
+  gnome: https://gitlab.gnome.org/GNOME/
+  gnome_gitlab: https://gitlab.gnome.org/
+  kernel: https://git.kernel.org/pub/scm/
+  purism: https://source.puri.sm/
diff --git a/include/mirrors.yml b/include/mirrors.yml
new file mode 100644
index 000000000..4aca56eaf
--- /dev/null
+++ b/include/mirrors.yml
@@ -0,0 +1,87 @@
+mirrors:
+- name: kernel_org
+  aliases:
+    ftp_gnu_org:
+    - https://mirrors.kernel.org/
+- name: gnome
+  aliases:
+    0pointer:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/0pointer_de/tar-files/-/raw/master/
+    boostorg:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/boostorg_jfrog_io/tar-files/-/raw/master/
+    cairo:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/cairographics_org/tar-files/-/raw/master/
+    cpan:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/cpan_metacpan_org/tar-files/-/raw/master/
+    crates:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/static_crates_io/tar-files/-/raw/master/
+    dbmx:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/fallabs_com/tar-files/-/raw/master/
+    debian_salsa:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/salsa_debian_org/tar-files/-/raw/master/
+    freedesktop:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_freedesktop_org/
+    freedesktop_files:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_freedesktop_org/tar-files/-/raw/master/
+    freedesktop_software:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_freedesktop_org/tar-files/-/raw/master/software/
+    freerdp:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/pub_freerdp_com/tar-files/-/raw/master/
+    ftp_gnu_org:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/ftp_gnu_org/tar-files/-/raw/master/gnu/
+    github:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/github_com/
+    github_files:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/github_com/tar-files/-/raw/master/
+    gitlab:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_com/
+    gitlab_files:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_com/tar-files/-/raw/master/
+    gnupg:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_gnupg_org/tar-files/-/raw/master/
+    gstreamer:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gstreamer_freedesktop_org/tar-files/-/raw/master/
+    kerberos:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/kerberos_org/tar-files/-/raw/master/
+    kernel:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/git_kernel_org/pub/scm/
+    launchpad:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/launchpad_net/tar-files/-/raw/master/
+    libburnia:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/files_libburnia-project_org/tar-files/-/raw/master/releases/
+    libopenraw:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/libopenraw_freedesktop_org/tar-files/-/raw/master/
+    libraw:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_libraw_org/tar-files/-/raw/master/
+    libvirt:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/libvirt_org/tar-files/-/raw/master/sources/
+    linuxcontainers:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/linuxcontainers_org/tar-files/-/raw/master/downloads/
+    netfilter:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/ftp_netfilter_org/tar-files/-/raw/master/
+    openldap:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/openldap_org/tar-files/-/raw/master/
+    pagure_releases:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/releases_pagure_org/tar-files/-/raw/master/
+    purism:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/source_puri_sm/
+    pypi:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/files_pythonhosted_org/tar-files/-/raw/master/packages/
+    samba:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files/-/raw/master/pub/
+    sourceforge:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/downloads_sourceforge_net/tar-files/-/raw/master/
+    spice:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_spice-space_org/tar-files/-/raw/master/download/
+    tecnocode:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/tecnocode_co_uk/tar-files/-/raw/master/downloads/
+    tcpdump:
+    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_tcpdump_org/tar-files/-/raw/master/
+    thekelleys:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/www_thekelleys_org_uk/tar-files/-/raw/master/
+    videolan:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/download_videolan_org/tar-files/-/raw/master/
+    webkitgtk:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/webkitgtk_org/tar-files/-/raw/master/releases/
+    wpewebkit:
+    - 
https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/wpewebkit_org/tar-files/-/raw/master/releases/
diff --git a/project.conf b/project.conf
index 15a0d3ef9..213099e24 100644
--- a/project.conf
+++ b/project.conf
@@ -19,6 +19,8 @@ fatal-warnings:
 
 (@):
 - freedesktop-sdk.bst:include/strip.yml
+- include/aliases.yml
+- include/mirrors.yml
 
 # Options to specify for the project, these provide
 # command line switches which control the behavior of


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