mldonkey-tasks
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4387] support zipped guarding.p2p


From: spiralvoice
Subject: [Mldonkey-tasks] [task #4387] support zipped guarding.p2p
Date: Mon, 18 Jul 2005 22:24:36 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.7) Gecko/20050418 Firefox/1.0.3 (MOOX M2)

URL:
  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4387>

                 Summary: support zipped guarding.p2p
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: None
            Submitted on: Fre 08.07.2005 um 09:34
                Category: Core
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Should Start On: Fre 08.07.2005 um 00:00
   Should be Finished on: Fre 08.07.2005 um 00:00

    _______________________________________________________

Details:

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

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 18.07.2005 um 18:38       By: spiralvoice <spiralvoice>
Added support for gz files (still no tar files!), please test

-------------------------------------------------------
Date: Mon 18.07.2005 um 17:52       By: spiralvoice <spiralvoice>
Added support for bz2 files (not tar.bz2!), please test

-------------------------------------------------------
Date: Mon 18.07.2005 um 16:40       By: spiralvoice <spiralvoice>
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.

-------------------------------------------------------
Date: Mon 18.07.2005 um 15:23       By: spiralvoice <spiralvoice>
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:-)

-------------------------------------------------------
Date: Die 12.07.2005 um 13:48       By: Anonymous
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.

-------------------------------------------------------
Date: Die 12.07.2005 um 10:01       By: Anonymous
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



-------------------------------------------------------
Date: Sam 09.07.2005 um 07:42       By: Anonymous
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

-------------------------------------------------------
Date: Fre 08.07.2005 um 09:34       By: spiralvoice <spiralvoice>
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<br />[field #1]                
Group ID: 1409<br />[field #2]              Open/Closed: Open<br />[field #3] 
               Severity: 3 - Normal<br />[field #4]                  Privacy:
Public<br />[field #5]                 Category: Core<br />[field #6]         
   Submitted by: None<br />[field #7]              Assigned to: None<br
/>[field #8]             Submitted on: Die 21.09.2004 um 19:49<br />[field #9]
                 Summary: support zipped guarding.p2p<br />[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<br />[field #12]               Item Group: Feature
request<br />[field #13]                   Status: Postponed<br />[field #14] 
      Component Version: None<br />[field #15]         Platform Version:
None<br />[field #16]          Reproducibility: None<br />[field #17]         
     Size (loc): None<br />[field #18]            Fixed Release: None<br
/>[field #19]          Planned Release: None<br />[field #20]                 
 Effort: 0.00<br />[field #24]                 Priority: 5 - Normal<br
/>[field #27]         Percent Complete: 0%<br />[field #29]                 
Release: None<br />[field #54]          Binaries Origin: None<br />[field #55]
                CPU type: None<br />[field #56]                      CPU:
None<br />[field #57]     Custom Select Box #4: None<br />[field #58]    
Custom Select Box #5: None<br />[field #59]     Custom Select Box #6: None<br
/>[field #60]     Custom Select Box #7: None<br />[field #61]     Custom
Select Box #8: None<br />[field #62]     Custom Select Box #9: None<br
/>[field #63]    Custom Select Box #10: None<br />

-------------------------------------------------------
Date: Die 15.03.2005 um 21:22       By: Amorphous <amorphous>
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?







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 18.07.2005 um 18:38  Name: guarding_zip.patch  Size: 93,93KB   By:
spiralvoice

<http://savannah.nongnu.org/task/download.php?item_id=4387&item_file_id=235>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4387>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]