Hello

since yesterday we're experiencing a problem running composer.
We got the errors:
Failed to execute git clone --no-checkout 'https://git.drupal.org/project/examples' 'web/modules/contrib/examples' && cd 'web/modules/contrib/examples' && git remote add composer 'https://git.drupal.org/project/examples' && git fetch composer \n error: RPC failed; result=22, HTTP code = 404

and
Failed to execute git clone --no-checkout 'https://git.drupal.org/project/views_tree' 'web/modules/contrib/views_tree' && cd 'web/modules/contrib/views_tree' && git remote add composer 'https://git.drupal.org/project/views_tree' && git fetch composer \n error: RPC failed; result=22, HTTP code = 404

Environment
Linux Centos 7
git version 1.8.3.1

If we run git adding the ".git" extension on the repo it works, e.g.
git clone --no-checkout 'https://git.drupal.org/project/views_tree.git'

temporary solution has been to edit the .gitconfig file adding something like
[url "https://git.drupal.org/project/examples.git"]
insteadOf = https://git.drupal.org/project/examples

Maybe during the change in git repository some config have been lost?

Best regards

Francesco

Comments

kikkauz created an issue. See original summary.

kikkauz’s picture

Project: Drupal core » Views tree
Version: 8.8.x-dev » 8.x-2.x-dev
Component: other » Code
gaurav.kapoor’s picture

Status: Active » Closed (outdated)

Not getting this issue. Please reopen if still facing issues with installation via composer.