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

[Xen-devel] [OSSTEST PATCH 1/2] cri-common, ap-common: abstract out besteffort_repo



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 ap-common  |    2 +-
 cri-common |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ap-common b/ap-common
index bca0fea..895ad62 100644
--- a/ap-common
+++ b/ap-common
@@ -37,7 +37,7 @@
 : ${PUSH_TREE_LIBVIRT:=$XENBITS:/home/xen/git/libvirt.git}
 : ${BASE_TREE_LIBVIRT:=git://xenbits.xen.org/libvirt.git}
 
-: ${TREE_GNULIB_LIBVIRT:=$(cached_repo git://git.sv.gnu.org/gnulib.git 
\[fetch=try\])}
+: ${TREE_GNULIB_LIBVIRT:=$(besteffort_repo git://git.sv.gnu.org/gnulib.git)}
 
 : ${TREE_RUMPUSERXEN:=https://github.com/rumpkernel/rumpuser-xen}
 : ${TREEVCS_RUMPUSERXEN:=git}
diff --git a/cri-common b/cri-common
index 9cbf0d8..06a8d67 100644
--- a/cri-common
+++ b/cri-common
@@ -33,6 +33,11 @@ cached_repo () {
        fi
 }
 
+besteffort_repo () {
+       local repo=$1
+       cached_repo "$1" '[fetch=try]'
+}
+
 repo_tree_rev_fetch_git () {
        local treename=$1
        local remoteurl=$2
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.