• Customizing the installation "the right way"

    From acn@1:103/705 to All on Mon Dec 21 18:13:20 2020
    Hi,

    I'm currently checking my Synchronet (3.18b) installation and checking if my first customizations are done "the right way" so that in case of an update nothing gets corrupted.

    Thus, I copied my custom shell files to mods/ (instead of exec/) :)

    But I saw that in a new installation, when setting SYMLINK=1, the text/ directory also gets symlinked to the repo.

    What's the correct way of changing files in the text/ directory?
    I changed some files in there and also added some new ones for my custom menu/shell.

    Thank you!

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From acn@1:103/705 to All on Mon Dec 21 18:14:29 2020
    Hi,

    I forgot: The same question also applies to the webv4/ folder.
    Is there also some kind of mods/ mechanism?

    Thank you!

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to acn on Mon Dec 21 11:24:56 2020
    Re: Customizing the installation "the right way"
    By: acn to All on Mon Dec 21 2020 06:13 pm

    Hi,

    I'm currently checking my Synchronet (3.18b) installation and checking if my first customizations are done "the right way" so that in case of an update nothing gets corrupted.

    Thus, I copied my custom shell files to mods/ (instead of exec/) :)

    But I saw that in a new installation, when setting SYMLINK=1, the text/ directory also gets symlinked to the repo.

    What's the correct way of changing files in the text/ directory?

    You can modify them in place in the text directory.

    I changed some files in there and also added some new ones for my custom menu/shell.

    That's fine. When you performa 'git pull' it should leave your modified files alone unless they were modified upstream in which case you can 'git stash' your changes before the 'git pull' and then reapply your changes with 'git stash pop'.
    http://wiki.synchro.net/howto:git#stash
    --
    digital man

    Synchronet "Real Fact" #10:
    The name "DOVE-Net" was suggested by King Drafus (sysop of The Beast's Domain). Norco, CA WX: 80.5øF, 14.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Digital Man on Mon Dec 21 16:07:56 2020
    Digital wrote:
    That's fine. When you performa 'git pull' it should leave your modified files alone unless they were modified upstream in which case you can 'git stash' your changes before the 'git pull' and then reapply your changes with 'git stash pop'.
    http://wiki.synchro.net/howto:git#stash

    Have you thought about possibly supporting mods/exec mods/text etc. That way people can keep their menus and js etc mods separate. That would allow for symlinking of text.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nelgin on Mon Dec 21 15:31:15 2020
    Re: Re: Customizing the installation "the right way"
    By: Nelgin to Digital Man on Mon Dec 21 2020 04:07 pm

    Digital wrote:
    That's fine. When you performa 'git pull' it should leave your modified files alone unless they were modified upstream in which case you can 'git stash' your changes before the 'git pull' and then reapply your changes with 'git stash pop'.
    http://wiki.synchro.net/howto:git#stash

    Have you thought about possibly supporting mods/exec mods/text etc. That way people can keep their menus and js etc mods separate. That would allow for symlinking of text.

    I don't think that's necessary. My text directory is symlinked and I have local modifications and a git pull works 99% of the time without any stashing or anything.

    Also "mods" is already the equivalent of "mods/exec".
    --
    digital man

    Synchronet/BBS Terminology Definition #13:
    CGA = Color Graphics Adapter (IBM)
    Norco, CA WX: 80.3øF, 17.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From acn@1:103/705 to Digital Man on Tue Dec 22 13:00:52 2020
    Hi,

    You can modify them in place in the text directory.
    [...]
    That's fine. When you performa 'git pull' it should leave your modified files alone unless they were modified upstream in which case you can 'git stash' your changes before the 'git pull' and then reapply your changes with 'git stash pop'.
    http://wiki.synchro.net/howto:git#stash

    Okay, thank you! Then I'll do that.

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Nelgin on Tue Dec 22 08:28:49 2020
    Re: Re: Customizing the installation "the right way"
    By: Nelgin to Digital Man on Mon Dec 21 2020 04:07 pm

    Have you thought about possibly supporting mods/exec mods/text etc. That way people can keep their menus and js etc mods separate. That would allow for symlinking of text.

    As DM has said, mods is already the equivalent of mods/exec. And for your text files, particularly the menus, what I'd do is just create another subdirectory under your text/menus and put your own menu screens in there for use with your own command shell.. I don't think it's necessary to have another mods directory for that.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Nightfox on Tue Dec 22 20:35:00 2020
    Nightfox wrote to Nelgin <=-

    Re: Re: Customizing the installation "the right way"
    By: Nelgin to Digital Man on Mon Dec 21 2020 04:07 pm

    Have you thought about possibly supporting mods/exec mods/text etc. That way people can keep their menus and js etc mods separate. That would allow for symlinking of text.

    As DM has said, mods is already the equivalent of mods/exec. And
    for your text files, particularly the menus, what I'd do is just
    create another subdirectory under your text/menus and put your
    own menu screens in there for use with your own command shell..
    I don't think it's necessary to have another mods directory for
    that.

    What I do is run a script to copy all my customized stuff from various directories to a "safe_copies" directory, before an update. Then,
    after the update, I run another "restore" script to put all that
    custom stuff back where it belongs. Easy.



    ... My best pigeon dodged hawks and farmer's guns to bring you this.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Nelgin on Sun Dec 27 01:42:39 2020
    On 12/21/2020 3:07 PM, Nelgin wrote:
    Have you thought about possibly supporting mods/exec mods/text etc. That way people can keep their menus and js etc mods separate. That would allow for symlinking of text.

    I've been using text paths of '../mods/path/to/file' in my mods to point
    to text files in the same directory.


    --
    Michael J. Ryan
    tracker1 +o Roughneck BBS
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)