Feature #44258

Set packageType when creating new package

Added by Soren Malling over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-12-30
Priority:Should have Due date:
Assigned To:Soren Malling % Done:

100%

Category:Package
Target version:-
PHP Version: Complexity:
Has patch:No

Description

When calling packageManager->createPackage you have no way to define what package type you are creating.

By adding a fourth argument "packageType" with a default value to "typo3-flow-package" one can use createPackage to create "Sites" and similar. The TYPO3.SiteKickstart package is lacking this feature, and sites are created in the Sites folder but in the composer manifest it's named "typo3-flow-package".

The package type information can either be put to the MetaData ( {get|set}PackageType() )object passed around or as a argument (mentioned above).

First patchset will be pushed later for discussion

Associated revisions

Revision bb742c5a
Added by Soren Malling over 2 years ago

[FEATURE] Set packageType when creating new package

When calling packageManager->createPackage you have
no way to define what package type you are creating.

This allows for ex. SiteKickstarter to set correct
package type in composer manifest

Change-Id: Ib1c96f875a9854c3efc8f3059d26cc3d60e9aca7
Resolves: #44258
Releases: master, 2.0

Revision 0146a622
Added by Soren Malling over 2 years ago

[FEATURE] Set packageType when creating new package

When calling packageManager->createPackage you have
no way to define what package type you are creating.

This allows for ex. SiteKickstarter to set correct
package type in composer manifest

Change-Id: Ib1c96f875a9854c3efc8f3059d26cc3d60e9aca7
Resolves: #44258
Releases: master, 2.0

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17300

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17300

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17300

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17300

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19589

#6 Updated by Soren Malling over 2 years ago

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

Also available in: Atom PDF