Page 1 of 1

Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 8:01 am
by vintendo
Pretty much like the title states..

I want to use the newest build of SS but Don't know the first thing about how I would keep all the custom stuff that i have made through The past year. Is there Anyway to just update Core files While Keeping All your Custom stuff that someone might have done.

Would Really like to try The new Features But Fear Losing all my hard work. (might be easy For some but this has taken me a long Time)


Thank you In Advance

Vin

Re: Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 11:11 am
by hakko
There's no magic automatic procedure to achieve that, that I know of at least. You have to manually keep track of what you've changed, and then check what's been changed in 4.7 (quite a few thing have been renamed/altered there), and finally merge the two projects. I don't think there's a straight-forward solution to your situation.

Re: Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 5:34 pm
by GJ51
That's the reason I'm not much of a modder.

We also don't know for sure what will change in the 4.7 final release, so you'd definitely want to wait until then.

I updated two x64 sites to 4.7b2 without any major problems. All my transcoding settings are working properly. So I thought I'd be safe upgrading my 4.5 x32 site ... SURPRISE brok the video transcoding for avi files. And I have a ton of old avi's that are fun to watch that cannot be seen on this site now.

It takes a lot of time and testing to get things working right and it's no fun when you brake it yourself by doing an upgrade. That's why I keep the mods to a minimum that I think I can reproduce when the next release comes out. I have multiple servers and about 8 instances of SS running on my network just so that I can test new configurations without killing my primary site, even then I occasionally shoot myself in the foot. It's all part of the fun, but for anyone only running a single SS install, moving cautiously is far more critical.

Re: Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 5:50 pm
by hakko
If you read up on it, you could use a version management system though. For example, say someone likes my mod but wants to change a single icon. Then they could "git clone" my code, change that icon and build a new subsonic.war. Whenever I add new stuff, they could "git pull" my changes (a single command which won't overwrite their added icon, it just fetches my changes) and build a new subsonic.war, containing my new features and their icon.

But you have to do that from the beginning, you can't realize afterwards that you've changed things but you've no idea what.

In this case, make a backup of C:/subsonic, install 4.7 and decide if the new features are better than what you've created so far. Go back to the backup if it's not.

Re: Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 6:04 pm
by bushman4
I fully intend to do this once 4.7 is finalized. I have always wanted to incorporate many of these mods, but have not wanted to re-incorporate each time. Thanks for the idea.

Is the "real" subsonic source code GIT hosted? ie, can I do the same only with Sindre's base code?

Glenn

Re: Help with Keeping Custom files when updating

PostPosted: Thu Jun 14, 2012 6:09 pm
by hakko
The Subsonic code uses a version management system called Subversion. I'm not sure about read permissions on Sourceforge but it should be possible.