Migrating git repos to OpenDev

Jeremy Stanley fungi at yuggoth.org
Mon Apr 22 01:05:04 UTC 2019


On 2019-04-21 20:50:16 -0400 (-0400), Doug Hellmann wrote:
[...]
> So does that mean that old git:// URLs in remotes will need to be
> updated in local copies?
[...]

Yes, Gitea doesn't support traditional Git protocol, only Git over
HTTP/HTTPS. And even if it had, there's no built-in redirect
functionality with that protocol anyway.

> If I change the URL for the origin remote to
> https://opendev.org/openstack/releases it works fine. Before I do that
> in all of my sandboxes, do I need to, or are those old URLs expected to
> work?

Simply switching the git:// to https:// (or http://) should work,
courtesy of the redirect sites we've built for git.openstack.org and
friends.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190422/5c3cb59b/attachment.sig>


More information about the openstack-discuss mailing list