Difference between revisions of "API:tools/epm"

From EPrints Documentation
Jump to: navigation, search
(Created page with '<!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints 3.2 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' com…')
(No difference)

Revision as of 14:06, 16 December 2011

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

epm - EPrints Package Manager

User Comments


SYNOPSIS

epm command [options]

Where command is one of:

 build
 disable
 enable
 install
 link_lib
 list
 uninstall
 unpack
 

User Comments


OPTIONS

User Comments


--verbose

User Comments


--force

User Comments


--help

User Comments


--man

User Comments


--epm package_path

Read metadata from the epm at package_path when building.

User Comments


--version

Set the version when building.

User Comments


COMMANDS

User Comments


build package file1 file2 ...

Build a new package called package from a list of files.

 ./epm build endnote \
   lib/plugins/EPrints/Plugin/Export/EndNote.pm \
   lib/epm/endnote.pl
 

Where lib/epm/endnote.pl contains:

 $c->{plugins}{"Export::EndNote"}{params}{disable} = 0;
 

User Comments


disable repository package

Disable the package for repository. This will trigger a configuration reload.

User Comments


enable repository package

Enable the package for repository. This will trigger a configuration reload.

User Comments


install package_path

Install a package located at package_path.

User Comments


link_lib package

Soft-link all files in the package under lib/ to a directory tree lib/ below the package's home directory. This is a utility method for developers.

User Comments


list

List all installed packages.

User Comments


uninstall package

Uninstall the installed package package.

User Comments


unpack package_path

Unpack the files contained in package_path to the current directory. This is equivalent to tar -xf package_path.

User Comments


COPYRIGHT

User Comments