Page MenuHomePhabricator

Install perl packages
Closed, ResolvedPublic

Description

Author: e.wikimedia

Description:
I need the following perl packages installed from CPAN please:

DateTime
DateTime::Format::Duration
Net::Netmask
Time::Local
URI::Escape

Please install all prerequisites also.


Version: unspecified
Severity: enhancement

Details

Reference
bz53694

Related Objects

StatusSubtypeAssignedTask
Resolvedbd808
Resolvedcoren

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:45 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz53694.

e.wikimedia wrote:

Please also install:

Net::SSLeay
LWP::Protocol::https
IO::Socket::SSL

Ubuntu Precise, by default, does not include URI::Escape (which is obsolescent) but URI::Encode. I will install the latter which provides the same functionality but -- if absolutely required -- I can package the former.

Change 82403 had a related patch set uploaded by coren:
Tool Labs: User-requested perl packages

https://gerrit.wikimedia.org/r/82403

Change 82403 merged by coren:
Tool Labs: User-requested perl packages

https://gerrit.wikimedia.org/r/82403

(In reply to comment #2)

Ubuntu Precise, by default, does not include URI::Escape (which is
obsolescent)

URI::Escape is provided by liburi-perl. I don't see any indication in its manpage that it is obsolescent.

As far as I can tell, it hasn't been maintained since 2004 whereas ::Encode has been.

Regardless, liburi-perl is installed in our environment, so you get both for the price of one. :-)

From the copyright date in the file?

Looking in the changelog in the Debian package, I see mention of changes to URI::Escape as recently as 2010, and looking in Debian's git repo of the package I see changes to the file in early 2011 too. The upstream URI package as a whole was last updated in 2012.

Hm, I clearly checked in the wrong place, because the last changelog entry I saw that touched anywhere under URI/Escape was in Oct 2004. :-)