On Tue, Nov 02, 2010 at 06:31:45PM -0400, Peter Dietz wrote:
> I would vote to remove the perl scripts: dspace-info.pl, dspace_migrate,
> log-reporter

Well, dspace-info.pl would be nice to have, but it doesn't work on a
properly secured server (since tomcat and postgres shouldn't have
access to each other's internal data), and I don't see how it could
conveniently be made to, unless run as root.

Those truly heroic 'sed' pipelines in dspace_migrate could probably be
turned into an XSL transform and the whole thing redone in Java.  Then
the launcher can invoke it.  That would also make this operation
available to Windows sites.

I took a quick look at log-reporter and didn't see anything obvious
that would make it difficult to translate to Java.  This and
dspace-info.pl are the last two bits of Perl in the product.  I've no
objection to Perl myself, but there seems to be some movement to
remove it from DSpace's requirements, and that wouldn't be a Bad Thing.

Or they could all move to a "contrib" directory:  nice things to have,
but breakage would not be considered cause to delay a release.

> I don't know what to say about the handle shell scripts though, since we had
> to create 1.6.1 specifically to address starting the handle server.

IMO we shouldn't be shipping scripts for configuring and starting
someone else's product.  We should just say what needs to be
customized, and how, to link it with DSpace.  make-handle-config has
fallen out of sync. with the product in the past, and time taken to
maintain start-handle-server would be better spent on e.g. Commons
Daemon-izing the Handle server to make it more readily usable in a
production environment.  The current scripts couple DSpace too tightly
to the Handle System -- if we need for it to be easier to use with
DSpace, we should put our effort there, not here.

It looks to me as though the bulk of the work in start-handle-server
is very like some of what the launcher does.  Why not invent 'dspace
classpath' to facilitate minor customization of a more generic
initscript for the Handle server (when it has one) and then drop
start-handle-server?  [type, type] OK, I invented it:  see DS-737.

Hmmm, a look at the launcher shows that it has a make-handle-config
command, so maybe we don't need bin/make-handle-config anyway?

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Balance your desire for bells and whistles with the reality that only a 
little more than 2 percent of world population has broadband.
        -- Ledford and Tyler, _Google Analytics 2.0_

Attachment: pgp8v9CTgF0n5.pgp
Description: PGP signature

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to