Scripts to sync volunteer database with other resources
Use ./process.sh
Then:
sbt "runMain vrijwilligers.generateSmoelenboek"
rm cache/nc*; sbt "runMain nextcloud.Sync" to check for mismatches there
sbt "runMain mailboxes.generateSignatures" and apply them like in process.sh
Plans:
run more of this automatically
move Mailinglists.scala and the list of mailboxes in GenerateAddressBook.scala into a json input file
enable 'Compose HTML messages' automatically (to option 4, 'always except when replying to plain')
Development
run sbt in the admin-sync directory to get the sbt prompt. Run ~compile to keep compiling the sources. Run runMain bezoekers.bezoekersrapportage to run the bezoekersrapportage.
To view the bezoekersrapportage, run python3 -m http.server in the admin-sync directory.
Updates
When updating dependencies, we use sbtix to also update the nix lock file:
$ nix shell github:natural-transformation/sbtix
$ sbtix-gen-all # when updating the Scala version or plugin versions
$ sbtix-gen # when only updating 'regular' library versions