On Tue, Sep 23, 2008 at 02:19:45PM +1000, Gary Browne wrote:
> It's great how everything in DSpace 1.5 is maintained within the source
> code directory, makes support so much easier.

I must disagree.  I think it's a nasty muddle and I hope to find some
time to disentangle it.

>                                               Only thing is, there are
> exceptions. I just had a complaint (well, a query) from my repository
> manager that the sidebar news that he changed had reverted to the
> previous version. This happened after I had done a rebuild and deploy.

I've had similar mishaps here.  That's why I now have a separate SCM
branch for production configuration data, so I can get back what's
supposed to be there should another update mess it up.

> So I made some changes to the sidebar news from the GUI (JSP) and sure
> enough, the changes are written to [dspace]/config/news-side.html,
> rather than [dspace-source]/dspace/config/news-side.html. The
> news-top.html seems to suffer the same fate ie: everytime I rebuild, the
> news html pages in the install directory are overwritten with those from
> the source directory (as they should be).

As they should NOT be, I would say.  An install script should NEVER
override existing configuration data.  IMO [dspace-source]/config should
be a collection of templates for supplying missing files only.  If the
target file already exists then it should not be touched.

> Would be great if this behaviour could be changed to reflect the general
> ideology of maintaining changes within the source - unless I'm mistaken
> about this ideology?

I hope that you are but fear that you are not.

>                      I guess currently DSpace has no way of knowing
> where your source code is?

Correct.  And that's as it should be.  In some cases here there is no
source anywhere on the machine that actually runs DSpace.

We'd avoid a lot of surprise and complexity if there were a cleaner
separation between build-time, install-time, and run-time configuration.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.

Attachment: pgpqP3ZlLbwL0.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to