• Bulk changes to message sub-boards

    From Mewcenary@1:103/705 to All on Mon Feb 7 22:31:26 2022
    Hi everyone,

    What are the best ways of making bulk changes to sub-boards?

    I had a situation (might be a bug leading to it...) which made me think of this.

    When setting up for FidoNet, I had a temporary address. I did the import of sub-boards via the configuration tool.

    I later got a real address. I configured this as my system address. However, I then realised that every single sub-board still had the old address hard-coded: It didn't chance when I adjusted my System Address.

    Due to the number of groups involved, I just wiped out the groups and re-imported. They came back in with the correct address associated.

    Is there an easier way to do this?

    Thanks,

    Mewcenary.

    ---
    þ Synchronet þ Extricate BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mewcenary on Mon Feb 7 17:26:18 2022
    Re: Bulk changes to message sub-boards
    By: Mewcenary to All on Mon Feb 07 2022 10:31 pm

    Hi everyone,

    What are the best ways of making bulk changes to sub-boards?

    I had a situation (might be a bug leading to it...) which made me think of this.

    When setting up for FidoNet, I had a temporary address. I did the import of sub-boards via the configuration tool.

    I later got a real address. I configured this as my system address. However, I then realised that every single sub-board still had the old address hard-coded: It didn't chance when I adjusted my System Address.

    Due to the number of groups involved, I just wiped out the groups and re-imported. They came back in with the correct address associated.

    Is there an easier way to do this?

    Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you described.

    I suppose SCFG should sanity check the FTN addresses for each sub when loading from msgs.cnf and if they're wrong (there's no such AKA for the local system), do some kind of sane fix-up automatically.
    --
    digital man (rob)

    Breaking Bad quote #48:
    I am not in danger, Skyler. I am the danger. - Walter White
    Norco, CA WX: 74.0øF, 15.0% humidity, 1 mph N wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mewcenary@1:103/705 to Digital Man on Tue Feb 8 07:05:32 2022
    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 05:26 pm

    What are the best ways of making bulk changes to sub-boards?
    Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you
    described.

    I suppose SCFG should sanity check the FTN addresses for each sub when loading from msgs.cnf and if they're wrong
    (there's no such AKA for the local system), do some kind of sane fix-up automatically. --
    digital man (rob)

    Thanks Rob. I've raised this as an Issue so we keep track of it.

    https://gitlab.synchro.net/main/sbbs/-/issues/337

    I did go down the 'export' route in the end. Although it seemed like this was deleting all my messages as well, on a refresh they all seemed to come back. Does that sound right?

    Mewcenary.

    ---
    þ Synchronet þ Extricate BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mewcenary on Mon Feb 7 23:49:48 2022
    Re: Bulk changes to message sub-boards
    By: Mewcenary to Digital Man on Tue Feb 08 2022 07:05 am

    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 05:26 pm

    What are the best ways of making bulk changes to sub-boards?
    Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you
    described.

    I suppose SCFG should sanity check the FTN addresses for each sub when loading from msgs.cnf and if they're wrong
    (there's no such AKA for the local system), do some kind of sane fix-up automatically. --
    digital man (rob)

    Thanks Rob. I've raised this as an Issue so we keep track of it.

    https://gitlab.synchro.net/main/sbbs/-/issues/337

    I did go down the 'export' route in the end. Although it seemed like this was deleting all my messages as well, on a refresh they all seemed to come back. Does that sound right?

    No, not really. What do you mean by "a refresh"?
    --
    digital man (rob)

    Rush quote #33:
    With the heart and mind united in a single, perfect sphere
    Norco, CA WX: 60.3øF, 21.0% humidity, 1 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mewcenary@1:103/705 to Digital Man on Tue Feb 8 08:49:00 2022
    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 11:49 pm

    I did go down the 'export' route in the end. Although it seemed like this
    was deleting all my messages as well, on a refresh they all seemed to come
    back. Does that sound right?

    No, not really. What do you mean by "a refresh"?

    Probably easier if I start with the first step...

    If I remove a Message Subgroup via scfg, does that also delete any associated messages from storage?

    Thanks,

    Mewcenary.

    ---
    þ Synchronet þ Extricate BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mewcenary on Tue Feb 8 09:51:08 2022
    Re: Bulk changes to message sub-boards
    By: Mewcenary to Digital Man on Tue Feb 08 2022 08:49 am

    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 11:49 pm

    I did go down the 'export' route in the end. Although it seemed like this
    was deleting all my messages as well, on a refresh they all seemed to come
    back. Does that sound right?

    No, not really. What do you mean by "a refresh"?

    Probably easier if I start with the first step...

    If I remove a Message Subgroup via scfg, does that also delete any associated messages from storage?

    When you remove a Sub-board from SCFG, you are prompted if you want Delete the message base (i.e. "Delete ../data/subs/<code>.*"). If you answer "Yes" to that prompt, then yes, it also deletes the associated messages from the disk (the default is "No").
    --
    digital man (rob)

    Sling Blade quote #3:
    Karl (re: killing Doyle): That second one just plum near cut his head in two. Norco, CA WX: 71.4øF, 19.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mewcenary@1:103/705 to Digital Man on Tue Feb 8 20:23:34 2022
    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 05:26 pm

    What are the best ways of making bulk changes to sub-boards?

    Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you described.

    Can the 'Post using real name' flag be easily set by this method? I couldn't spot anything obvious in the subs.txt export.

    I'd like to do this for 200+ FidoNet sub-boards rather than go through each one manually...

    ---
    þ Synchronet þ Extricate BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mewcenary on Tue Feb 8 14:58:18 2022
    Re: Bulk changes to message sub-boards
    By: Mewcenary to Digital Man on Tue Feb 08 2022 08:23 pm

    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 05:26 pm

    What are the best ways of making bulk changes to sub-boards?

    Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you described.

    Can the 'Post using real name' flag be easily set by this method? I couldn't spot anything obvious in the subs.txt export.

    I'd like to do this for 200+ FidoNet sub-boards rather than go through each one manually...

    Use the "Clone Options" feature in SCFG->Message Areas. That would've worked for the FTN address as well. I forgot about that.
    --
    digital man (rob)

    Synchronet "Real Fact" #108:
    Weedpuller "Falling Star" http://youtu.be/J0ijOUT7KIw
    Norco, CA WX: 80.1øF, 13.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Mewcenary on Tue Feb 8 20:01:46 2022
    El 8/2/22 a las 17:23, Mewcenary escribió:
    Re: Bulk changes to message sub-boards
    By: Digital Man to Mewcenary on Mon Feb 07 2022 05:26 pm

    >> What are the best ways of making bulk changes to sub-boards?

    DM> Not really. You could export to subs.txt, modify that file, then re-import. Not exactly *easier* than what you described.

    Can the 'Post using real name' flag be easily set by this method? I couldn't spot anything obvious in the subs.txt export.

    I'd like to do this for 200+ FidoNet sub-boards rather than go through each one manually...

    ---
    � Synchronet � Extricate BBS

    I think that you can use the clone function

    Enter to subboard, set the full name and Template for New Subs to yes
    (on Toggle Options menus)

    Then use the clone options for that group.

    ---
    ï¿­ Synchronet ï¿­ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)