Difference between revisions of "Training Video:New Field Bazaar Package"
(Applied the template) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Howto]] | [[Category:Howto]] | ||
− | [[Category:Training_Video]] | + | [[Category:Training_Video|New Field Bazaar Package]] |
==Introduction== | ==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 | ||
− | ==Notes== | + | ==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 http://youtu.be/gKxmXuFAH3A]. | ||
+ | ====Index==== | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=00m00s 00:00 - introduction] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=00m15s 00:15 - identify new field to add to package] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=00m25s 00:25 - create new bazaar package] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=01m32s 01:32 - move phrase file to lib] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=02m25s 02:25 - copy field definition to lib subdirectory] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=03m07s 03:07 - creating a plugin to modify the workflow] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=03m50s 03:50 - key functions for a plugin] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=04m40s 04:40 - pull sample plugin code to use as base for new plugin] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=05m20s 05:20 - modify the sample to reflect new plugin] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=06m12s 06:12 - describe modifications to workflow] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=07m00s 07:00 - add plugin code to bazaar package] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=07m20s 07:20 - add the control screen details] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=08m00s 08:00 - remove explicit entries from the workflow] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=08m38s 08:38 - enable new plugin] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=09m05s 09:05 - debugging] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=10m55s 10:55 - test new field in workflow and add field phrase] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=11m30s 11:30 - move phrase from webcfg.xml to plugin phrase file] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=12m10s 12:10 - update the bazaar package to account for changes] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=12m25s 12:25 - publish new package to eprints bazaar and test installation] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=14m30s 14:30 - install package from bazaar] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=15m00s 15:00 - more debugging ] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=15m23s 15:23 - add missing files to the package - phrases and cfg files] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=16m08s 16:08 - publish new version to bazaar] | ||
+ | * [http://youtu.be/gKxmXuFAH3A?t=17m00s 17:00 - test installation on fresh repository] | ||
+ | |||
+ | ==== The Video==== | ||
+ | <youtube>gKxmXuFAH3A</youtube> | ||
+ | |||
+ | ====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 | ||
+ | |||
+ | ==More Reading== | ||
+ | |||
+ | * [[Training_Video:Add_A_Field | How to add a field]] | ||
+ | * [[Training_Video:Export_Plugin_Bazaar_Package | Building an exporter bazaar package]] |
Latest revision as of 17:25, 19 November 2015
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