Build a simple way to verify if a DSpace upgrade was "successful"
-----------------------------------------------------------------
Key: DS-439
URL: http://jira.dspace.org/jira/browse/DS-439
Project: DSpace 1.x
Issue Type: New Feature
Components: DSpace API
Reporter: Tim Donohue
Priority: Minor
I've had this come up in a couple email discussions with individual DSpace
users. The question to be answered is "How do I tell if an upgrade was
successful?"
It seems like it should be possible to build a simple script that could
"compare" your local DSpace Installation Directory (i.e. [dspace]) with what
was built in [dspace-src]/dspace/target/dspace-[version]-build.dir/
So, as a very simple example, perhaps we could build a script that could check
to be sure that the following is correct in your [dspace] directory:
(1) Check that your [dspace]/lib/ has the same JAR files as listed in the
[dspace-src] target directory
(2) Check that your [dspace]/config/ has all the same configuration files as
listed in [dspace-src] target directory
(3) Check that your dspace.cfg file has the same keys (not necessarily in same
order though) as those listed in the out-of-the-box dspace.cfg in [dspace-src]
target
Those are some extremely simple checks that we could likely make via a command
line script, that may be helpful to users who wonder whether their upgrade was
successful or not. We'd never be able to say with 100% certainty that the
upgrade was successful, but we could say that the "Configurations and APIs have
been verified".
Not sure if others think this is a useful idea or not?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel