bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH 12/25] New test: --continue shall keep fully retri


From: Matthew White
Subject: Re: [Bug-wget] [PATCH 12/25] New test: --continue shall keep fully retrieved Metalink files (HTTP 416)
Date: Tue, 13 Sep 2016 13:01:55 +0200

On Sun, 11 Sep 2016 22:51:27 +0200
Giuseppe Scrivano <address@hidden> wrote:

> Hi Matthew,
> 
> Matthew White <address@hidden> writes:
> 
> > [Coverity Scan is ok, make syntax-check is ok, make check-valgrind is ok, 
> > contrib/check-hard is ok]
> >
> > This introduces a new Metalink test to verify that when --continue is used, 
> > after a HTTP 416 answer a file that fails a sanity test isn't 
> > renamed/removed.
> >
> > The following description is verbatim from the patch:
> > -----
> > Ensure that --continue doesn't rename/remove existing and/or fully
> > retrieved files which fail the sanity tests.
> > -----
> 
> can this test be included together with the patch that introduces this change?

After amending, squashed with Patch 04/25, and inserted its update in the Patch 
11/25.
http://lists.gnu.org/archive/html/bug-wget/2016-09/msg00020.html
http://lists.gnu.org/archive/html/bug-wget/2016-09/msg00027.html

The series of patches is now all amended/rebased. There are still changes to do.

> 
> > +MetaXml = re.sub (r'{{FILE1_HASH}}', File1_sha256, MetaXml)
> > +MetaXml = re.sub (r'{{FILE2_HASH}}', File2_sha256, MetaXml)
> > +MetaXml = re.sub (r'{{FILE3_HASH}}', File3_sha256, MetaXml)
> > +MetaXml = re.sub (r'{{FILE4_HASH}}', File4_sha256, MetaXml)
> > +MetaXml = re.sub (r'{{FILE5_HASH}}', File5_sha256, MetaXml)
> > +MetaXml = re.sub (r'{{SRV_HOST}}', srv_host, MetaXml)
> > +MetaXml = re.sub (r'{{SRV_PORT}}', str (srv_port), MetaXml)
> > +MetaFile.content = MetaXml
> 
> would just MetaXml.replace be enough here as well?

Thanks, fixed here and in other patches.

Posting after final decisions are taken about open topics in this series of 
patches.

> 
> Thanks,
> Giuseppe

Regards,
Matthew

-- 
Matthew White <address@hidden>

Attachment: pgpEouVInMb4j.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]