Skip Menu |

This queue is for tickets about the DhMakePerl CPAN distribution.

Report information
The Basics
Id: 80123
Status: resolved
Priority: 0/
Queue: DhMakePerl

People
Owner: Nobody in particular
Requestors: peter [...] morch.com
Cc:
AdminCc:

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



Subject: URL like http://user:pass@host/debian/ fails in Debian::AptContents::repo_source_to_contents_path
If I have a line like this in sources.list: deb http://user:pass@ftp2.de.debian.org/debian/ squeeze main contrib non-free Then apt-file creates a file called: ftp2.de.debian.org_debian_dists_squeeze_Contents-amd64.gz But Debian::AptContents::repo_source_to_contents_path returns user_:pass@ftp2.de.debian.org_debian_dists_squeeze That, of course, leads to dh-make-perl failing. Reproduction recipe: #!/usr/bin/perl -w use strict; package BogusScaffold; sub new { my ($class) = @_; return bless {}, $class; } sub warning { my ($self, undef, $text) = @_; warn $text; } sub dist { my ($self) = @_; return undef; } package main; use Debian::AptContents; my $scaffold = BogusScaffold->new(); my $sourcesListLine = 'deb http://user:pass@ftp2.de.debian.org/debian/ squeeze main contrib non-free'; my $fileName = Debian::AptContents::repo_source_to_contents_path( $scaffold,$sourcesListLine ); print "Line : $sourcesListLine\n"; print "Filename: $fileName\n"; print "\n";
На 11 окт. 2012, чт 11:16:07, peter@morch.com написа: Show quoted text
> If I have a line like this in sources.list: > > deb http://user:pass@ftp2.de.debian.org/debian/ squeeze main contrib > non-free > > Then apt-file creates a file called: > ftp2.de.debian.org_debian_dists_squeeze_Contents-amd64.gz > > But Debian::AptContents::repo_source_to_contents_path returns > > user_:pass@ftp2.de.debian.org_debian_dists_squeeze
This was fixed in version 0.76. Can you reproduce it in that version?