I forgot to cc the devl list.

----------  Forwarded Message  ----------
Subject: Re: manifest tools patch: always update
Date: Wed, 13 Jun 2001 23:01:06 -0400
From: Gianni Johansson <[email protected]>
To: Greg Wooledge <greg at wooledge.org>


On Wednesday 13 June 2001 21:43, Greg wrote:

You can already update your site after the fact with "-update yes".  That
will insert a DBR for the current date.

This was the command line option that Freenet.client.InsertClient was using
at the time I pillaged the DBR code from it.  Maybe it has changed to support
"-future 0" since then...

-- gj

> > After yet another failed PutFiles run (this one having taken over an

hour),

> I finally decided to hack up PutFiles so that "-future 0" actually *works*,
> and I can insert my site "after the fact" (after the 00:00 deadline).
>
> Obviously, anyone requesting it between 00:00 and the time the MSK is
> finally inserted is out of luck, but it's better than losing a full day
> just because Fred barfs on *one* stinkin' file.
>
> Oh, and of course this hack is utterly naughty, and probably breaks some
> obscure functionality that everyone but me uses to keep their systems
> from crashing or something.  But It Works For Me.  (I even tested it.)
>
>
> Insert with "-future 0" after 00:00 instead of "-future 1" before 00:00.
> Use only as a last resort, when your normal insert failed.
>
>
> --- src/relentless/gj/cli/PutFiles.java.orig  Wed Jun 13 20:28:45 2001
> +++ src/relentless/gj/cli/PutFiles.java       Wed Jun 13 20:30:44 2001
> @@ -1230,7 +1230,7 @@
>                                           mf.getUpdate()
>                                           );
>
> -                     if (update) {
> +                     if (true) {
>                           if (baseline == null) {
>                               baseline = "20000101000000";
>                           }

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii";
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------

--
Web page inside Freenet:
freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//

-------------------------------------------------------

-- 
Web page inside Freenet:
freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to