Bug #89392

Fix composer definitions

Added by Oliver Hader about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2019-10-10
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The typo3/cms-core package of which you are a maintainer has
failed to update due to invalid data contained in your composer.json.
Please address this as soon as possible since the package stopped updating.

It is recommended that you use `composer validate` to check for errors when you
change your composer.json.

Below is the full update log which should highlight errors as
"Skipped branch ...":

[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 typo3/cms-core (v10.1.0)
Found cached composer.json of typo3/cms-core (v10.1.0)
Reading composer.json of typo3/cms-core (v10.0.0)
Found cached composer.json of typo3/cms-core (v10.0.0)
Reading composer.json of typo3/cms-core (v9.5.9)
Found cached composer.json of typo3/cms-core (v9.5.9)
Reading composer.json of typo3/cms-core (v9.5.8)
Found cached composer.json of typo3/cms-core (v9.5.8)
Reading composer.json of typo3/cms-core (v9.5.7)
Found cached composer.json of typo3/cms-core (v9.5.7)
Reading composer.json of typo3/cms-core (v9.5.6)
Found cached composer.json of typo3/cms-core (v9.5.6)
Reading composer.json of typo3/cms-core (v9.5.5)
Found cached composer.json of typo3/cms-core (v9.5.5)
Reading composer.json of typo3/cms-core (v9.5.4)
Found cached composer.json of typo3/cms-core (v9.5.4)
Reading composer.json of typo3/cms-core (v9.5.3)
Found cached composer.json of typo3/cms-core (v9.5.3)
Reading composer.json of typo3/cms-core (v9.5.2)
Found cached composer.json of typo3/cms-core (v9.5.2)
Reading composer.json of typo3/cms-core (v9.5.1)
Found cached composer.json of typo3/cms-core (v9.5.1)
Reading composer.json of typo3/cms-core (v9.5.0)
Found cached composer.json of typo3/cms-core (v9.5.0)
Reading composer.json of typo3/cms-core (v9.4.0)
Found cached composer.json of typo3/cms-core (v9.4.0)
Reading composer.json of typo3/cms-core (v9.3.3)
Found cached composer.json of typo3/cms-core (v9.3.3)
Reading composer.json of typo3/cms-core (v9.3.2)
Found cached composer.json of typo3/cms-core (v9.3.2)
Reading composer.json of typo3/cms-core (v9.3.1)
Found cached composer.json of typo3/cms-core (v9.3.1)
Reading composer.json of typo3/cms-core (v9.3.0)
Found cached composer.json of typo3/cms-core (v9.3.0)
Reading composer.json of typo3/cms-core (v9.2.1)
Found cached composer.json of typo3/cms-core (v9.2.1)
Reading composer.json of typo3/cms-core (v9.2.0)
Found cached composer.json of typo3/cms-core (v9.2.0)
Reading composer.json of typo3/cms-core (v9.1.0)
Found cached composer.json of typo3/cms-core (v9.1.0)
Reading composer.json of typo3/cms-core (v9.0.0)
Found cached composer.json of typo3/cms-core (v9.0.0)
Reading composer.json of typo3/cms-core (v8.7.27)
Found cached composer.json of typo3/cms-core (v8.7.27)
Reading composer.json of typo3/cms-core (v8.7.26)
Found cached composer.json of typo3/cms-core (v8.7.26)
Reading composer.json of typo3/cms-core (v8.7.25)
Found cached composer.json of typo3/cms-core (v8.7.25)
Reading composer.json of typo3/cms-core (v8.7.24)
Found cached composer.json of typo3/cms-core (v8.7.24)
Reading composer.json of typo3/cms-core (v8.7.23)
Found cached composer.json of typo3/cms-core (v8.7.23)
Reading composer.json of typo3/cms-core (v8.7.22)
Found cached composer.json of typo3/cms-core (v8.7.22)
Reading composer.json of typo3/cms-core (v8.7.21)
Found cached composer.json of typo3/cms-core (v8.7.21)
Reading composer.json of typo3/cms-core (v8.7.20)
Found cached composer.json of typo3/cms-core (v8.7.20)
Reading composer.json of typo3/cms-core (v8.7.19)
Found cached composer.json of typo3/cms-core (v8.7.19)
Reading composer.json of typo3/cms-core (v8.7.18)
Found cached composer.json of typo3/cms-core (v8.7.18)
Reading composer.json of typo3/cms-core (v8.7.17)
Found cached composer.json of typo3/cms-core (v8.7.17)
Reading composer.json of typo3/cms-core (v8.7.16)
Found cached composer.json of typo3/cms-core (v8.7.16)
Reading composer.json of typo3/cms-core (v8.7.15)
Found cached composer.json of typo3/cms-core (v8.7.15)
Reading composer.json of typo3/cms-core (v8.7.14)
Found cached composer.json of typo3/cms-core (v8.7.14)
Reading composer.json of typo3/cms-core (v8.7.13)
Found cached composer.json of typo3/cms-core (v8.7.13)
Reading composer.json of typo3/cms-core (v8.7.12)
Found cached composer.json of typo3/cms-core (v8.7.12)
Reading composer.json of typo3/cms-core (v8.7.11)
Found cached composer.json of typo3/cms-core (v8.7.11)
Reading composer.json of typo3/cms-core (v8.7.10)
Found cached composer.json of typo3/cms-core (v8.7.10)
Reading composer.json of typo3/cms-core (v8.7.9)
Found cached composer.json of typo3/cms-core (v8.7.9)
Reading composer.json of typo3/cms-core (v8.7.8)
Found cached composer.json of typo3/cms-core (v8.7.8)
Reading composer.json of typo3/cms-core (v8.7.7)
Found cached composer.json of typo3/cms-core (v8.7.7)
Reading composer.json of typo3/cms-core (master)
Importing branch master (dev-master)
Skipped branch master, Invalid package information: 
Deprecation warning: replace.core is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.

Reading composer.json of typo3/cms-core (8.7)
Found cached composer.json of typo3/cms-core (8.7.x-dev)
Reading composer.json of typo3/cms-core (9.2)
Found cached composer.json of typo3/cms-core (9.2.x-dev)
Reading composer.json of typo3/cms-core (9.3)
Found cached composer.json of typo3/cms-core (9.3.x-dev)
Reading composer.json of typo3/cms-core (9.5)
Found cached composer.json of typo3/cms-core (9.5.x-dev)

composer validate in typo3/sysext/core:

composer validate
Deprecation warning: replace.core is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
Deprecation warning: replace.core is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
Deprecation warning: replace.core is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.

Associated revisions

Revision 4bd76360 (diff)
Added by Oliver Hader about 1 month ago

[TASK] Adjust composer.json declarations of system extensions

In order to compatible with https://getcomposer.org/doc/04-schema.md
composer.json declarations had to be adjusted and dropped previous
replace statements like this:

"replace": {
"core": "*"
}

Resolves: #89392
Releases: master, 9.5, 8.7
Change-Id: I4d530fe90551b16c54462a81a457d0bff9f2de8b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61944
Tested-by: TYPO3com <>
Tested-by: Georg Ringer <>
Tested-by: Oliver Hader <>
Reviewed-by: Simon Gilli <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Jörg Bösche <>
Reviewed-by: Felix P. <>
Reviewed-by: Oliver Hader <>

Revision 401db8f9 (diff)
Added by Oliver Hader about 1 month ago

[TASK] Adjust composer.json declarations of system extensions

In order to compatible with https://getcomposer.org/doc/04-schema.md
composer.json declarations had to be adjusted and dropped previous
replace statements like this:

"replace": {
"core": "*"
}

Resolves: #89392
Releases: master, 9.5, 8.7
Change-Id: I4d530fe90551b16c54462a81a457d0bff9f2de8b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61949
Reviewed-by: Tobi Kretschmann <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Oliver Hader <>
Tested-by: TYPO3com <>
Tested-by: Tobi Kretschmann <>
Tested-by: Oliver Hader <>

Revision de58dbbf (diff)
Added by Oliver Hader about 1 month ago

[TASK] Adjust composer.json declarations of system extensions

In order to compatible with https://getcomposer.org/doc/04-schema.md
composer.json declarations had to be adjusted and dropped previous
replace statements like this:

"replace": {
"core": "*"
}

Resolves: #89392
Releases: master, 9.5, 8.7
Change-Id: I4d530fe90551b16c54462a81a457d0bff9f2de8b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61950
Tested-by: TYPO3com <>
Tested-by: Tobi Kretschmann <>
Tested-by: Oliver Hader <>
Reviewed-by: Tobi Kretschmann <>
Reviewed-by: Oliver Hader <>

History

#1 Updated by Oliver Hader about 1 month ago

Validation:

cd typo3/sysext
for dir in *; do echo $dir; cd $dir; composer validate; cd ..; done

#2 Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61944

#3 Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61949

#4 Updated by Oliver Hader about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Gerrit Code Review about 1 month ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61950

#6 Updated by Oliver Hader about 1 month ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF