Help with Keeping Custom files when updating

Need help? Post your questions here.

Moderator: moderators

Help with Keeping Custom files when updating

Postby vintendo » Thu Jun 14, 2012 8:01 am

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
vintendo
 
Posts: 9
Joined: Sat Mar 05, 2011 9:55 pm

Re: Help with Keeping Custom files when updating

Postby hakko » Thu Jun 14, 2012 11:11 am

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Help with Keeping Custom files when updating

Postby GJ51 » Thu Jun 14, 2012 5:34 pm

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.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Help with Keeping Custom files when updating

Postby hakko » Thu Jun 14, 2012 5:50 pm

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Help with Keeping Custom files when updating

Postby bushman4 » Thu Jun 14, 2012 6:04 pm

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
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Help with Keeping Custom files when updating

Postby hakko » Thu Jun 14, 2012 6:09 pm

The Subsonic code uses a version management system called Subversion. I'm not sure about read permissions on Sourceforge but it should be possible.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests