D. Berge c7270febfc Add project configurations upgrade script.
This script rewrites project configurations to take into account
various structural changes in the configuration object.

The script can be run without arguments, in which case it will
upgrade the configuration of every project found in the local
database, or one or more project IDs can be given as command
line arguments in order to upgrade only those projects.

Configurations that have already been upgraded will not be
touched.

For other projects, both the original and new configurations will
be saved to file in the current directory, as well as two scripts:
one commits the new configuration to the server, and the other
restores the original one.

This script connects directly to the database, using the same
mechanisms as the Dougal server. It is recommended to run it
locally on the server host.

The restore scripts use the HTTP API, which they expect to find
on http://localhost:3000/api, so it is also recommended to run
them in the local server.

Closes #290.
Closes #291.
Closes #292.
Closes #293.
Closes #294.
Closes #295.
Closes #296.
Closes #297.
Closes #298.
2024-05-01 10:40:04 +02:00
2024-05-01 10:40:04 +02:00
2024-05-01 10:40:04 +02:00
2020-08-24 21:01:47 +02:00
2023-09-29 15:59:12 +02:00

Dougal Seismic production & data analysis tool

Structure of this repo

  • bin/ Scripts that import / export data into / out of the database.
  • etc/ Configuration files.
  • lib/ Code files.
    • lib/www/ Web interface and API.
      • lib/www/client/ Frontend.
      • lib/www/server/ Backend.
  • sbin/ System maintenance scripts.
Description
No description provided
Readme 11 MiB
Languages
Vue 41.7%
JavaScript 32.3%
PLpgSQL 16.5%
Python 5.4%
Nunjucks 3.2%
Other 0.9%