On 30 Dec 2000, Mr.Bad wrote:

> >>>>> "BC" == Benjamin Coates <[EMAIL PROTECTED]> writes:
> 
>     BC> Mr. Bad: Can you support date-based redirects in
>     BC> freenetmirror?  That would make for a farily straightforward
>     BC> package to create a freenet-website...
> 
> Not yet, no. Remember, you just updated the code to do this about 48
> hours ago, man!

Catch-22. We need support for the latest stuff in freenetmirror so we can
test the latest stuff. IMHO you should add support for these and MSKs.
Then we can really start to beat on them. Support for MSKs is really
trivial, you just need to insert the stuff in the specified directory as
CHKs and add their filename/CHK pairs to a hashtable. Then read through
and insert the hashtable under the key specified in -mapFile (or another
key redirected to from it, if it's a KSK).

The date-based redirects are already in InsertClient, so it shouldn't be
very hard to copy them. Quite a few options, but they all make sense. I
don't like a the format of the key. For example,

        freenet:SSK@AwypMJH9hhiQWxwb0m6CygNe3~Cm6Y15/20001230000000-blah

could more intuitively be

        freenet:SSK@AwypMJH9hhiQWxwb0m6CygNe3~Cm6Y15/blah/20001230000000

or maybe

        freenet:SSK@AwypMJH9hhiQWxwb0m6CygNe3~Cm6Y15/20001230000000/blah

and that bugs me. I also didn't like the fact that the key you redirect to
has to be in the same subspace (or a KSK) as the redirect. But on second
thought it makes the code easier to write and use, and it mandates that
all redirects to subspaces are actually in the subspace, as opposed to an
insecure KSK, so it encourages others to link directly to the redirect
within the subspace, as they should.

> I don't think I'll make this change until date-based redirects are in
> the stable branch. And if someone suggests moving them there, I'm
> gonna scream! "stable" shouldn't mean "Everything except what Oskar's
> checking in."

Shouldn't stable mean "We've tried this stuff for a week with
freenetmirror and it all seems to work."?


-- 
Mark Roberts
[EMAIL PROTECTED]


_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to