Reuben Thomas wrote:
> On 17 March 2011 07:25, Jim Meyering <[email protected]> wrote:
>>
>> reuben-stable:
>> $(MAKE) stable
>> $(MAKE) upload
>> $(MAKE) send-announcement
>
> Nice.
>
>> But you'll want a delay between the upload and the actual announcement.
>> At least when uploading to ftp.gnu.org, you have to wait for a while
>> (10-20m)
>
> That's odd, I've never noticed that being a problem. Freshmeat refuses
> to process an announcement if it can't find a release tarball, but
> it's never failed for me, so I guess they must have a longer queue
> delay than ftp.gnu.org...
>
>> This suggests an added rule, where verify-uploads would wait for URLs
>> to become valid, and when they do, download each tarball/signature pair
>> and gpg --verify them:
>>
>> reuben-stable:
>> $(MAKE) stable
>> $(MAKE) upload
>> $(MAKE) verify-uploads
>> $(MAKE) send-announcement
>
> Indeed. But anyway, not (yet) worth doing anything about in gnulib. Phew.
FYI, I'm making a release of vc-dwim, and while I was writing
this scriptlet, the URLs became valid:
# Wait for a URL to become available:
u=http://ftp.gnu.org/gnu/vc-dwim/vc-dwim-1.4.tar
for i in $(seq 100); do echo $i;
wget -O - $u.xz.sig > /dev/null && break; sleep 10
done
Here's a snippet to download and verify my xz and gz signatures:
u=http://ftp.gnu.org/gnu/vc-dwim/vc-dwim-1.4.tar
for i in xz gz xz.sig gz.sig; do
wget --quiet $u.$i || break
case $i in *.sig) gpg --verify $(basename $u).$i;; esac
done