• scfg/addfiles - audo-add sub-directories not working as expected, I th

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Tue Sep 23 10:03:10 2025
    open https://gitlab.synchro.net/main/sbbs/-/issues/976

    I have these settings in scfg

    ![image](https://gitlab.synchro.net/-/project/13/uploads/0e8b6676b8412eddce712a68647527f9/image.png)

    In /nfs/bbs/bbssw is a list of directories which contain a bunch of ZIP files (mostly).

    Then I went to add the new files:

    jsexec addfiles -lib=BBSSW -from=system -diz

    It went through and added 30,000 or so files.

    However, when I go back into scfg it's showing the File Directories as empty

    ![image](https://gitlab.synchro.net/-/project/13/uploads/851beedd57318e36b260dfcaaf47d5b1/image.png)

    Yet when I go into the BBS, I do see the directories and files:

    ![image](https://gitlab.synchro.net/-/project/13/uploads/31affcd1a037c24cd720c5dee832251e/image.png)


    ![image](https://gitlab.synchro.net/-/project/13/uploads/70282a0b5bed51a2993146c795b1046f/image.png)

    The file area database files were created in the right area:

    ```
    bbs@bbs:/sbbs/data/dirs/mirror/bbssw$ ls -l
    total 14028
    -rw-rw-r-- 1 bbs bbs 21 Sep 23 11:19 bbssw_rom01.ini
    -rw-rw-r-- 1 bbs bbs 0 Sep 23 11:19 bbssw_rom01.sdt
    -rw-rw-r-- 1 bbs bbs 236 Sep 23 11:19 bbssw_rom01.sha
    -rw-rw-r-- 1 bbs bbs 60448 Sep 23 11:19 bbssw_rom01.shd
    -rw-rw-r-- 1 bbs bbs 30208 Sep 23 11:19 bbssw_rom01.sid
    ```

    So how do I get scfg to display the directories?
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Sep 23 22:29:33 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7624

    I think you’re wanting to use the “import areas” feature. Auto-added areas aren’t written to the config files (so not visible in SCFG). This is as intended.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Tue Sep 23 22:42:23 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7626

    It doesn't seem logical to auto add areas, yet not add the area to the config file. I'm sure there are good reasons that I'm not privvy to. I'll go and import the areas.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Sep 23 23:23:43 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7631

    If all "Auto-add" did was add the directories to the config, it'd be exactly the same behavior as the Import Areas-\>Directory Listing option. The difference with "Auto-add" is SCFG doesn't need to be run again for new sub-directories to be discovered and if you remove a sub-directory from the disk, it automatically is removed from the virtual directory within the BBS.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 24 20:31:58 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7636

    If the directories that were "auto-added" were visible in SCFG, what would you want to do with them?
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Fri Sep 26 00:17:27 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7652

    I would have expected it to work like importing from directory listing, and then populate each directory with the files in it.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Fri Sep 26 00:17:40 2025
    close https://gitlab.synchro.net/main/sbbs/-/issues/976
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Fri Sep 26 00:17:40 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7653

    Don't worry about it. It's not important.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Sep 26 11:56:16 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7656

    The "Auto-add Sub-directories" features applies to the directories, not the files.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)