From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: ian.campbell@eu.citrix.com, Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH] git urls: prefix with GIT_PROTO_PREFIX
Date: Tue, 23 Sep 2014 18:56:58 +0100 [thread overview]
Message-ID: <1411495018-25973-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
This allows the prefixing of all git clone and fetch URLs with
a single fixed string. This could be used to:
- clone from a local tree /path/to/something/git:/whatever/thing
- use a cacheing git proxy such as found in chiark-utils
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
Config.mk | 8 ++++----
tools/firmware/etherboot/Makefile | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Config.mk b/Config.mk
index 2bb8dcc..da417a9 100644
--- a/Config.mk
+++ b/Config.mk
@@ -252,10 +252,10 @@ QEMU_UPSTREAM_URL ?= http://xenbits.xen.org/git-http/qemu-upstream-unstable.git
QEMU_TRADITIONAL_URL ?= http://xenbits.xen.org/git-http/qemu-xen-unstable.git
SEABIOS_UPSTREAM_URL ?= http://xenbits.xen.org/git-http/seabios.git
else
-OVMF_UPSTREAM_URL ?= git://xenbits.xen.org/ovmf.git
-QEMU_UPSTREAM_URL ?= git://xenbits.xen.org/qemu-upstream-unstable.git
-QEMU_TRADITIONAL_URL ?= git://xenbits.xen.org/qemu-xen-unstable.git
-SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
+OVMF_UPSTREAM_URL ?= $(GIT_PROTO_PREFIX)git://xenbits.xen.org/ovmf.git
+QEMU_UPSTREAM_URL ?= $(GIT_PROTO_PREFIX)git://xenbits.xen.org/qemu-upstream-unstable.git
+QEMU_TRADITIONAL_URL ?= $(GIT_PROTO_PREFIX)git://xenbits.xen.org/qemu-xen-unstable.git
+SEABIOS_UPSTREAM_URL ?= $(GIT_PROTO_PREFIX)git://xenbits.xen.org/seabios.git
endif
OVMF_UPSTREAM_REVISION ?= 447d264115c476142f884af0be287622cd244423
QEMU_UPSTREAM_REVISION ?= master
diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile
index a0578d2..e67d862 100644
--- a/tools/firmware/etherboot/Makefile
+++ b/tools/firmware/etherboot/Makefile
@@ -7,7 +7,7 @@ include Config
ifeq ($(GIT_HTTP),y)
IPXE_GIT_URL ?= http://git.ipxe.org/ipxe.git
else
-IPXE_GIT_URL ?= git://git.ipxe.org/ipxe.git
+IPXE_GIT_URL ?= $(GIT_PROTO_PREFIX)git://git.ipxe.org/ipxe.git
endif
IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e
--
1.7.10.4
next reply other threads:[~2014-09-23 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 17:56 Ian Jackson [this message]
2014-09-24 8:35 ` [PATCH] git urls: prefix with GIT_PROTO_PREFIX Ian Campbell
2014-09-24 14:11 ` Ian Jackson
2014-09-24 14:17 ` Ian Campbell
2014-09-24 14:40 ` Ian Jackson
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=1411495018-25973-1-git-send-email-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=ian.campbell@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).