Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 112094
Status: resolved
Priority: 0/
Queue: Template-Toolkit

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

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



Subject: Distribution name and CPAN file path don't match each other
Date: Wed, 17 Feb 2016 20:03:31 +0900
To: bug-Template-Toolkit [...] rt.cpan.org
From: Alan <lameventanas [...] gmail.com>
Template::Toolkit is in the CPAN distribution called "Template", not "Template-Toolkit". Therefore, tools based on CPAN::DistnameInfo (and probably other CPAN modules) can't install the Template module distribution automatically. This could be fixed simply by changing the CPAN file path from: A/AB/ABW/Template-Toolkit-2.26.tar.gz to the standard: A/AB/ABW/Template-2.26.tar.gz
On 2016-02-17 03:03:46, lameventanas@gmail.com wrote: Show quoted text
> Template::Toolkit is in the CPAN distribution called "Template", not > "Template-Toolkit". > > Therefore, tools based on CPAN::DistnameInfo (and probably other CPAN > modules) can't install the Template module distribution automatically. > > This could be fixed simply by changing the CPAN file path from: > A/AB/ABW/Template-Toolkit-2.26.tar.gz > to the standard: > A/AB/ABW/Template-2.26.tar.gz
related to https://rt.cpan.org/Ticket/Display.html?id=92588
On 2016-02-17 03:03:46, lameventanas@gmail.com wrote: Show quoted text
> Template::Toolkit is in the CPAN distribution called "Template", not > "Template-Toolkit". > > Therefore, tools based on CPAN::DistnameInfo (and probably other CPAN > modules) can't install the Template module distribution automatically.
lameventanas -- can you clarify which tool(s) you're using (some of them may be mine, or projects I'm a member of)? It's not correct to assume that a module comes from a distribution of the same name, since a distribution can contain more than one module. Show quoted text
> This could be fixed simply by changing the CPAN file path from: > A/AB/ABW/Template-Toolkit-2.26.tar.gz > to the standard: > A/AB/ABW/Template-2.26.tar.gz
Since this project is widely known as Template-Toolkit, I think it would be better to add an (indexed) module in the distribution named Template::Toolkit. It can just contain documentation for the main project, or point to the table of contents.
Ticket migrated to github as https://github.com/abw/Template2/issues/172