Fernando Toledo wrote to GitLab note in main/sbbs <=-
https://gitlab.synchro.net/main/sbbs/-/issues/826#note_6017
to whishlist:
I think that areas.bbs should honor the ini format as is the trend of
the rest of the configuration files
for example:
[sbbs_internal_code]
tag=fido_tag
link=1:123/4
link=2:345/6
link=3:456/6
[passthrough]
tag=fido_tag
link=1:123/4
link=2:345/6
link=3:456/6
this would make it easier to parse and you could even think of making
an "Area manager" GUI with javascript and uifc or within sbbsecho
or from the command line it could also have utilities like:
jsexec areamgr.js addarea [internal_code] [fido_tag] [link] [link]
jsexec areamgr.js addlink [fido_tag] [link]
jsexec areamgr.js dellink [fido_tag] [link]
I disagree. I think this format is MUCH more awkward than the current
format of AREAS.BBS. If you have several hundred echo areas, and a
couple dozen downlinks for most of them, the file would be *VERY* long
and hard to edit. EXTREMELY hard to edit, actually.
Also, that file is not specific to Synchronet only.
FT> this would make it easier to parse and you could even think of making
FT> an "Area manager" GUI with javascript and uifc or within sbbsecho
FT> or from the command line it could also have utilities like:
FT> jsexec areamgr.js addarea [internal_code] [fido_tag] [link] [link]
FT> jsexec areamgr.js addlink [fido_tag] [link]
FT> jsexec areamgr.js dellink [fido_tag] [link]
This can already be done with the Import/Export functions already in
SCFG.
https://gitlab.synchro.net/main/sbbs/-/issues/826#note_6017
to whishlist:
I think that areas.bbs should honor the ini format as is the trend of the rest of the configuration files
Ragnarok wrote to All <=-
El 17/11/24 a las 22:49, Gamgee escribi}|:
I disagree. I think this format is MUCH more awkward than the current format of AREAS.BBS. If you have several hundred echo areas, and a
couple dozen downlinks for most of them, the file would be *VERY* long
and hard to edit. EXTREMELY hard to edit, actually.
I understand your point, but using a more standard format makes it
easier to create tools that manage the file
The length of the file due to the number of areas is not something that worries me. If I have to edit it manually, any editor can do a text
search quickly, even if it has thousands of lines.
Also, that file is not specific to Synchronet only.
FT> this would make it easier to parse and you could even think of making
FT> an "Area manager" GUI with javascript and uifc or within sbbsecho
FT> or from the command line it could also have utilities like:
FT> jsexec areamgr.js addarea [internal_code] [fido_tag] [link] [link]
FT> jsexec areamgr.js addlink [fido_tag] [link]
FT> jsexec areamgr.js dellink [fido_tag] [link]
This can already be done with the Import/Export functions already in
SCFG.
The import/export actions to different formats are not for managing the file.
I don't see a way to simple make those use cases as this:
"add node 1:23/4 to areas X,Y and Z"
"remove node 1:23/4 from area X"
The ini format was just an example, maybe it could be a comma or tab separated file like user.tab is now
I currently use sed, awk or other bash tools to do these tasks. But the inconsistencies of the lines (some have different spaces between the columns) makes it uncomfortable.
Ragnarok wrote to All <=-
Ra> El 17/11/24 a las 22:49, Gamgee escribi}|:
We already have tools to manage it. Text editors.
OK, so why would we need any additional tools?
Sysop: | Saxainden |
---|---|
Location: | Littleton, CO |
Users: | 30 |
Nodes: | 10 (0 / 10) |
Uptime: | 00:18:12 |
Calls: | 355 |
Messages: | 37,120 |