From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [drm-rerere PATCH 1/2] nightly.conf: add url lists to all repos
Date: Fri, 6 Oct 2017 12:40:31 +0300 [thread overview]
Message-ID: <20171006094032.22695-1-jani.nikula@intel.com> (raw)
dim has supported picking up the first match from a list of urls since
61df7dc31c63 ("dim: allow a space separated list of URLs for each repo
in drm_tip_repos"). This way we don't have to have a complicated set of
rules for converting between ssh, git and https protocol URLs, and we
can configure the preferred URLs with /drm/ in them while retaining
backwards compatibility for URLs without /drm/.
https://cgit.freedesktop.org/ does not list https:// URLs for drm-amd or
drm-upstream, so don't add them yet.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
nightly.conf | 41 ++++++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 7 deletions(-)
diff --git a/nightly.conf b/nightly.conf
index d2bcd3ebec53..b826c9c194d2 100644
--- a/nightly.conf
+++ b/nightly.conf
@@ -1,18 +1,45 @@
-# drm-intel-nightly configuration
+# drm-tip configuration
#
# sourced as a bash script from dim
#
-# drm-tip <repo> to <url> associative array (declared in dim)
+# drm-tip <repo> to <url list> associative array (declared in dim)
#
# <repo> (the key) is a symbolic name used for drm_tip_config, must match
# [a-z-]+
#
-drm_tip_repos[drm-intel]="ssh://git.freedesktop.org/git/drm-intel"
-drm_tip_repos[drm-misc]="ssh://git.freedesktop.org/git/drm-misc"
-drm_tip_repos[drm-amd]="ssh://git.freedesktop.org/git/drm/drm-amd"
-drm_tip_repos[drm-upstream]="git://people.freedesktop.org/~airlied/linux"
-drm_tip_repos[sound-upstream]="git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git"
+# <url list> (the value) is a space separated list of accepted URLs in order of
+# preference
+#
+# dim users may freely choose the remote names and URLs from this list.
+#
+drm_tip_repos[drm-intel]="
+ssh://git.freedesktop.org/git/drm/drm-intel
+ssh://git.freedesktop.org/git/drm-intel
+git://anongit.freedesktop.org/drm/drm-intel
+git://anongit.freedesktop.org/drm-intel
+https://anongit.freedesktop.org/git/drm/drm-intel.git
+"
+drm_tip_repos[drm-misc]="
+ssh://git.freedesktop.org/git/drm/drm-misc
+ssh://git.freedesktop.org/git/drm-misc
+git://anongit.freedesktop.org/drm/drm-misc
+git://anongit.freedesktop.org/drm-misc
+https://anongit.freedesktop.org/git/drm/drm-misc.git
+"
+drm_tip_repos[drm-amd]="
+ssh://git.freedesktop.org/git/drm/drm-amd
+git://anongit.freedesktop.org/drm/drm-amd
+"
+drm_tip_repos[drm-upstream]="
+ssh://people.freedesktop.org/~airlied/linux
+git://people.freedesktop.org/~airlied/linux
+"
+drm_tip_repos[sound-upstream]="
+git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
+https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
+https://kernel.googlesource.com/pub/scm/linux/kernel/git/tiwai/sound.git
+"
#
# drm-tip branch configuration array (declared in dim)
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2017-10-06 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 9:40 Jani Nikula [this message]
2017-10-06 9:40 ` [drm-rerere PATCH 2/2] nightly.conf: add drm-tip and linux-upstream to drm_tip_repos Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171006094032.22695-1-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox