1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Keeping a side-project servuo up to date with master?

Discussion in 'General Discussion' started by timginter, Nov 21, 2017.

  1. timginter
    Offline

    timginter Member

    Joined:
    Jun 21, 2016
    Messages:
    55
    Likes Received:
    2
    I would really appreciate a brain storm on this one.

    My shard is a modified master branch of servuo and I'm looking for an easier way to keep it up to date with master.

    I have a repo for my server files (updates and commits to the remote server) and a separate repo for master servuo branch. I check for updates on the master branch from time to time, check what changed through TortoiseSVN log and apply those changes to my server files, but often the changes are not in the files I edited for my server and those could be copied straight across instead of checking the code. Or, like with Ancient Smithy Hammer serialization changes, the same change is committed several times.

    Does anyone have an idea how to make the update process easier?

    I thought of copying my files onto the master branch repo checkout and, if there are any conflicts after an update of the master branch it means the files I edited for my server were updated and I need to check and update the code, otherwise I can just copy everything to my server checkout folder and commit, but how to resolve the conflicts then so it only flags up for a different update in the future?
     
  2. Vorspire
    Offline

    Vorspire Vita-Nex: Core
    Admin ServUO Developer

    Joined:
    Jul 29, 2013
    Messages:
    920
    Likes Received:
    164
    Keep the two projects separate as you have done, and use WinMerge to do a full deep comparison on the /Scripts/ directory root between the two projects. That's the easiest way to keep them in sync without missing changes, but it's still not perfect.
     
    • Two Thumbs Up Two Thumbs Up x 1
  3. timginter
    Offline

    timginter Member

    Joined:
    Jun 21, 2016
    Messages:
    55
    Likes Received:
    2
    Thanks, Vorspire! I'll give WinMerge a go
     
  4. timginter
    Offline

    timginter Member

    Joined:
    Jun 21, 2016
    Messages:
    55
    Likes Received:
    2
    A bit of tinkering and WinMerge is really looking good.

    Attaching the base for my filter file if anyone is interested:
    Code (C#):
    1. ## Ignore subversion housekeeping folders
    2. d: \\.svn$
    3. d: \\._svn$
    4. ## Ignore VS files and folders
    5. d: \\.vs$
    6. d: \\Scripts\\obj$
    7. d: \\Scripts\\Output$
    8. d: \\Server\\obj$
    9. f: Scripts.csproj$
    10. f: Scripts.csproj.user$
    11. f: Server.csproj$
    12. f: ServUO.sln$
    13. f: ServUO.sln.DotSettings$
    14. ## Ignore files and folders which do not exist by default in master branch
    15. d: \\Backups$
    16. d: \\Logs$
    17. d: \\Saves$
    18. d: \\UltimaLive$
    19. f: \.log$
    20. ## Ignore main folder files
    21. f: ServUO.exe$
    22. f: ServUO.pdb$
    23. f: Ultima.dll$
    My "left" is the newest master branch of ServUO, my "right" is my modified ServUO project

    upload_2017-12-12_0-17-57.png

    Thanks, @Vorspire !
     
    • No Problem! No Problem! x 1
Similar Threads: Keeping side-project
Forum Title Date
Script Support Keeping Deed Colors? Jul 14, 2017
Custom Releases Apiculture or Beekeeping Re-written to work with Pub 54 Mar 31, 2017
Script Support Old Beekeeping System needs updating to Pub 54 anyone interested? Mar 31, 2017
ServUO Discussion Keeping up to date with changes? Feb 13, 2016