Jump to content

API:tools/epm: Difference between revisions

From EPrints Documentation
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 edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!-- Pod2Wiki=_preamble_  
<!-- 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' comments will be lost.
This page has been automatically generated from the EPrints 3.2 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=tools/epm.pm|package_name=tools/epm}}[[Category:API|TOOLS/EPM]][[Category:API:tools/epm|TOOLS/EPM]][[Category:API:tools/epm|TOOLS/EPM]]<div><!-- Edit below this comment -->
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=tools/epm|package_name=tools/epm}}[[Category:API|TOOLS/EPM]][[Category:API:tools/epm|TOOLS/EPM]][[Category:API:tools/epm|TOOLS/EPM]]<div><!-- Edit below this comment -->




Line 27: Line 27:
   link_lib
   link_lib
   list
   list
  rebuild
   uninstall
   uninstall
   unpack
   unpack
Line 179: Line 180:


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.
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.
Use --force to overwrite existing files.


<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
Line 191: Line 194:


List all installed packages.
List all installed packages.
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
<span style='display:none'>User Comments</span>
<!-- Edit below this comment -->
<!-- Pod2Wiki= -->
</div>
<!-- Pod2Wiki=item_rebuild -->
===rebuild===
Rewrite the .epm and .epmi files. This is a utility method for developers.


<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>

Latest revision as of 15:24, 16 December 2011

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


NAME[edit]

epm - EPrints Package Manager

User Comments


SYNOPSIS[edit]

epm command [options]

Where command is one of:

 build
 disable
 enable
 install
 link_lib
 list
 rebuild
 uninstall
 unpack
 

User Comments


OPTIONS[edit]

User Comments


--verbose[edit]

User Comments


--force[edit]

User Comments


--help[edit]

User Comments


--man[edit]

User Comments


--epm package_path[edit]

Read metadata from the epm at package_path when building.

User Comments


--version[edit]

Set the version when building.

User Comments


COMMANDS[edit]

User Comments


build package file1 file2 ...[edit]

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[edit]

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

User Comments


enable repository package[edit]

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

User Comments


install package_path[edit]

Install a package located at package_path.

User Comments


link_lib package[edit]

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.

Use --force to overwrite existing files.

User Comments


list[edit]

List all installed packages.

User Comments


rebuild[edit]

Rewrite the .epm and .epmi files. This is a utility method for developers.

User Comments


uninstall package[edit]

Uninstall the installed package package.

User Comments


unpack package_path[edit]

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

User Comments


COPYRIGHT[edit]

User Comments