Feature #7930

Show versions in package list

Added by Michael Schams over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Could have
Category:
Package
Start date:
2010-10-11
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The "FLOW3 Command Line Interface" offers a functionality to list available and active packages. In current FLOW3 version 1.0.0-alpha8 the list shows the names of the packages only.

At least the versions of the available packages would be useful and informative - for example:

./flow3 package list available

Available packages:
FLOW3 1.0.0-alpha8
DocumentationBrowser 1.0.0-alpha8
Fluid 1.0.0-alpha8
ExtJS 3.2.1
Party 1.0.0-alpha8
Welcome 1.0.0-alpha8
Kickstart 1.0.0-alpha8
PHPUnit 3.4.0_1
Testing 0.5.0-alpha8
Conference
SwiftMailer 4.0.6

The attached diff extends the PackageManagerController.php to show version numbers (from "Meta/Package.xml") in "available packages" view. Please treat this diff as an example/suggestion only (e.g. it cuts the package name at 24 characters), more sophisticated solutions are desirable :-)


Files

FLOW3-packageList.diff (725 Bytes) FLOW3-packageList.diff Michael Schams, 2010-05-27 08:29
issue7930-packageList.png (11.3 KB) issue7930-packageList.png Michael Schams, 2010-05-27 08:41

Also available in: Atom PDF