On Monday 26 Aug 2013 19:18:00 leuchtkaefer wrote:
> 
> Hello,
>  
> 
> I am really having a lot of problems trying to understand and reuse the code 
> written on SpiderIndexUploader, specially mergeToDisk(Bucket data) a long  
> undocumented code that expands from 230 to 501 line.
> 
> I need that someone who knows the code well (maybe toad or infinity0 if he 
> has the time to put fingers again in his Library) documents the class 
> mentioned above and specially what that method should do. For instance, what 
> means the comment "// Do the upload" isn't it the upload done on 
> mergeToFreenet?
> 
> My code is not working as expected, but I clearly cannot say what is expected 
> since the reference code doesn't give any hint. Basically I just want that 
> all TermPageEntries that are stored on disk get merge fast and finally 
> uploaded to Freenet (see log below). I don't want to enter in details on my 
> current problem within this mail because the answer to this email may finish 
> in a confusing discussion. The thing that will really help me is that the 
> class becomes decently documented. 
> 
> 2013/08/26 17:20:28 | Created new disk dir for merging: 
> curator/identity1/library-temp-index-1
> 
> 2013/08/26 19:30:28 | Finished with disk index 
> curator/identity1/library-temp-index-1
> 
> 2013/08/26 19:38:11 | Uploaded index as USK to USK@w....

I have refactored and documented mergeToDisk and mergeToFreenet (pushed to 
plugin-Library-staging). This will require some work to merge the changes into 
your CuratorIndexUploader, but it should be worth it, it should be much more 
obvious. Please let me know if anything is still not clear.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to