awesome-python-applications icon indicating copy to clipboard operation
awesome-python-applications copied to clipboard

Invalid repo url for GNU Solfege

Open tmkontra opened this issue 5 years ago • 2 comments

Hi @mahmoud !

I got started on the h-index/altmetric investigation we discussed on reddit: https://github.com/ttymck/pycite

In doing so, I noticed GNU Solfege is listed with a repo URL of: http://git.savannah.gnu.org/cgit/solfege.git

When I try to clone that (using gitpython), it throws this error:

git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --branch=master -v http://git.savannah.gnu.org/cgit/solfege.git /home/tkontra551/.cache/pycite/GNU Solfege
  stderr: 'Cloning into '/home/$USER/.cache/pycite/GNU Solfege'...
fatal: repository 'http://git.savannah.gnu.org/cgit/solfege.git/' not found

This appears to be the proper git repo URI for the project: https://git.savannah.gnu.org/git/solfege.git/

tmkontra avatar Dec 23 '18 19:12 tmkontra

First off, very cool! Maybe releasing early, right before the holidays was the right call after all :)

So my thought on this was that all the links should be nice and clickable to a user reading the README, as the solfege one is.

We can store a separate clone_url for projects when the repo_url can't be trivial transformed into a URL that is git clone-able. I estimate there's probably a dozen of those.

Now I'm off to skim pycite! :)

mahmoud avatar Dec 24 '18 18:12 mahmoud

If we're considering the yaml to be the API, clients can implement this "intelligent git-clone-url finder" (comments, suggestions welcome) https://github.com/ttymck/pycite/pull/2

tmkontra avatar Dec 24 '18 19:12 tmkontra