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-07-03 04:53:55 +0200
commit3558fbde7f97a74943b6b20a061554cecdc43717 (patch)
tree119b69d3c4f5808ab8018e545f96d1cbba10f21f
parentb660d18f78d04623ccbc075ec74005c4aa69025c (diff)
downloadmanifest-GNUtoo/needed-for-getting-failed-fetch.tar.gz
manifest-GNUtoo/needed-for-getting-failed-fetch.tar.bz2
manifest-GNUtoo/needed-for-getting-failed-fetch.zip
Handle fetch from contrib/replicant-next/ instead of replicant/GNUtoo/needed-for-getting-failed-fetch
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--default.xml2
-rw-r--r--replicant/remotes.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/default.xml b/default.xml
index 8ab60cc..530a8e8 100644
--- a/default.xml
+++ b/default.xml
@@ -14,7 +14,7 @@
fetch="ssh://git@github.com" />
<remote name="aosp"
- fetch="../mirrors/AOSP"
+ fetch="../../mirrors/AOSP"
revision="refs/tags/android-10.0.0_r37" />
<default revision="refs/heads/lineage-17.1"
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>