• Upgrade instructions from CVS to git?

    From Karloch@1:103/705 to All on Sat Sep 26 03:28:09 2020
    Hello *.*,

    Sorry if this has been asked, but after looking to the board I was not able to find any related question. I have been using Synchronet for 15 years from the CVS build, updating it in a regular basis. Switch to a git repository sounds like a really good idea (I use myself at work and for personal projects), but that bring me some questions regarding transition from CVS:

    * Would the transition consist in cloning the git repository, build the new version and the overwrite ctrl, data and text directories?
    * My setup is currently with /sbbs as base, but new setup instructions clone it to /sbbs/repo. Is the /sbbs/repo folder intended to be my cloned repo, but then the install to be at /sbbs?
    * How would the upgrades would work then? I could update the /sbbs/repo with git pull, and then... would I have to copy again the updated files to /sbbs?

    Regards,
    Carlos

    ---
    þ Synchronet þ HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Karloch on Sat Sep 26 00:39:55 2020
    Re: Upgrade instructions from CVS to git?
    By: Karloch to All on Sat Sep 26 2020 03:28 am

    Hello *.*,

    Sorry if this has been asked, but after looking to the board I was not able to find any related question. I have been using Synchronet for 15 years from the CVS build, updating it in a regular basis. Switch to a git repository sounds like a really good idea (I use myself at work and for personal projects), but that bring me some questions regarding transition from CVS:

    * Would the transition consist in cloning the git repository, build the new version and the overwrite ctrl, data and text directories?

    Overwriting your ctrl, data, and text directories would be terrible. Don't do that! *Your* text directory can be symlinked-to or copied-over from the repo if you have no local changes, but do so with care. Likewise, you probably want to symlink-to or copy the ctrl/text.dat file from the repo.

    * My setup is currently with /sbbs as base, but new setup instructions clone it to /sbbs/repo. Is the /sbbs/repo folder intended to be my cloned repo, but then the install to be at /sbbs?

    You're already installed in /sbbs, so you don't need to install again. The repo being in /sbbs/repo isn't going to change your install at all. But building in sbbs/repo/src should automaticall update your /sbbs/exec/* executables so long as you use 'make symlinks' (or 'make install') and have your SBBSCTRL or SBBSEXEC env variable setup correctly.

    * How would the upgrades would work then? I could update the /sbbs/repo with git pull, and then... would I have to copy again the updated files to /sbbs?

    Definitely not *all* the files, only the files you want to update. The executables should be automatically copied or symlinked as a result of running 'make symlinks' (or 'make install') in src/sbbs3.

    The instructions are here: http://wiki.synchro.net/install:dev


    digital man

    Synchronet "Real Fact" #2:
    Synchronet version 2 for DOS and OS/2 was released to the public domain in 1997.
    Norco, CA WX: 64.6øF, 89.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to Digital Man on Sun Sep 27 04:30:33 2020
    Re: Upgrade instructions from CVS to git?
    By: Digital Man to Karloch on Sat Sep 26 2020 00:39:55

    Hi Digital Man,

    You're already installed in /sbbs, so you don't need to install again. The repo being in /sbbs/repo isn't going to change your install at all. But building in sbbs/repo/src should automaticall update your /sbbs/exec/* executables so long as you use 'make symlinks' (or 'make install') and have your SBBSCTRL or SBBSEXEC env variable setup correctly.

    Definitely not *all* the files, only the files you want to update. The executables should be automatically copied or symlinked as a result of running 'make symlinks' (or 'make install') in src/sbbs3.

    The instructions are here: http://wiki.synchro.net/install:dev

    Followed all the instructions and I am successfully transitioned to git. Thank you so much for the help!

    Regards,
    Carlos

    ---
    þ Synchronet þ HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)