Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-03-06 Thread Giacomo A. Catenazzi
Eddy Petrişor" wrote: > I managed to test it on MAC OS X with fink and found an interesting > thing: not all regex implmentation work well enough to write something > like: 'sed -e s/[, ]\+/ /g' so I changed this into "sed -e s/[, ]/ /g > | tr -s ' '" correct. "+" is an extended regex, and sed sho

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-03-06 Thread Eddy Petrişor
On 2/28/06, Eddy Petrişor <[EMAIL PROTECTED]> wrote: > > I think you should introduce the test only if fetch script > > should wait. And in this case we have already a numeric argument. > > > > Done, but i am not sure if the generated code is the correct one. (I > just made the modifications and I

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-28 Thread Eddy Petrişor
On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > > I was refering to this: > > > >> give in my debian machine: > >> do_wget() > >> { wget -t3 -nv -O $2 $1 > >> [ ! -z sleep is /bin/sleep ] && sleep "" > >> return $? > > > > the 'sleep ""' should be "sleep SOMETHING-NUMERIC" > > > > o

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Giacomo A. Catenazzi
Eddy Petrişor wrote: On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: Eddy Petrişor wrote: Would you like to make the changes for the sleep period to be always defined? I will have access to the code only this evening, so the patch would be available only tomorrow. What do you mean?

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Eddy Petrişor
On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > Eddy Petrişor wrote: > > Would you like to make the changes for the sleep period to be always > > defined? I will have access to the code only this evening, so the > > patch would be available only tomorrow. > > What do you mean? On norm

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Giacomo A. Catenazzi
Eddy Petrişor wrote: Would you like to make the changes for the sleep period to be always defined? I will have access to the code only this evening, so the patch would be available only tomorrow. What do you mean? On normal usage, the fetch script should not sleep. And the other issues are only

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Eddy Petrişor
On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > > Note: I din't understood what has changed, but the test for the > > existance of sleep should not miss as it would break the whole > > download script instead of gracefully failing ;-) > > I don't understand. > It would write an error

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Giacomo A. Catenazzi
Eddy Petrişor wrote: On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: Eddy Petrişor" wrote: an other maybe better version at the beginning (only on home computer) if [ "${SLEEPTIME}" ] ; then SLEEPCMD="sleep ${SLEEPTIME} || true" I don't understand the reason behind the part wi

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Eddy Petrişor
On 2/27/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > Eddy Petrişor" wrote: > >>an other maybe better version > >> > >>at the beginning (only on home computer) > >>if [ "${SLEEPTIME}" ] ; then > >>SLEEPCMD="sleep ${SLEEPTIME} || true" > > > > > > I don't understand the reason behind the

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-27 Thread Giacomo A. Catenazzi
Eddy Petrişor" wrote: >>an other maybe better version >> >>at the beginning (only on home computer) >>if [ "${SLEEPTIME}" ] ; then >>SLEEPCMD="sleep ${SLEEPTIME} || true" > > > I don't understand the reason behind the part with "|| true" > > This should do: > SLEEPCMD="type sleep && sleep ${SLE

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-26 Thread Eddy Petrişor
> an other maybe better version > > at the beginning (only on home computer) > if [ "${SLEEPTIME}" ] ; then > SLEEPCMD="sleep ${SLEEPTIME} || true" I don't understand the reason behind the part with "|| true" This should do: SLEEPCMD="type sleep && sleep ${SLEEPTIME}" > else > SLEEPCMD="

Bug#353486: [patch] apt-zip-0.13.5 improvements / maybe a 0.13.6 release

2006-02-18 Thread Eddy Petrişor
Package: apt-zip Severity: wishlist Tags: patch Hello Giacomo, I have worked a little on the apt-zip package trying to close a few bugs ad making improvemnts. I have attached a current (my version) modified version of apt-zip (full source) and a patch that should provide the same thing starting