json - Load composer package from private gitlab -
in composer setup load packages 2 repos. 1 composer repo , private gitlab repo. when try composer install on local windows machine, following error messages:
gitlab: project looking not found. fatal: not read remote repository. please make sure have correct access rights , repository exists. ... requested package sv-test/testextension not found in version, there may typo in package name.
authentification done via lokal ssh-key , password, doesnt seem problem. what
s wrong setup?
the composer.json of project looks this:
{ "repositories": [ { "type": "composer", "url": "https://composer.typo3.org/" }, { "type": "git", "url": "git@gitlab.xydevbox.de:sv-test/testproject.git" } ], "name": "svdev/master-dev-box", "description": "", "type": "project", "license": "mit", "homepage": "https://www.xydevbox.de/", "authors": [ { "name": "sacha vorbeck", "email": "sacha.vorbeck@xydevbox.de", "homepage": "https://www.xydevbox.de/", "role": "developer" } ], "require": { "sv-testbox/testextension": "*", "helhum/typo3-console": "^4.5", "typo3/cms": "^8.7" }, "config": { "sort-packages": true, "process-timeout": 2000, "preferred-install": { "typo3/cms": "source", "*": "dist" } }, "extra": { "typo3/cms": { "cms-package-dir": "{$vendor-dir}/typo3/cms", "web-dir": "web" } } }
the composer.json package included gitlab private repo looks this:
{ "name": "sv-testbox/testextension", "type": "typo3-cms-extension", "description": "", "homepage": "https://www.xydevbox.de/", "license": ["gpl-2.0+"], "keywords": ["typo3 cms"], "version": "master", "dist": { "url": "git@gitlab.xydevbox.de:sv-test/testproject.git", "type": "git" } }
maybe latest composer version 1.5.2 if take @ release notes
- fixed gitlabdriver looping endlessly in conditions
- fixed gitlabdriver support unauthenticated requests
- fixed gitlab zip downloads not triggering credentials prompt if unauthenticated
- fixed path repository support of composer_root_version, applies path repos within same git repository
- fixed path repository handling of copies avoid copying vcs files , others
- fixed sub-directory call ignore list , create-project commands calls composer using --working-dir
- fixed invalid warning appearing when calling remove on non-stable package
Comments
Post a Comment