Feature #3950

Package Manager should warn about duplicate packages

Added by Robert Lemke almost 12 years ago. Updated over 10 years ago.

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

100%

Estimated time:
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.

#1

Updated by Bastian Waidelich almost 12 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 over 11 years ago

  • Target version deleted (1.0 alpha 3)
#3

Updated by Karsten Dambekalns over 11 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 over 11 years ago

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

Applied in changeset r3217.

Also available in: Atom PDF