nexus-repository-composer icon indicating copy to clipboard operation
nexus-repository-composer copied to clipboard

composer install --prefer-source not working

Open marcgenou opened this issue 2 years ago • 1 comments

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

  • What are you trying to do?

composer install --prefer-source We use this command with a satis repo and works syncing and cloning packages and source code (.git folders)

  • What feature or behavior is this required for?

To work in vendors source code without to move elsewhere

  • How could we solve this issue? (Not knowing is okay!)

if this commands worked

  • Anything else?

You can see an output here:

Installing dependencies from lock file (including require-dev) Package operations: 34 installs, 0 updates, 0 removals

  • Syncing symfony/polyfill-mbstring (v1.27.0) into cache
  • Downloading XXX/lib (v1.0.2)
  • Syncing symfony/deprecation-contracts (v3.2.0) into cache

[...]

  • Installing symfony/polyfill-mbstring (v1.27.0): Cloning 8ad114f6b3 from cache
  • Installing XXX/lib (v1.0.2): Extracting archive
  • Installing symfony/deprecation-contracts (v3.2.0): Cloning 1ee04c6552 from cache

As you can see, downloading instead of syncing and extracting instead of cloning.

Type is hosted for non working private repo. The other one working is a proxy type repository from packagist. Both running in a nexus docker 3.43.0-01

marcgenou avatar Jan 18 '23 16:01 marcgenou

Same issue here. Bump!

bartkibilko avatar Mar 14 '24 11:03 bartkibilko