Skip Menu |

This queue is for tickets about the OrePAN CPAN distribution.

Report information
The Basics
Id: 76003
Status: new
Priority: 0/
Queue: OrePAN

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

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



Subject: Handle paths with spaces better
Here's an example log: 2012-03-22T16:03:07 [INFO] put the archive to repository at /home/jenkins/local/bin/orepan.pl line 51 2012-03-22T16:03:07 [INFO] get package names at /home/jenkins/local/bin/orepan.pl line 57 /bin/tar: /home/jenkins/webroot/jobs/SupportTrack: Cannot read: Is a directory /bin/tar: At beginning of tape, quitting now /bin/tar: Error is not recoverable: exiting now gzip: stdin: unexpected end of file /bin/tar: Child returned status 2 /bin/tar: Classic/workspace/Track-Track-v6.6.22_9140.tar.gz: Not found in archive /bin/tar: Error exit delayed from previous errors Bad archive <http://regtoolsvm01:8080/job/SupportTrack%20Classic/ws/Track-Track-v6.6.22_9140.tar.gz> at /export/home/champoux/local/lib/perl5/site_perl/5.12.3/OrePAN/Archive.pm line 203. It looks like the error is at https://metacpan.org/source/TOKUHIROM/OrePAN-0.04/lib/OrePAN/Archive.pm#L208 where you use system to call tar, and don't handle filenames with spaces properly.