• devraza@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Gitea supports migrating from a variety of sources, but I’m not sure about a bot that does everything in one click or so. You could probably make a simple script for that, though.

    • grepehu@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      I’ve migrated all my repos (not much, around 50 repos or so) to GitLab this January, GitLab has a built-in tool for that, it was as easy as a single click once I authenticated GitHub to allow that.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Gitlab does have it. @[email protected] you can provide a personal access token to Gitlab and it’ll import your repos with all the issues and pull requests intact.

        Anti Commercial AI thingy

        CC BY-NC-SA 4.0

        Inserted with a keystroke running this script on linux with X11

        #!/usr/bin/env nix-shell
        #!nix-shell -i bash --packages xautomation xclip
        
        sleep 0.2
        (echo '::: spoiler Anti Commercial AI thingy
        [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
        
        Inserted with a keystroke running this script on linux with X11
        ```bash'
        cat "$0"
        echo '```
        :::') | xclip -selection clipboard
        xte "keydown Control_L" "key V" "keyup Control_L"
        
        
      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Gitlab.com has an even lower limit of 1GB, I think. But you can self-host it, that limit can be arbitrarily set.

        Anti Commercial AI thingy

        CC BY-NC-SA 4.0

        Inserted with a keystroke running this script on linux with X11

        #!/usr/bin/env nix-shell
        #!nix-shell -i bash --packages xautomation xclip
        
        sleep 0.2
        (echo '::: spoiler Anti Commercial AI thingy
        [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
        
        Inserted with a keystroke running this script on linux with X11
        ```bash'
        cat "$0"
        echo '```
        :::') | xclip -selection clipboard
        xte "keydown Control_L" "key V" "keyup Control_L"