Copy SSH key does not appear

(En anglais paske)

Same issue I had in Copy SSH key does not appear on the first try (#1671) · Issues · Karaoke Mugen / Code / Karaoke Mugen Application · GitLab
Except now the workaround doesn’t work. On v8.0.30-next

I installed KM again after a system reset, and now when trying to generate an SSH key for the git repository, the button doesn’t work. I filled out the form properly and added “git@gitlab.com:karaokemugen/bases/karaokebase.git” as the git repo address.

Tried saving, opening and closing the program, rebooting my computer, nothing works, it will not generate an SSH key.
On Linux Mint 22, I can’t try on Windows 10 anymore to confirm if it’s OS specific or not.

Switching from normal to maintainer repo mode seems broken everywhere, I can reproduce that.

Meanwhile as a workaround it’s possible to manually set the maintainer mode and clone the git repo:

  • Close KM

  • In app/config.yml set the MaintainerMode option to true for the kara.moe repository
    grafik

  • Open the repo folder where the kara.moe base is stored (default in repos/kara.moe) and delete the json folder

  • Open a terminal in that folder and clone the repo with git clone https://gitlab.com/karaokemugen/bases/karaokebase.git json/. It should look like this
    grafik

  • Start KM, edit the repo, fill out all maintainer fields (except ssh key generation) and save

  • Open the repo page again and now the “Generate ssh key” button should work

  • Proceed as usual with the key

Not the best user experience but should work :tm:

It works! Thank you.