taskmldonkey, a multi-networks file-sharing client - Tasks: task #4387, support zipped guarding.p2p

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #4387: support zipped guarding.p2p

Submitted by:  None
Submitted on:  Fri 08 Jul 2005 09:34:35 AM UTC  
 
Category:  Core Priority:  5 - Normal
Status:  None Assigned to:  None
Open/Closed:  Closed Should Start On:  Fri 08 Jul 2005 12:00:00 AM UTC
Should be Finished on:  Fri 08 Jul 2005 12:00:00 AM UTC

( Jump to the original submission)

Mon 18 Jul 2005 10:25:06 PM UTC, comment #10: 

Moved to patch #4184

spiralvoice <spiralvoice>
Project Administrator
Mon 18 Jul 2005 06:38:33 PM UTC, comment #9: 

Added support for gz files (still no tar files!), please test

spiralvoice <spiralvoice>
Project Administrator
Mon 18 Jul 2005 05:52:38 PM UTC, comment #8: 

Added support for bz2 files (not tar.bz2!), please test

spiralvoice <spiralvoice>
Project Administrator
Mon 18 Jul 2005 04:40:35 PM UTC, comment #7: 

Attached guarding_zip.patch, all files with web_kind "guarding.p2p"
and extension ".zip" or ".p2p.zip" are unzipped and loaded.

Use this line in web_infos:

  ("guarding.p2p", 96, "http://www.openmedia.info/downloads/guarding.p2p.zip");

or put the file mentioned above in the core directory.

spiralvoice <spiralvoice>
Project Administrator
Mon 18 Jul 2005 03:23:29 PM UTC, comment #6: 

I am working on it, using zip files works already, just found this:
http://raevnos.pennmush.org/code/camlzip/
A patched version of camlzip with tar and bz2 support:-)

spiralvoice <spiralvoice>
Project Administrator
Tue 12 Jul 2005 01:48:35 PM UTC, comment #5: 

Just been browsing a bit through the sources. The loading of the list is done in src/utils/net/ip_set.ml in the function 'load'. If we check here if it is a .zip and extract if needed, only the download url needs to be changed. The camlzip files can be used for extraction.

White_FrosT
Tue 12 Jul 2005 10:01:17 AM UTC, comment #4: 

We could include the code from CamlZip (http://cristal.inria.fr/~xleroy/software.html) to convert the guarding.p2p.zip to guarding.p2p.
I guess we would just need to include zip.ml/mli from this project and call it once if the downloaded file ends in '.zip' like this:

let extract zipfile =
  let ic = Zip.open_in zipfile in
  List.iter (extract_entry ic) (Zip.entries ic);
  Zip.close_in ic

White_FrosT
Sat 09 Jul 2005 07:42:46 AM UTC, comment #3: 

doesnt zlib support zip archives? the zlib website indicates it supports decompressing zip files (http://www.zlib.net)

though i agree that gzip and bzip2 are better zip is whats commonly used

Anonymous
Fri 08 Jul 2005 09:34:35 AM UTC, comment #2: 

This item has been reassigned from the project mldonkey, a multi-networks file-sharing client bugs tracker to your tracker.

The original report is still available at bugs #10464

Following are the information included in the original report:

[field #0]                  Item ID: 10464
[field #1]                 Group ID: 1409
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #5]                 Category: Core
[field #6]             Submitted by: None
[field #7]              Assigned to: None
[field #8]             Submitted on: Die 21.09.2004 um 19:49
[field #9]                  Summary: support zipped guarding.p2p
[field #10]      Original Submission: support for guarding.p2p.zip files will help both the supplies for guarding.p2p lists and the user that has to use external scripts to work with them
[field #12]               Item Group: Feature request
[field #13]                   Status: Postponed
[field #14]        Component Version: None
[field #15]         Platform Version: None
[field #16]          Reproducibility: None
[field #17]               Size (loc): None
[field #18]            Fixed Release: None
[field #19]          Planned Release: None
[field #20]                   Effort: 0.00
[field #24]                 Priority: 5 - Normal
[field #27]         Percent Complete: 0%
[field #29]                  Release: None
[field #54]          Binaries Origin: None
[field #55]                 CPU type: None
[field #56]                      CPU: None
[field #57]     Custom Select Box #4: None
[field #58]     Custom Select Box #5: None
[field #59]     Custom Select Box #6: None
[field #60]     Custom Select Box #7: None
[field #61]     Custom Select Box #8: None
[field #62]     Custom Select Box #9: None
[field #63]    Custom Select Box #10: None

spiralvoice <spiralvoice>
Project Administrator
Tue 15 Mar 2005 09:22:03 PM UTC, comment #1: 

ziping it as in pkzip is a bad idea (because it's an archive). compressing it with gzip or bzip2 would be better. supporting gzipped guarding.p2p would be relative easy as mldonkey already supports gzipped content for multiple things. i haven't tested it but doesn't the http-handler already support gzipped content, so it may already work with the appropriate http headers?

Amorphous <amorphous>
Fri 08 Jul 2005 09:34:35 AM UTC, original submission:  

support for guarding.p2p.zip files will help both the supplies for guarding.p2p lists and the user that has to use external scripts to work with them

Anonymous

 

Attached Files
file #3698:  guarding_zip.patch added by spiralvoice (94KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 10 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-18 spiralvoice Reassign ItemFrom group mldonkey, a multi-networks file-sharing client, task tracker => To group mldonkey, a multi-networks file-sharing client, patch tracker
2005-07-18 spiralvoice Reassign ItemFrom group mldonkey, a multi-networks file-sharing client, task tracker => To group mldonkey, a multi-networks file-sharing client, patch tracker
2005-07-18 spiralvoice Attached File- => Added guarding_zip.patch, #235
2005-07-18 spiralvoice Attached File#234 => Removed
2005-07-18 spiralvoice Attached File- => Added guarding_zip.patch, #234
2005-07-18 spiralvoice Attached File#233 => Removed
2005-07-18 spiralvoice Attached File- => Added guarding_zip.patch, #233
2005-07-08 spiralvoice CategoryNone => Core
2005-07-08 spiralvoice SummaryReassigned item: support zipped guarding.p2p => support zipped guarding.p2p
2005-07-08 spiralvoice Reassign itemFrom group mldonkey, a multi-networks file-sharing client, bugs tracker => To group mldonkey, a multi-networks file-sharing client, task tracker

Back to the top


Powered by Savane 3.7