Opened 16 years ago

Closed 16 years ago

#300 closed feature (fixed)

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 (2)

comment:1 by kjdon, 16 years ago

Owner: changed from nobody to kjdon
Status: newassigned

comment:2 by kjdon, 16 years ago

Resolution: fixed
Status: assignedclosed

Have restructured the plugins.

Hash stuff moved to new ticket #343

Note: See TracTickets for help on using tickets.