[EP-tech] CLI Import
CARRICK Ray
rcarric2 at exseed.ed.ac.uk
Thu Jan 22 16:09:30 GMT 2015
Hi folks,
I have created a import plugin which uses the eprints/bin/import command
http://wiki.eprints.org/w/API:bin/import
and have 2 problems with it.
1. in the doc it says you can pass arguments to the plugin by
--argument key=value
this doesn't seem to be implemented in version EPrints 3.2.2 (Chocolate Cake)
2. the return value of the plugin seems to get hidden by the import command. If I test the return value of the import command in a shell script it seems to return success no matter what.
Is there any other way to pass in parameters to the plugin and any way to get the success/failure of the plugin back out.
Any thoughts appreciated.
Thanks,
Ray.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150122/f5943536/attachment.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150122/f5943536/attachment.pl
More information about the Eprints-tech
mailing list