Eric Harrer
Ich hab das wie folgt geändert:
"repositories": {
"local_packages": {
"type": "path",
"url": "./packages/*"
},
"bw-focuspoint-images": {
"type": "vcs",
"url": "https://github.com/morange/bw_focuspoint_images.git"
}
},
"require": {
"morange/bw_focuspoint_images": "dev-CSP-Fix"
}
Wenn ich das so mit ddev composer update -W
abschicke, kommt folgende Fehlermeldung:
Loading composer repositories with package information
GitHub API limit (60 calls/hr) is exhausted, could not fetch https://api.github.com/repos/morange/bw_focuspoint_images. Create a GitHub OAuth token to go over the API rate limit. You can also wait until 2024-10-21 15:45:07 for the rate limit to reset.
When working with _public_ GitHub repositories only, head here to retrieve a token:
https://github.com/settings/tokens/new?scopes=&description=Composer+on+v13-dev-web+2024-10-21+1518
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to:
https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+v13-dev-web+2024-10-21+1518
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/home/steffenmatthes/.composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden):
… werde ich scheinbar für DDEV nach meinem Github Token gefragt. Hmm, das ist doch aber ein öffentliches Repro.
Irgendwie stehe ich mächtig auf dem Schlauch. 🤔
Probiert habe ich auch
ddev composer req morange/bw_focuspoint_images:dev-CSP-Fix
und ddev composer req morange/bw_focuspoint_images:@dev-CSP-Fix
dann im Repro nur mit dem Verweis auf mein "local_packages"
.