As we move git repositories over to newer locations, there is
a definite need to redirect older url usage to newer locations.

Lets start with a basic configuration for the core repositories.

Reviewed-by: Denys Dmytriyenko <de...@konsulko.com>
Signed-off-by: Nishanth Menon <n...@ti.com>
---
Changes since V1:
* picked up Reviewed-by
* no change

V1: http://arago-project.org/pipermail/meta-arago/2021-June/013230.html
 sample-files/gitconfig.sample | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 sample-files/gitconfig.sample

diff --git a/sample-files/gitconfig.sample b/sample-files/gitconfig.sample
new file mode 100644
index 000000000000..2d06bdcd80b9
--- /dev/null
+++ b/sample-files/gitconfig.sample
@@ -0,0 +1,16 @@
+# Sample git config URL redirection
+# Copy this information to ~/.gitconfig or equivalent
+# See https://git-scm.com/docs/git-config for further information
+# To debug, use GIT_CURL_VERBOSE=1 GIT_TRACE=1
+
+[url "git://git.yoctoproject.org/meta-arago"]
+       insteadOf = git://arago-project.org/git/meta-arago
+       insteadOf = http://arago-project.org/git/meta-arago
+
+[url "git://git.yoctoproject.org/meta-ti"]
+       insteadOf = git://arago-project.org/git/meta-ti
+       insteadOf = http://arago-project.org/git/meta-ti
+
+[url "git://git.ti.com/arago-project/oe-layersetup"]
+       insteadOf = git://arago-project.org/git/projects/oe-layersetup
+       insteadOf = http://arago-project.org/git/projects/oe-layersetup
-- 
2.32.0

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to