-
exec/install-xtrn.js
From
rswindell@VERT to
CVS commit on Wed Mar 25 22:55:22 2020
exec install-xtrn.js NONE 1.1
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv11197
Added Files:
install-xtrn.js
Log Message:
A new script for install external programs (doors, events, editors). The script itself contains the current documentation for developers to make use
of it and make it super easy for sysops to install their programs into their Synchronet systems.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Mar 28 19:16:31 2020
exec install-xtrn.js 1.1 1.2
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv30971
Modified Files:
install-xtrn.js
Log Message:
Now supports a -overwrite cmdline option which can be used to allow the overwrite of existing items (i.e. programs with the same internal code).
Add support for [exec:<file>.js] sections: for executing another JavaScript files as part of the install.
Add support for [eval:string] sections: for evaluating a JavaScript expression as part of an install.
Add support for an optional "prompt" key for each item. If set to a string, overrides the default confirmation prompt text. If set to false, disables
the confirmation prompt for that item.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Mar 29 12:47:10 2020
exec install-xtrn.js 1.2 1.3
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv31330
Modified Files:
install-xtrn.js
Log Message:
Use the JS-standard method of passing a variable number of arguments to a function (using function.apply()) rather than depending on the js.exec() array-args-expansion feature I recently added and then just removed.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Apr 5 16:34:47 2020
exec install-xtrn.js 1.3 1.4
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv26240
Modified Files:
install-xtrn.js
Log Message:
Support the new "exec" section syntax (arguments in the section).
Support the new "-auto" command-line option to automatically scan xtrn/* for uninstalled install-xtrn.ini files.
I intend to have this a stock Operater extenral program so the sysop can just cvs-update or download an extract to extern and then run the external program (with the -auto option) to automatically find and install the program.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wed Apr 15 14:56:05 2020
exec install-xtrn.js 1.4 1.5
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv26119
Modified Files:
install-xtrn.js
Log Message:
Support "requires_service" key which specifies the name of a service (e.g. "JSON") that must be installed and enabled for the external program to be installed. This is inteded for use by the various .js "doors" that rely on json-service.js to function. If the specified service isn't installed and enabled, the install won't continue.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 16 11:17:41 2020
exec install-xtrn.js 1.5 1.6
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv27560
Modified Files:
install-xtrn.js
Log Message:
Support a root-level "info" key which describes the over-all program/package being installed (free-form text, up to 79 chars for pretty-print).
Remove the "requires_service" key, replaced with:
Add ability to install/update services.
Add ability to add/update sections in .ini files with eval()'d key values.
This allows the json-service dependant scripts to (mostly) be installable
under all scenarios. tw2.js is still an exception.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 16 18:10:24 2020
exec install-xtrn.js 1.6 1.7
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv29137
Modified Files:
install-xtrn.js
Log Message:
Fix typo on "exec:" install item handler: ReferenceError: items is not defined
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 16 19:41:11 2020
exec install-xtrn.js 1.7 1.8
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv14764
Modified Files:
install-xtrn.js
Log Message:
Break the 'info' key into multiple keys:
- Name (name of the program)
- Desc (description)
- From (the 'By' line for author/programmer/publisher)
- Cats (comma-separated list of applicable categories (e.g. "Games")
- Subs (comma-separated list of applicable sub-categories (e.g. "Adventure")
- Inst (Installer .ini file source/revision/author/date info)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 16 20:11:51 2020
exec install-xtrn.js 1.8 1.9
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv19656
Modified Files:
install-xtrn.js
Log Message:
Renamed the programmer/author/publisher key "from" -> "by"
Inherit the "name" value from the root section in the install item sections.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Apr 17 10:41:35 2020
exec install-xtrn.js 1.9 1.10
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv29847
Modified Files:
install-xtrn.js
Log Message:
'by' is an array not a scalar.
Request sbbs recycle after completing install(s).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Apr 18 15:09:02 2020
exec install-xtrn.js 1.10 1.11
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv2728
Modified Files:
install-xtrn.js
Log Message:
Use full path for read/write .cnf files so that the cwd doesn't matter (in theory at least) and "jsexec -C" could be used to execute this script. Maybe.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Apr 24 16:17:04 2020
exec install-xtrn.js 1.12 1.13
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv20825
Modified Files:
install-xtrn.js
Log Message:
Insure the startup_dir ends in a slash/backslash. This is especially important for the json-service.ini "dir" key. The code that parses that value is not
very tolerant of the absence of a trailing slash.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Apr 25 19:58:46 2020
exec install-xtrn.js 1.13 1.14
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv24728
Modified Files:
install-xtrn.js
Log Message:
Use relative paths for xtrn startup_dir directories. And forward-slashes.
This makes the config files more portable/migratable.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Mon Sep 7 16:25:25 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/6ca89ae2b71d04793b14018a
Modified Files:
exec/install-xtrn.js
Log Message:
If an external program section name exactly matches one of the categories ("Cats" list) make it a simple confirmation to choose it as the install location.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Mon Sep 7 20:37:35 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/2fd20c3ecec5e8ac6be66087
Modified Files:
exec/install-xtrn.js
Log Message:
Process "ini" sections before "service" sections.
Allow a section to stop the install process by setting done=true
or be the last of its install-type by setting last=true.
These changes allow us to prompt whether to use remote JSON-db servers
(e.g. bbs.electronicchicken.com) or to install/enable the JSON-db
service locally, based on the sysop's choice.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Tue Sep 8 19:04:10 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Fri Sep 11 18:04:46 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Sat Sep 12 08:33:59 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Sat Sep 12 23:17:34 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Sun Sep 20 08:19:02 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Sun Sep 20 15:19:26 2020
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Mon Dec 7 16:26:22 2020
https://gitlab.synchro.net/main/sbbs/-/commit/bda6ea968ff7c7111c652fb5
Modified Files:
exec/install-xtrn.js
Log Message:
Support 2 new section types: pre-exec and pre-eval
Just like the exec and eval sections, except executed/evaluated *before*
any external programs are installed.
New optional 'fail' key to specify a custom failure message.
Example:
[pre-eval:file_exists(startup_dir + 'test.txt')]
prompt = false
required = true
fail = You must create text.txt before you can install.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Michael Long@VERT to
Git commit to main/sbbs/master on Thu Jan 14 17:11:41 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu Jan 14 17:11:41 2021
https://gitlab.synchro.net/main/sbbs/-/commit/c8d1940e94107d2fc4eb18c0
Modified Files:
exec/install-xtrn.js
Log Message:
Merge branch 'mlong/installxtrndebug' into 'master'
Update install-xtrn.js, make it apparent that debug mode does not install the...
See merge request main/sbbs!76
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Mon Jan 16 20:41:25 2023