Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 73355
Status: open
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: melezhik [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: list custom sources improvement
Date: Mon, 19 Dec 2011 13:00:37 +0400
To: "bug-cpanplus [...] rt.cpan.org" <bug-cpanplus [...] rt.cpan.org>
From: "Alexey Melezhik" <melezhik [...] gmail.com>
I'd be cool to redefine sub list_custom_sources so it'd return array of custom source ordered in order user add them via /cs --add command, it would result in proper merge order for custom sources index, example: /cs --add http://127.0.0.1/cs1 /cs --contents --add http://127.0.0.1/cs1 AZ-BAZ-v0.0.1.tar.gz /cs --update http://127.0.0.1/cs1 x ls AZ::BAZ ... Version on CPAN v0.0.1 /cs --add http://127.0.0.1/cs2 /cs --contents --add http://127.0.0.1/cs2 AZ-BAZ-v0.0.2.tar.gz /cs --update http://127.0.0.1/cs2 x ls AZ::BAZ ... Version on CPAN v0.0.2 --- currently list_custom_sources return hash which mean random ordering of customs sources -- Alexey Melezhik
here is proof of concept - http://search.cpan.org/perldoc?CPAN::Repo