EPrints Technical Mailing List Archive
Message: #03835
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] CLI Import
- To: "(eprints-tech@ecs.soton.ac.uk)" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] CLI Import
- From: CARRICK Ray <rcarric2@exseed.ed.ac.uk>
- Date: Thu, 22 Jan 2015 16:09:30 +0000
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.
|
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- Follow-Ups:
- [EP-tech] Re: CLI Import
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: CLI Import
- Prev by Date: [EP-tech] Re: Edit page error
- Next by Date: [EP-tech] Can't find configuration files
- Previous by thread: [EP-tech] Edit page error
- Next by thread: [EP-tech] Re: CLI Import
- Index(es):