Feature #3950

Package Manager should warn about duplicate packages

Added by Robert Lemke about 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-07-21
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Package
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 5
PHP Version: Complexity:
Has patch:

Description

Currently it is possible to use the same package key multiple times within the Packages/* directories, for example:

Packages/
   Application/
      Blog/
   Framework/
   Shared/
      Blog/

The behavior is undefined. We should throw an exception instead to warn about multiple occurrences of a package key.

Associated revisions

Revision c7b7b5db
Added by Karsten Dambekalns almost 6 years ago

[+FEATURE] FLOW3 (Package): Duplicate packages are now detected and an exception is thrown, resolves #3950.

Revision 4e16dce8
Added by Karsten Dambekalns almost 6 years ago

[+TASK] FLOW3 (Package): Added DuplicatePackageException, relates to #3950.

History

#1 Updated by Bastian Waidelich about 6 years ago

Just a note for the future:

It should be possible to have multiple versions of a package installed. Depending on the context the right package would be chosen. E.g:

Packages/
   Application/
      Blog/
   Development/
      Blog/

That way you could test new versions of packages before making them available in production context.

Though - until this is implemented, we really should forbid multiple installations.

#2 Updated by Robert Lemke almost 6 years ago

  • Target version deleted (1.0 alpha 3)

#3 Updated by Karsten Dambekalns almost 6 years ago

  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.0 alpha 5

#4 Updated by Karsten Dambekalns almost 6 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3217.

Also available in: Atom PDF