Training Video:New Field Bazaar Package
Contents
Introduction
This videa is a walkthrough of converting a new field as created in Training_Video:Add_A_Field into a bazaar package, including modifying the workflow.
What You Will Learn
- How to build a bazaar package
- How to modify the workflow with a bazaar package
- Adding missing phrases to a bazaar package
What You Should Already Know
- How to access EPrints administration areas
- How to add a field to EPrints Training_Video:Add_A_Field
- Basics of Perl
- Basics of XML
Resources
Video
The Video can be found at http://youtu.be/gKxmXuFAH3A.
Index
- 00:00 - introduction
- 00:15 - identify new field to add to package
- 00:25 - create new bazaar package
- 01:32 - move phrase file to lib
- 02:25 - copy field definition to lib subdirectory
- 03:07 - creating a plugin to modify the workflow
- 03:50 - key functions for a plugin
- 04:40 - pull sample plugin code to use as base for new plugin
- 05:20 - modify the sample to reflect new plugin
- 06:12 - describe modifications to workflow
- 07:00 - add plugin code to bazaar package
- 07:20 - add the control screen details
- 08:00 - remove explicit entries from the workflow
- 08:38 - enable new plugin
- 09:05 - debugging
- 10:55 - test new field in workflow and add field phrase
- 11:30 - move phrase from webcfg.xml to plugin phrase file
- 12:10 - update the bazaar package to account for changes
- 12:25 - publish new package to eprints bazaar and test installation
- 14:30 - install package from bazaar
- 15:00 - more debugging
- 15:23 - add missing files to the package - phrases and cfg files
- 16:08 - publish new version to bazaar
- 17:00 - test installation on fresh repository
The Video
Notes, Errata and Additional Information
- EPrints 3.3.14
- Ubuntu 15.04
Test Yourself
- Create a bazaar package to add a new field to the repository
- Modify the bazaar package to include the new field in the workflow