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.

Signed-off-by: Nishanth Menon <[email protected]>
---
 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to