[gnome-build-meta/jjardon/ellisb/utilise-mirrors: 1/10] Move aliases and mirrors into separate file




commit d23aa5b68036897a2caa53c2001188e2f0a74224
Author: Ellis Barnwell <ellis barnwell codethink co uk>
Date:   Tue Nov 30 13:28:09 2021 +0000

    Move aliases and mirrors into separate file

 include/aliases.yml | 30 ++++++++++++++++++++++++++++++
 include/mirrors.yml |  6 ++++++
 project.conf        | 39 ++-------------------------------------
 3 files changed, 38 insertions(+), 37 deletions(-)
---
diff --git a/include/aliases.yml b/include/aliases.yml
new file mode 100644
index 000000000..567b44d69
--- /dev/null
+++ b/include/aliases.yml
@@ -0,0 +1,30 @@
+# 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.
+#
+gnome_downloads: https://download.gnome.org/sources/
+cairo_org: https://cairographics.org/
+cdn_kernel_org: https://cdn.kernel.org/pub/
+downloads.sourceforge.net: https://downloads.sourceforge.net/
+ftp_gnu_org: https://ftp.gnu.org/gnu/
+git_code_sf_net: https://git.code.sf.net/
+git_freedesktop_org: https://gitlab.freedesktop.org/
+github_com: https://github.com/
+gitlab_com: https://gitlab.com/
+gitlab_gnome_org: https://gitlab.gnome.org/
+gnome_download: https://download.gnome.org/
+gstreamer: https://gstreamer.freedesktop.org/src/
+icon_theme_freedesktop_org: https://icon-theme.freedesktop.org/releases/
+iso_codes: https://pkg-isocodes.alioth.debian.org/downloads/
+libburnia: http://files.libburnia-project.org/releases/
+people_freedesktop_org: https://people.freedesktop.org/
+purism: https://source.puri.sm/
+qqwing: https://qqwing.com/
+sourceforge_net: https://sourceforge.net/projects/
+spice: https://www.spice-space.org/download/
+tarballs_needing_help: https://people.gnome.org/~mcatanzaro/tarballs-needing-help/
+webkitgtk_org: https://webkitgtk.org/releases/
\ No newline at end of file
diff --git a/include/mirrors.yml b/include/mirrors.yml
new file mode 100644
index 000000000..92e0134bb
--- /dev/null
+++ b/include/mirrors.yml
@@ -0,0 +1,6 @@
+github_com:
+- https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/github_com/
+gitlab_com:
+- https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_com/
+purism:
+- https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/source_puri_sm/
\ No newline at end of file
diff --git a/project.conf b/project.conf
index b1c72de1d..0ad7d3c0d 100644
--- a/project.conf
+++ b/project.conf
@@ -41,38 +41,8 @@ options:
     default: false
     description: mount host resources similar to toolbox
 
-
-# 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:
-  gnome_downloads: https://download.gnome.org/sources/
-  cairo_org: https://cairographics.org/
-  cdn_kernel_org: https://cdn.kernel.org/pub/
-  downloads.sourceforge.net: https://downloads.sourceforge.net/
-  ftp_gnu_org: https://ftp.gnu.org/gnu/
-  git_code_sf_net: https://git.code.sf.net/
-  git_freedesktop_org: https://gitlab.freedesktop.org/
-  github_com: https://github.com/
-  gitlab_com: https://gitlab.com/
-  gitlab_gnome_org: https://gitlab.gnome.org/
-  gnome_download: https://download.gnome.org/
-  gstreamer: https://gstreamer.freedesktop.org/src/
-  icon_theme_freedesktop_org: https://icon-theme.freedesktop.org/releases/
-  iso_codes: https://pkg-isocodes.alioth.debian.org/downloads/
-  libburnia: http://files.libburnia-project.org/releases/
-  people_freedesktop_org: https://people.freedesktop.org/
-  purism: https://source.puri.sm/
-  qqwing: https://qqwing.com/
-  sourceforge_net: https://sourceforge.net/projects/
-  spice: https://www.spice-space.org/download/
-  tarballs_needing_help: https://people.gnome.org/~mcatanzaro/tarballs-needing-help/
-  webkitgtk_org: https://webkitgtk.org/releases/
+  (@): include/aliases.yml
 
 mirrors:
 - name: kernel_org
@@ -81,12 +51,7 @@ mirrors:
     - https://mirrors.kernel.org/gnu/
 - name: gnome
   aliases:
-    github_com:
-    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/github_com/
-    gitlab_com:
-    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/gitlab_com/
-    purism:
-    - https://gitlab.gnome.org/Infrastructure/Mirrors/lorry-mirrors/source_puri_sm/
+    (@): include/mirrors.yml
 
 # Some overrides to the default sandbox execution environment
 #


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