I'll get that done at least, but that won't help you resolve this, either the installer needs to be updated, or you need to stay on Composer 1.x for this project. I think we probably should error or at least output a warning for composer-installer packages in v2 though instead of letting them silently run in a probably-corrupt way. I doubt this is related to the other issue being reported here though, even though the symptoms might be similar. Seeing as it hasn't been updated in 9years that is not surprising :)
COMPOSER NO CLONE FROM CACHE CODE
Since the package does not require the plugin-api ^1, it does not warn you about being incompatible, so it does get loaded but the code is probably too old to function with Composer 2. This is so old that it still uses the composer-installer type, instead of the "newer" composer-plugin type, which would have forced the package to declare its requirement on the composer-plugin-api. "composer/composer": "1.0.* that be causing a yeah your last guest is definitely the problem. The compwright/codeigniter-installers package has this in its composer.json: Yes, these are old packages, but it shows what I think is OP's issue: nothing is downloaded for tan5en5/codeigniter-debugbar when using composer v2. Notice how with v1 it actually installs the tan5en5/codeigniter-debugbar package, but with v2 it just marks it as installed? Result: application/third_party/codeigniter-debugbar path exists but is empty Marking tan5en5/codeigniter-debugbar (9999999-dev de036b4) as installed, alias of tan5en5/codeigniter-debugbar (dev-master de036b4)Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/psr/log'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/composer/5bb0a4f0'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/symfony/polyfill-php80'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/composer/5f8a7878'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/symfony/polyfill-mbstring'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/composer/11036bbf'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/symfony/var-dumper'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/composer/b72c84cb'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/maximebf/debugbar'Įxecuting command (CWD): rm -rf '/home/daniel/tmp/t/vendor/composer/f8c87ab3' Installing tan5en5/codeigniter-debugbar (dev-master de036b4):Ĭloning to cache at '/home/daniel/.cache/composer/vcs//'Įxecuting command (CWD): git clone -mirror '' '/home/daniel/.cache/composer/vcs//'Įxecuting command (/home/daniel/.cache/composer/vcs//): git rev-parse -git-dirĮxecuting command (/home/daniel/.cache/composer/vcs//): git rev-parse -quiet -verify 'de036b46c06a1910f5f3f5f88df5cc4706f2f728^'
![composer no clone from cache composer no clone from cache](https://aws1.discourse-cdn.com/business7/uploads/mautic/original/2X/f/f09301dbb4feec98d8b9a2dd35c2214502606c3a.png)
Have tried setting canonical: false in the repository config section, but did not fix the issue. Reverting to composer v1 works as expected. The files in the aliased branch should be installed as expected.
![composer no clone from cache composer no clone from cache](https://buddy.works/docs/static/articles/version-control/clone/clone-2.png)
None of the files are downloaded/installed. The folder vendor/us/config is created, but is empty. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. Package phpunit/php-token-stream is abandoned, you should avoid using it. Marking us/config (1.4) as installed, alias of us/config (dev-custom-branch d38b85ce9d70) Package operations: 0 installs, 0 updates, 0 removals Installing dependencies from lock file (including require-dev) Something's changed, looking at all rules again (pass #2)ĭependency resolution completed in 0.002 secondsĪnalyzed 318 packages to resolve dependenciesĪnalyzed 660 rules to resolve dependenciesĭependency resolution completed in 0.000 seconds Reading /Users/me/.composer/cache/repo//include-all$30dc8575cb5b26a2b706536dd27ce4e6cb4cccdf.json from cache Writing /Users/me/.composer/cache/repo//packages.json into cache Loading composer repositories with package information
![composer no clone from cache composer no clone from cache](https://miro.medium.com/max/1184/1*FUGeQOODGqVaxkCaYtwZmQ.png)
composer.lock (/Users/me/us_DB/composer.lock) Reading /Users/me/us_DB/vendor/composer/installed.json composer.json (/Users/me/us_DB/composer.json)Ĭhecked CA file /private/etc/ssl/cert.pem: validĮxecuting command (/Users/me/us_DB): git branch -a -no-color -no-abbrev -vĮxecuting command (/Users/me/us_DB): git describe -exact-match -tagsĮxecuting command (/Users/me/us_DB): git log -pretty="%H" -n1 HEAD -no-show-signatureĮxecuting command (/Users/me/us_DB): hg branchįailed to initialize global composer: Composer could not find the config file: /Users/me/.composer/composer.json
![composer no clone from cache composer no clone from cache](https://i1.wp.com/www.carlstalhood.com/wp-content/uploads/2020/08/img_5f354bd7418bd.png)
Loading config file /Users/me/.composer/auth.json composer.json (/Users/me/us_DB/composer.json)