Skip to contentSkip to conversation

use absolute URLs for .gitmodules

PATCH Paolo Bonzini 3 participants 8 messages Mar 9, 2010 – Mar 10, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 947437890.3137451268151696623.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com

#1 lore raw
Quoted 8 lines
Quoted 8 lines
.gitmodules +0 -1
index dd4745e..5217ce7 100644
@@ -1,6 +1,6 @@
  [submodule "roms/vgabios"]
  	path = roms/vgabios
-	url = ../vgabios.git
Quoted 8 lines

.gitmodules line 6

Quoted 6 lines
.gitmodules +2 -1
+	url = git://git.qemu.org/vgabios.git/
  [submodule "roms/seabios"]
  	path = roms/seabios
-	url = ../seabios.git
+	url = git://git.qemu.org/seabios.git/

Relative URLs are more friendly for users of proxies.

Users of proxies can still customize their .git/config file. This bug caused (or contributed to) a real problem in the qemu-kvm releases (they do not include seabios/vgabios references).

Paolo

#2 lore raw
Quoted 17 lines · Paolo Bonzini
Quoted 8 lines
Quoted 8 lines
.gitmodules +0 -1
index dd4745e..5217ce7 100644
@@ -1,6 +1,6 @@
   [submodule "roms/vgabios"]
   	path = roms/vgabios
-	url = ../vgabios.git
Quoted 9 lines

.gitmodules line 6

Quoted 7 lines
.gitmodules +2 -1
+	url = git://git.qemu.org/vgabios.git/
   [submodule "roms/seabios"]
   	path = roms/seabios
-	url = ../seabios.git
+	url = git://git.qemu.org/seabios.git/

Relative URLs are more friendly for users of proxies.

Quoted 4 lines

Users of proxies can still customize their .git/config file. This bug caused (or contributed to) a real problem in the qemu-kvm releases (they do not include seabios/vgabios references).

That's odd because Avi's the one who has historically advocated relative URLs.

Regards,

Anthony Liguori

Quoted 2 lines

Paolo

#3 lore raw
Quoted 16 lines · Anthony Liguori
Quoted 15 lines · Paolo Bonzini
Quoted 15 lines
Quoted 6 lines
.gitmodules +0 -0
index dd4745e..5217ce7 100644

.gitmodules line 6

Quoted 8 lines
.gitmodules +2 -2
@@ -1,6 +1,6 @@
   [submodule "roms/vgabios"]
       path = roms/vgabios
-    url = ../vgabios.git
+    url = git://git.qemu.org/vgabios.git/
   [submodule "roms/seabios"]
       path = roms/seabios
-    url = ../seabios.git
+    url = git://git.qemu.org/seabios.git/

Relative URLs are more friendly for users of proxies.

Quoted 5 lines
Quoted 3 lines

Users of proxies can still customize their .git/config file. This bug caused (or contributed to) a real problem in the qemu-kvm releases (they do not include seabios/vgabios references).

That's odd because Avi's the one who has historically advocated relative URLs.

I can fix the reference problem by adding something to a README. Using an absolute URL means users behind firewalls cannot clone the submodules anymore without tinkering with git config files.

Signature · 1 line
error compiling committee.c: too many arguments to function
#4 lore raw
In reply to Anthony Liguori
Quoted 16 lines · Anthony Liguori
Quoted 15 lines · Paolo Bonzini
Quoted 15 lines
Quoted 5 lines
.gitmodules +0 -0
index dd4745e..5217ce7 100644
@@ -1,6 +1,6 @@
Quoted 9 lines

[submodule "roms/vgabios"]
path = roms/vgabios
- url = ../vgabios.git
+ url = git://git.qemu.org/vgabios.git/
[submodule "roms/seabios"]
path = roms/seabios
- url = ../seabios.git
+ url = git://git.qemu.org/seabios.git/

Relative URLs are more friendly for users of proxies.

Quoted 6 lines
Quoted 3 lines

Users of proxies can still customize their .git/config file. This bug caused (or contributed to) a real problem in the qemu-kvm releases (they do not include seabios/vgabios references).

That's odd because Avi's the one who has historically advocated relative URLs.

If we also get rid of the savannah git repo, or plan to do so, I have no issue with reverting this patch.

Paolo

#5 lore raw
Quoted 1 line · Paolo Bonzini

If we also get rid of the savannah git repo, or plan to do so, I have no issue with reverting this patch.

If someone can suggest a solution for mailing list hosting, I'd be happy to leave Savannah tomorrow.

I'm not overly eager to do a mailing list migration though so if we do the migration, we ought to ensure that we only have to do it once.

Savannah requires you to keep the main source repo on Savannah. We're currently mirroring the git tree on git.qemu.org so it is possible to clone directly from there.

Regards,

Anthony Liguori

Quoted 1 line

Paolo

#6 lore raw
Quoted 4 lines · Anthony Liguori
Quoted 1 line · Paolo Bonzini

If we also get rid of the savannah git repo, or plan to do so, I have no issue with reverting this patch.

If someone can suggest a solution for mailing list hosting, I'd be happy to leave Savannah tomorrow.

vger.kernel.org has been hassle free since we moved to it.

Signature · 1 line
error compiling committee.c: too many arguments to function
#7 lore raw
Quoted 7 lines · Avi Kivity
Quoted 4 lines · Anthony Liguori
Quoted 1 line · Paolo Bonzini

If we also get rid of the savannah git repo, or plan to do so, I have no issue with reverting this patch.

If someone can suggest a solution for mailing list hosting, I'd be happy to leave Savannah tomorrow.

vger.kernel.org has been hassle free since we moved to it.

Does anyone object to moving the mailing lists to vger.kernel.org?

We would then start pushing directly to git.qemu.org.

Regards,

Anthony Liguori

#8 lore raw
In reply to Anthony Liguori
Quoted 6 lines · Anthony Liguori
Quoted 3 lines

If we also get rid of the savannah git repo, or plan to do so, I have no issue with reverting this patch.

If someone can suggest a solution for mailing list hosting, I'd be happy to leave Savannah tomorrow.

There is still the problem that

"git.savannah.nongnu.org" qemu -site:savannah.nongnu.org

returns 6 times more hits than

"git.qemu.org" -site:qemu.org

On one hand, this would be in favor of keeping my patch (savannah users cannot get submodules correctly); on the other hand, it means that leaving Savannah is not so easy.

If you prefer that, go ahead and revert it.

Paolo