Feature #3950

Package Manager should warn about duplicate packages

Added by Robert Lemke over 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Package
Start date:
2009-07-21
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 (diff)
Added by Karsten Dambekalns about 10 years ago

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

Revision 4e16dce8 (diff)
Added by Karsten Dambekalns about 10 years ago

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

History

#1 Updated by Bastian Waidelich over 10 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 about 10 years ago

  • Target version deleted (1.0 alpha 3)

#3 Updated by Karsten Dambekalns about 10 years ago

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

#4 Updated by Karsten Dambekalns about 10 years ago

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

Applied in changeset r3217.

Also available in: Atom PDF