On 17/05/20 12:47, Ben Cooksley wrote:
> Good morning all,

Hi Ben


> 
> -- Migration Helpers --
> 
> To assist with the migration to Gitlab, Sysadmin earlier mentioned a
> series of helper tools which could be used to clone repositories
> conveniently from Gitlab as well as migrate existing clones.
> 
> To set these up, you will need a clone of 'sysadmin/repo-metadata' on
> your local system, along with Python3 and PyYAML (packaged as
> python3-yaml on most distributions) installed on your system.
> Once you have these, add the folder 'git-helpers' in
> 'sysadmin/repo-metadata' to $PATH and you should be good to go.
> 
> Please note that 'git kpull' at the moment is only able to perform the
> initial migration from anongit.kde.org/git.kde.org to invent.kde.org
> urls.
> Additional patches to improve this are welcome.

I tried to 'git kpull' from a bunch of clones I have but I always get
this error:

$ git kpull
/home/elvis/dev/kde/sysadmin-repo-metadata/git-helpers/git-kpull:36:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe. Please read https://msg.pyyaml.org/load
for full details.
  metadata = yaml.load( metadataFile )
Sorry, we were unable to determine the name of the repository as it is
not configured to push to the old server (git.kde.org)

and also this one:

$ git remote show origin
fatal: unable to update url base from redirection:
  asked for: https://invent.kde.org/kio/info/refs?service=git-upload-pack
   redirect: https://invent.kde.org/users/sign_in


Am I missing something?

> 
> Thanks,
> Ben Cooksley
> KDE Sysadmin
> 

Thanks,
Elvis

Reply via email to