joomla-framework / crypt

Joomla Framework Crypt Package
GNU General Public License v2.0
6 stars 9 forks source link

Crypt package failing on packagist #17

Closed wilsonge closed 2 years ago

wilsonge commented 2 years ago
[Composer\Repository\InvalidRepositoryException]: Some branches contained invalid data and were discarded, it is advised to review the log and fix any issues present in branches

Reading composer.json of joomla/crypt (2.0.0)
Found cached composer.json of joomla/crypt (2.0.0)
Reading composer.json of joomla/crypt (2.0.0-rc)
Found cached composer.json of joomla/crypt (2.0.0-rc)
Reading composer.json of joomla/crypt (2.0.0-beta)
Found cached composer.json of joomla/crypt (2.0.0-beta)
Reading composer.json of joomla/crypt (1.4.0)
Found cached composer.json of joomla/crypt (1.4.0)
Reading composer.json of joomla/crypt (1.3.1)
Found cached composer.json of joomla/crypt (1.3.1)
Reading composer.json of joomla/crypt (1.3.0)
Found cached composer.json of joomla/crypt (1.3.0)
Reading composer.json of joomla/crypt (1.2.0)
Found cached composer.json of joomla/crypt (1.2.0)
Reading composer.json of joomla/crypt (1.1.0)
Found cached composer.json of joomla/crypt (1.1.0)
Reading composer.json of joomla/crypt (1.0)
Found cached composer.json of joomla/crypt (1.0)
Reading composer.json of joomla/crypt (1.0-beta3)
Found cached composer.json of joomla/crypt (1.0-beta3)
Reading composer.json of joomla/crypt (1.0-beta2)
Found cached composer.json of joomla/crypt (1.0-beta2)
Reading composer.json of joomla/crypt (1.0-beta)
Found cached composer.json of joomla/crypt (1.0-beta)
Reading composer.json of joomla/crypt (1.0-alpha)
Found cached composer.json of joomla/crypt (1.0-alpha)
Reading composer.json of joomla/crypt (2.0-dev)
Importing branch 2.0-dev (dev-2.0-dev)
Reading composer.json of joomla/crypt (unified)
Importing branch unified (dev-unified)
Skipped branch unified, Invalid package information:
target-dir : this can not be used together with the autoload.psr-4 setting, remove target-dir to upgrade to psr-4

Reading composer.json of joomla/crypt (1.x-dev)
Importing branch 1.x-dev (dev-1.x-dev)
Skipped branch 1.x-dev, Invalid package information:
target-dir : this can not be used together with the autoload.psr-4 setting, remove target-dir to upgrade to psr-4

Unified branch and 1.x-dev branch are both using target-dir and also psr-4 which isn't allowed by newer versions of composer. @mbabker clearly removed it and added it back at some point so not sure what the cost of removing it is exactly https://github.com/joomla-framework/crypt/commit/5116e768ba106c47dd3c05823946cfa3011fe2a1

wilsonge commented 2 years ago

@nibra reminder

nibra commented 2 years ago

Should be fixed now (removed the target-dir directive again).

not sure what the cost of removing it is exactly

Same here, couldn't find any documentation/reasoning for it. Let's just have an eye on it. Closing for now.