Return-Path: Delivered-To: apmail-repository-archive@www.apache.org Received: (qmail 2632 invoked from network); 9 Jan 2007 15:45:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2007 15:45:24 -0000 Received: (qmail 45918 invoked by uid 500); 9 Jan 2007 15:45:29 -0000 Delivered-To: apmail-repository-archive@apache.org Received: (qmail 45809 invoked by uid 500); 9 Jan 2007 15:45:29 -0000 Mailing-List: contact repository-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: repository@apache.org List-Id: Delivered-To: mailing list repository@apache.org Received: (qmail 45645 invoked by uid 99); 9 Jan 2007 15:45:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 07:45:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of steve.loughran@gmail.com designates 64.233.162.239 as permitted sender) Received: from [64.233.162.239] (HELO nz-out-0506.google.com) (64.233.162.239) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 07:45:20 -0800 Received: by nz-out-0506.google.com with SMTP id l1so4200964nzf for ; Tue, 09 Jan 2007 07:45:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Oq/pDL8Go2LBRk3OmLNOjkyCCMrSO7/CbxfDEYlqoTuUqjzLKk5gq7YztSKNKAkpHm5dwV7AK1Kz3vdN6Za/d8XPyMH7u0JQxlkHpsWLL6JBr6HxGqcECa+h1jtFrLVwzxAcBihuBvKxQeuLVEr6RqmZDMYWKKH22e45y806NP8= Received: by 10.35.99.17 with SMTP id b17mr50892499pym.1168357500163; Tue, 09 Jan 2007 07:45:00 -0800 (PST) Received: by 10.35.26.3 with HTTP; Tue, 9 Jan 2007 07:45:00 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2007 15:45:00 +0000 From: "Steve Loughran" To: repository@apache.org Subject: Re: bad checksums against the ant poms In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1a5b6c410701081003o5bda0cb2nf234e4ef0ebb398e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 08/01/07, Steve Loughran wrote: > On 08/01/07, Carlos Sanchez wrote: > > Fixed. There was a good number of 0-byte checksums in the repo. > I'm having some fun getting this change to propagate to my tools. Even firefox was serving up the old version, until I did a shift-reload and the checksum came down properly, which means that the central squid proxy server had the old copy around. Ivy is still bailing out on an invalid sha1, which implies that either it is caching stuff locally (I do nt think so), or it is picking up the invalid stuff on the proxy. 1. If we can, somehow, the repository servers ought to publish etags or TTL on files; something like 24h or so. 2. Clients need a 'force' option which can be used to force download the new artifacts. there's various ways to do this a) by adding a ?timestamp value at the end of the URL. this works against mirrors.ibiblio.org b) by reading http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6 and adding cache-control:max-age=0 c) abusing etages and adding an If-None-Match: "made-up-etag-here" header I think for smartfrog I will use (b) Has anyone else hit problems like this? I can see Ivy doesnt invalidate the cache -what about maven wagon? -steve