Ticket #300 (closed feature: fixed)

Opened 12 years ago

Last modified 12 years ago

Restructure base plugins

Reported by: kjdon Owned by: kjdon
Priority: low Milestone: Release 2.81
Component: Collection Building Severity: enhancement
Keywords: build-overhall Cc:


Make a BasTxtPlug? and BasBinaryPlug?, both inherit from BasPlug?, then others inherit from these. Can we get rid of read in other plugins if we do this? Currently binary plugins need to overrise read so that the file is not read in.

Have a setting for whether hash ids should be generated by hashing on the file or by using the doc.xml. Txt ones will always hash on the file? Binary ones will often not want to hash on the file eg videos. But eg images may still want to. hashing archive file, ignore date. others??

Where does UnknownPlug? fit?

Change History

Changed 12 years ago by kjdon

  • owner changed from nobody to kjdon
  • status changed from new to assigned

Changed 12 years ago by kjdon

  • status changed from assigned to closed
  • resolution set to fixed

Have restructured the plugins.

Hash stuff moved to new ticket #343

Note: See TracTickets for help on using tickets.