A suggestion:  since the DSpace API is rather heavy and takes a while
to start, folks who have many accounts to add would probably
appreciate the option to provide a file of identity records, rather
than start bin/dspace 100 times in a row.

If the file looked something like:

  add-user -u USERID -n "NAME" -p PHONE -m EMAIL ...

then that would leave room for the inevitable:

  delete-user -u USERID

and perhaps even:

  alter-user -u USERID -p PHONE ...

and you probably could use the same commandline parser for records in
the file that you do for a single-user invocation.

Some other thoughts:

o  some sites may want to pipe an identities file in, so "-" could be
   recognized for special treatment in the usual way.  Such a site
   would probably also want status messages to be regular enough to
   be readily machine-readable.

o  sites that want to drive single-user invocations at the end of a
   pipeline may want to provide the password on another pipe so that it
   isn't on the commandline and won't show up on 'ps'.  Typically this
   means passing an FD number as the value of some option.

These are all things it would be nice to have, though they might have
to wait since IIRC you're on a tight deadline.  Just to avoid making
it difficult to add them later would be much appreciated.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Asking whether markets are efficient is like asking whether people are smart.

Attachment: pgpSekK6spTEb.pgp
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to