Add/remove configured fields from the database

Brody, Tim Add/remove configured fields from the database.

[img] gzipped tarball - Other
Available under License Creative Commons GNU GPL (Software).

2kB (38 downloads)
Item Type: Patch
EPrints Version: EPrints 3
License: GPL
EPrints Version: EPrints 3
Creators Name: Brody, Tim
Date Deposited: 12 Jul 2007 12:12
Last Modified: 14 May 2010 12:18
Date Deposited: 12 Jul 2007 12:12

Abstract

Utility scripts that allow adding/removing fields from the database. To add a field to eprints: - Add the configuration for the field to cfg.d/{eprints|user}_fields.pl - execute ./bin/add_field <repository> {eprint|user} <field_name> To remove a field: - execute ./bin/remove_field <repository> {eprint|user} <field_name> - Remove the configuration for the field from cfg.d/{eprints|user}_fields.pl

Installation

Unpack the tarball in your eprints root directory. Patch Database as follows (if patch fails in the dry-run don't try patching - it will just break your Database.pm): patch -p0 --dry-run < Database.pm.patch patch -p0 < Database.pm.patch


Repository Staff Only: edit this item