Roundup Tracker - Issues

Issue 2550513

Title: Add support for external files
Type: rfe Severity: normal
Components: Database Versions: devel
Status: new Resolution:
Dependencies: Superseder:
Assigned To: stefan Nosy List: lu_zero, rouilj, stefan
Priority: Keywords:

Created on 2009-02-20 14:37 by stefan, last changed 2016-07-10 19:21 by rouilj.

msg3564 Author: [hidden] (stefan) Date: 2009-02-20 14:37
The hyperdb.FileClass type is used to represent file content. It
provides interfaces for storing and retrieving files into / from a database.

In some contexts it may be desirable to allow external tools to manage
the file itself, yet allow Roundup to include it in its schema (allow
other types to link to it), and serve the file the same way it serves
'internal' content.

To implement this, I propose the following:

Add a hyperdb.ExternalFileClass type (possibly deriving it from
hyperdb.FileClass) that, instead of a 'content' attribute, has a
'filename' (or perhaps generalized: 'url') attribute. The implementation
of internal file access is handled by backends/, very
similar to how FileClass is handled right now.

The frontends themselves are not affected by this, as to the user there
is no distinction between external and internal files (this is the whole
point !)
msg5821 Author: [hidden] (rouilj) Date: 2016-07-10 19:21
Stefan have you seen issue2550677? It's a neat way of enhancing the
class interface. In it's current form it augments
FileClass and implements transparent compressed file contents.

I could see it accepting an external url in the content field
and returning the content of the url upon a get.

-- rouilj
Date User Action Args
2016-07-10 19:21:39rouiljsetnosy: + rouilj
messages: + msg5821
2009-02-20 15:39:50lu_zerosetnosy: + lu_zero
2009-02-20 14:37:30stefancreate