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




commit 32102c567ba2e63fc37136780e998de89d0337e5
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 | 31 +++++++++++++++++++++++++++++++
 include/mirrors.yml | 13 +++++++++++++
 project.conf        | 47 ++---------------------------------------------
 3 files changed, 46 insertions(+), 45 deletions(-)
---
diff --git a/include/aliases.yml b/include/aliases.yml
new file mode 100644
index 000000000..28d648b8e
--- /dev/null
+++ b/include/aliases.yml
@@ -0,0 +1,31 @@
+# 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/
\ No newline at end of file
diff --git a/include/mirrors.yml b/include/mirrors.yml
new file mode 100644
index 000000000..6d571a654
--- /dev/null
+++ b/include/mirrors.yml
@@ -0,0 +1,13 @@
+mirrors:
+- name: kernel_org
+  aliases:
+    ftp_gnu_org:
+    - 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/
\ No newline at end of file
diff --git a/project.conf b/project.conf
index b1c72de1d..59d1f7c6b 100644
--- a/project.conf
+++ b/project.conf
@@ -41,52 +41,9 @@ options:
     default: false
     description: mount host resources similar to toolbox
 
+(@): include/aliases.yml
 
-# 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/
-
-mirrors:
-- name: kernel_org
-  aliases:
-    ftp_gnu_org:
-    - 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]