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

    From Nigel Reed@VERT to GitLab issue in main/sbbs on Tuesday, September 23, 2025 10:03:10
    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?

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Tuesday, September 23, 2025 22:29:33
    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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Tuesday, September 23, 2025 22:42:23
    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.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Tuesday, September 23, 2025 23:23:43
    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.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Wednesday, September 24, 2025 20:31:58
    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?

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, September 26, 2025 00:17:27
    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.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab issue in main/sbbs on Friday, September 26, 2025 00:17:40
    close https://gitlab.synchro.net/main/sbbs/-/issues/976

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, September 26, 2025 00:17:40
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7653

    Don't worry about it. It's not important.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, September 26, 2025 11:56:16
    https://gitlab.synchro.net/main/sbbs/-/issues/976#note_7656

    The "Auto-add Sub-directories" features applies to the directories, not the files.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net