Skip Menu |

This queue is for tickets about the Archive-Rar CPAN distribution.

Report information
The Basics
Id: 32623
Status: resolved
Priority: 0/
Queue: Archive-Rar

People
Owner: Nobody in particular
Requestors: backslash [...] hotmail.com
Cc:
AdminCc:

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



Subject: The overwrite option does not work well
The overwrite option is set by default and there is no way to avoid the overwrite. In the initialization of the args, we find -overwrite => 1 and when the options are set, we find the line: $me->{options} .=' -o+' if (!IsEmpty($args{'-overwrite'})); My code is: $res = $rar->Extract( -quiet => 1, -overwrite => 0); and the -o+ option is however set.
Subject: Re: [rt.cpan.org #32623] The overwrite option does not work well
Date: Thu, 24 Jan 2008 18:16:39 +0100
To: bug-Archive-Rar [...] rt.cpan.org
From: Steffen Mueller <l2ot9pa02 [...] sneakemail.com>
Hi Francesco, Francesco Rotondella via RT wrote: Show quoted text
> Thu Jan 24 11:05:40 2008: Request 32623 was acted upon. > Transaction: Ticket created by backslash > Queue: Archive-Rar > Subject: The overwrite option does not work well > Broken in: 1.93 > Severity: Normal > Owner: Nobody > Requestors: backslash@hotmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32623 > > > > The overwrite option is set by default and there is no way to avoid the > overwrite.
That's bad. Some time ago, I had my own personal quibble with A::Rar and fixed it myself* because it was unmaintained. However, I'm currently really busy, so I can't spend much time on maintaining the code. Quite a few bug reports have piled up. If you'll supply a patch for your bug, I will apply it and make a new release. Best regards, Steffen * I.e. I was made co-maintainer so I could make releases.
Subject: RE: [rt.cpan.org #32623] The overwrite option does not work well
Date: Fri, 25 Jan 2008 09:01:05 +0100
To: <bug-archive-rar [...] rt.cpan.org>
From: Francesco Rotondella <backslash [...] hotmail.com>
Surely I could. I'm writing a perl script using this module and so I'm heavily using it now. I've already patched the module on my own to continue my development. I'll prepare a mail with the patches and I'll send it to you. If you want I could add just few lines of documentation for using the module, since I experienced some difficulties in using it since the help is lacking Just a question about cpan What does it mean "Annotate this POD" beside each module ? What could anyone do with this feature ? Francesco Show quoted text
> Subject: Re: [rt.cpan.org #32623] The overwrite option does not work well > From: bug-Archive-Rar@rt.cpan.org > To: backslash@hotmail.com > Date: Thu, 24 Jan 2008 12:17:12 -0500 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=32623 > > > Hi Francesco, > > Francesco Rotondella via RT wrote:
> > Thu Jan 24 11:05:40 2008: Request 32623 was acted upon. > > Transaction: Ticket created by backslash > > Queue: Archive-Rar > > Subject: The overwrite option does not work well > > Broken in: 1.93 > > Severity: Normal > > Owner: Nobody > > Requestors: backslash@hotmail.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32623 > > > > > > > The overwrite option is set by default and there is no way to avoid the > > overwrite.
> > That's bad. Some time ago, I had my own personal quibble with A::Rar and > fixed it myself* because it was unmaintained. However, I'm currently > really busy, so I can't spend much time on maintaining the code. Quite a > few bug reports have piled up. If you'll supply a patch for your bug, I > will apply it and make a new release. > > Best regards, > Steffen > > * I.e. I was made co-maintainer so I could make releases. >
Show quoted text
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Subject: Re: [rt.cpan.org #32623] The overwrite option does not work well
Date: Fri, 25 Jan 2008 09:26:56 +0100
To: bug-Archive-Rar [...] rt.cpan.org
From: Steffen Mueller <l2ot9pa02 [...] sneakemail.com>
Hi Francesco, Francesco Rotondella via RT wrote: Show quoted text
> Queue: Archive-Rar Ticket <URL: > http://rt.cpan.org/Ticket/Display.html?id=32623 > > > Surely I could. I'm writing a perl script using this module and so > I'm heavily using it now. I've already patched the module on my own > to continue my development. I'll prepare a mail with the patches and > I'll send it to you. If you want I could add just few lines of > documentation for using the module, since I experienced some > difficulties in using it since the help is lacking
That would be wonderful! Archive::Rar doesn't have the best documentation. Show quoted text
> Just a question about cpan What does it mean "Annotate this POD" > beside each module ? What could anyone do with this feature ?
That's a link to the "annocpan" site where everybody can "edit" the documentation of modules in a wiki-like fashion. Well, it's not quite editing because you can't modify the original docs, but instead you can add your comments -- annotate. That being said, I haven't seen it used for any of my modules yet, nor have I used it myself. Best regards, Steffen
Subject: RE: [rt.cpan.org #32623] The overwrite option does not work well
Date: Mon, 28 Jan 2008 11:06:32 +0100
To: <bug-archive-rar [...] rt.cpan.org>
From: Francesco Rotondella <backslash [...] hotmail.com>
Hello Steffen. Here is attache the Rar.pm fixed by me. The "diff" between the Rar.pm and the original one (Archive::Rara 1-93) is quite clear. However there are the ticket numbers where I've made the fixing (I'm used to do in this way at work), for a faster finding the modifications made. I've fixed all the 4 tickets at the moment present. About the #32090, also if is better than a rar archive file has the .rar extension, I've fixed it. It's to you to decide if to accept it or not. Moreover I've added a new options: the way to extract files with a modified scheduler priority (for Unix-like systems only). If present the "-lowprio" option, the rar command is executed as "nice -19 rar etc. etc." that is the lowest priority provided by the nice command. I've done this because when I lanched my script, I was unable to do anything else on my PC. About the improving the documentation, I've just added some more examples (look into the Rar.pm file) just to make easier the way to use this module. I think I'm going to add some other feature in the next future. Let me know if you need some more info. Francesco Show quoted text
> Subject: Re: [rt.cpan.org #32623] The overwrite option does not work well > From: bug-Archive-Rar@rt.cpan.org > To: backslash@hotmail.com > Date: Fri, 25 Jan 2008 03:27:22 -0500 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=32623 > > > Hi Francesco, > > Francesco Rotondella via RT wrote:
> > Queue: Archive-Rar Ticket <URL: > > http://rt.cpan.org/Ticket/Display.html?id=32623 > > > > > Surely I could. I'm writing a perl script using this module and so > > I'm heavily using it now. I've already patched the module on my own > > to continue my development. I'll prepare a mail with the patches and > > I'll send it to you. If you want I could add just few lines of > > documentation for using the module, since I experienced some > > difficulties in using it since the help is lacking
> > That would be wonderful! Archive::Rar doesn't have the best documentation. >
> > Just a question about cpan What does it mean "Annotate this POD" > > beside each module ? What could anyone do with this feature ?
> > That's a link to the "annocpan" site where everybody can "edit" the > documentation of modules in a wiki-like fashion. Well, it's not quite > editing because you can't modify the original docs, but instead you can > add your comments -- annotate. > > That being said, I haven't seen it used for any of my modules yet, nor > have I used it myself. > > Best regards, > Steffen >
Show quoted text
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Subject: Re: [rt.cpan.org #32623] The overwrite option does not work well
Date: Mon, 28 Jan 2008 19:43:13 +0100
To: bug-Archive-Rar [...] rt.cpan.org
From: Steffen Mueller <smueller [...] ma2geo.mathematik.uni-karlsruhe.de>
Hi Francesco, Francesco Rotondella via RT schrieb: Show quoted text
> Let me know if you need some more info.
unfortunately, the patch hasn't made it through the ticketing system. Could you send it to me via eMail directly? Try smueller@cpan.org. Best regards, Steffen
This issue should be fixed by Archive::Rar 1.94 which was just released. It may take some time to propagate to all CPAN mirrors. Francesco, thanks again for your help!