EPrints Files

Follow Us



Registered Users

Free registration allows you to upload your own items and save searches (which can become email-alerts).

Add/remove configured fields from the database

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

Full text available as:

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

2936b
Item Type: Patch
EPrints Version: EPrints 3
License: GPL
EPrints Version: EPrints 3
Creators Name: Brody, Tim
Date Deposited: 12 Jul 2007 13:12
Last Modified: 12 Jul 2007 13:12
Date Deposited: 12 Jul 2007 13: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