summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-03 04:48:46 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-08-28 17:26:58 +0200
commit8778cacddbaaccb49d6c13f8f43b643f1f1e3771 (patch)
tree306db09ac8841a1c1d8e6196e647c3b41904dfbb
parentfb150ff55e632deebd6c5847da5d853269d70b67 (diff)
downloadmanifest-8778cacddbaaccb49d6c13f8f43b643f1f1e3771.tar.gz
manifest-8778cacddbaaccb49d6c13f8f43b643f1f1e3771.tar.bz2
manifest-8778cacddbaaccb49d6c13f8f43b643f1f1e3771.zip
Handle fetch from contrib/replicant-next/ instead of replicant/
Using '..' enables repo to use URL relative to the location it was fetched from. This is really handy as we can enable multiple protocol with the same git repository: - http:// is useful for potential caching on a network - https:// is probably more secure and privacy friendly and is typically not blocked by restrictive network policies. - git:// is probably secure, privacy friendly and more efficient and sometimes blocked by restrictive network policies. However the side effect is that it makes the fetch relative to the URL it is cloned from, which can create issues if the depth level is changed. This works around such issue for repositories not yet in the main namespace. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--replicant/remotes.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/replicant/remotes.xml b/replicant/remotes.xml
index 6152dae..bff0c69 100644
--- a/replicant/remotes.xml
+++ b/replicant/remotes.xml
@@ -2,8 +2,8 @@
<manifest>
<remote name="replicant-next"
revision="replicant-next"
- fetch=".." />
+ fetch="../.." />
<remote name="replicant-mirrors"
- fetch="../mirrors" />
+ fetch="../../mirrors" />
</manifest>