Difference between revisions of "EPrints 3 Configuration orientation for EPrints 2 administrators"

From EPrints Documentation
Jump to: navigation, search
(ArchiveConfig.pm)
(ArchiveConfig.pm)
Line 18: Line 18:
 
The main ArchiveConfig.pm module from EPrints 2 has also been split into several smaller files.
 
The main ArchiveConfig.pm module from EPrints 2 has also been split into several smaller files.
  
The way in which the configuration files are loaded has also changed. In EPrints 2, ArchiveConfig.pm (or another named module) was responsible for loading the other configuration files. EPrints 3 makes this process simpler by automatically loading all the configuration files in the [[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/cfg.d|main repository configuration directory]], in alphabetical order:
+
The way in which the configuration files are loaded has also changed. In EPrints 2, ArchiveConfig.pm (or another named module) was responsible for loading the other configuration files. EPrints 3 makes this process simpler by automatically loading all the configuration files in the [[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/cfg.d|main repository configuration directory]]:
  
 
  /opt/eprints3/archives/ARCHIVEID/cfg/cfg.d/
 
  /opt/eprints3/archives/ARCHIVEID/cfg/cfg.d/

Revision as of 18:05, 24 January 2007

Warning This page is under development as part of the EPrints 3.0 manual. It may still contain content specific to earlier versions. Manuals for previous versions of EPrints are also available.

Whereas EPrints 2 had comparatively fewer (but larger) configuration files, EPrints 3 splits these up into several smaller files (with filenames that make finding specific configuration options much easier!). The configuration directory structure has also been reshuffled to store the configuration files more logically. The migration tool converted your EPrints 2 configuration automatically - this orientation guide is intended to help you re-orient yourselves in your new EPrints 3 set up.

ARCHIVEID.xml

The configuration settings in the top level repository settings file have been split into several EPrints 3 files:

ArchiveConfig.pm

The main ArchiveConfig.pm module from EPrints 2 has also been split into several smaller files.

The way in which the configuration files are loaded has also changed. In EPrints 2, ArchiveConfig.pm (or another named module) was responsible for loading the other configuration files. EPrints 3 makes this process simpler by automatically loading all the configuration files in the main repository configuration directory:

/opt/eprints3/archives/ARCHIVEID/cfg/cfg.d/

You may have changed:

You probably didn't change:

And there are still some miscellaneous bits left over in misc.pl.

Submission customisation (the submission_stage_skip and submission_hide_* options} is now defined within the deposit workflow itself. Also, entities like archivename and base_url are no longer created; instead the {..} notation is used to include configuration strings in the site template, phrases and static content pages.