Closed. This question does not meet
Forked repo with no releases, tags etc:
The pipeline error I got:
Failed to download hautelook/alice-bundle from dist: The "https://api.github.com/repos/hautelook/AliceBundle/zipball/17c5199b2a6efbc1383b0afe1cddfa3c176b7b6f" file could not be downloaded (HTTP/2 404 )
Now trying to download from source
- Syncing hautelook/alice-bundle (2.9.0) into cache
[RuntimeException]
Failed to clone https:
- https:
Cloning into bare repository '/root/.composer/cache/vcs/https---github.com-hautelook-AliceBundle.git'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/hautelook/AliceBundle.git/'
- [email protected]:hautelook/AliceBundle.git
Cloning into bare repository '/root/.composer/cache/vcs/https---github.com-hautelook-AliceBundle.git'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
CodePudding user response:
As Théo Fidry, the maintainer of that package, recommends: his Github account holds an up-to-date fork which can be used by adding the following settings to composer.json:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/theofidry/AliceBundle"
}
],
CodePudding user response:
This might not be a direct answer to your question but I hope it might help people having huge troubles in their CI pipeline as I had. What I did to solve the issue because the version uploaded by theofidry required PHP 7.3 at least (and my old app does not meet this requirement) was:
- Go to your project folder in your local development
- Copy the folder vendor/hautelook/alice-bundle somewhere
- Run git init inside the copied folder
- Create a git repository (e.g on github) and push the content
- Back in your project, update your composer.json, change the version used for hautelook/alice-bundle to "dev-master" and add a vcs repository as specified below
- Run composer update and you should be fine
Adapt url accordingly:
"repositories": [
{
"type": "vcs",
"url": "[email protected]:YourRepository/AliceBundle"
}
]
That solution would work only if you had already a version of AliceBundle somewhere