Create Attachments on the local filesystem

Daniel Berlin dberlin at dberlin.org
Tue Oct 21 15:24:44 UTC 2003


On Oct 21, 2003, at 5:59 AM, David Miller wrote:

> On 10/21/2003 10:55 AM +0100, Gervase Markham wrote:
>
>> Jason Pyeron wrote:
>>
>>> To deal with the possiblity of huge files (100MB+) there will need 
>>> to be
>>> some archiving facilities.
>>
>> Why do you need 100MB attachments in a bug tracking system?
>
> Core files from huge apps, probably.  That's what Zippy wants big
> attachments for (we only have theirs at 25 MB though).  Theirs are 
> still in
> the database (and due to quirks with DBD::Sybase, are actually stored 
> as
> hexadecimal-encoded text, so it takes twice that space on the server).

Zlib::Compress is your friend.

That's what I have bugzilla do to gcc's attachments (which are large 
preprocessed source files) before writing them to the DB, and before 
reading them back.

--Dan




More information about the developers mailing list