RS "Version Numbers" and SVN "Revision" numbers

69 views
Skip to first unread message

Peter Payzant

unread,
Apr 28, 2020, 3:30:28 PM4/28/20
to ResourceSpace
I have a terribly out-of-date RS installation which I'd like to bring up to date. The installation check shows that I have version "Subversion r9275".

The topic "Upgrading" in the knowledge base says that, if you are using Subversion, the incantation goes something like:

svn switch...{version}

However, I can't find anything on generating an SVN version number from the RS version numbers. I know this has been asked in the past but I wasn't able to locate the discussion. Can someone go through this one more time, please?

Regards

--- Peter

Peter Payzant

unread,
May 4, 2020, 1:35:19 PM5/4/20
to ResourceSpace
There hasn't been a reply to this query as far as I can tell. If anyone knows the answer and can spare a few minutes to explain how this works, I'd be very grateful. Thanks.
--- Peter

Mike Perry

unread,
May 4, 2020, 2:49:30 PM5/4/20
to ResourceSpace
The svn command 'switch' is issued to perform a RS version upgrade. The {version} you enter is the RS version to which you want to upgrade (no brackets). The good news is you don't need to know the current RS version to do this.

You may need to upgrade Subversion.

I'm no subversion expert, and won't guarantee a good outcome :-)

All that said:

Backup, backup, backup! -- especially the database and filestore folder. Make sure you have all site files backed up, especially include/config.php which may have specific customizations implemented.

My current install shows this in Installation Check:  ResourceSpace | version SVN 9.2. Tells me it's a Subversion upgrade to ResourceSpace version 9.2. I know this was an upgrade from RS 8.6.

Hope this helps -- it's not much. I know enough to be a little dangerous. . .

Peter Payzant

unread,
May 5, 2020, 8:47:43 AM5/5/20
to resour...@googlegroups.com
Hello, Mike-

Thanks for getting back to me about this - I appreciate you taking the time to do so.

A little research on SVN revealed the following incantation:

svn log http://svn.resourcespace.com/svn/rs/releases

which lists the history of changes made to RS. Each change appears to have a revision number. They're up to r14735 now. There are gaps in the numbers, but maybe they correspond to un-released changes.

However, there doesn't appear to be any way to link RS version numbers to the svn revision numbers. I gather from your email that just supplying the RS version number (e.g. 8.6) on the switch statement works.

Another thing that puzzles me is that some updates change the database structure. I wonder if that means I have to proceed through all intervening updates to make sure that everything goes OK. As far as I can tell there's no guidance on the RS web site regarding this.

Thanks for the good advice about backups. I've never been sorry for having lots of backups.

Regards

Peter Payzant
--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/resourcespace/9417b91b-ae58-4b03-9272-2a065817c57a%40googlegroups.com.

Mike Perry

unread,
May 5, 2020, 10:00:55 AM5/5/20
to ResourceSpace
That all makes sense -- I'll admit to not digging as deeply as you have :-)

When I've use Subversion to manage updates the new RS VERSION number (9.2, etc) is all I needed, not the REVISION number. . .
To unsubscribe from this group and stop receiving emails from it, send an email to resour...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages