roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <>
Subject [jira] Work started: (ROL-1815) Media Blogging: migrate old resources to new system
Date Tue, 21 Jul 2009 04:43:14 GMT


Work on ROL-1815 started by David Johnson.

> Media Blogging: migrate old resources to new system
> ---------------------------------------------------
>                 Key: ROL-1815
>                 URL:
>             Project: Roller
>          Issue Type: New Feature
>          Components: Database Access & Data Model
>            Reporter: David Johnson
>            Assignee: David Johnson
>            Priority: Critical
>             Fix For: 5.0
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> Must be able to migrate old File Upload resources to new Media File Upload format for
> Proposed solution:
> - Use new property names for the media-file storage and resource root URL
>    -${user.home}/roller_data/mediafiles
>    - mediafiles.resource.url=/resources
> - On startup, if Roller finds that the 'uploads.dir' property is set and 
>   points to a valid directory, then Roller will check the directory for files 
>   and a migration-status file. If migration status is incomplete, then Roller 
>   will resume migration until complete.
> - Migrating a file means copying it from the old 'uploads.dir' to the new 
>   '' directory, but doing so by using only native Java SE 
>   file APIs and the new MediaFile manager to do so (i.e. do not depend on the 
>   old FileManager interface, which will be removed).
>   (do it via copy so that old URLs still work until FileManager is refactored
>   out of existance, see ROL-1816)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message