Skip to content

allow device configs to be retired, start base and runmode config version nums from 1 not 0 - #18

Merged
marc1uk merged 2 commits into
ToolDAQ:Applicationfrom
marc1uk:aug_2026_stfuf
Aug 11, 2026
Merged

allow device configs to be retired, start base and runmode config version nums from 1 not 0#18
marc1uk merged 2 commits into
ToolDAQ:Applicationfrom
marc1uk:aug_2026_stfuf

Conversation

@marc1uk

@marc1uk marc1uk commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

SetupDatabase.sh changes:

  • change runmode_config_id and base_config_id to start from 1, not 0.
  • add retired option to device_config, along with associated user and date
  • add function to retire all base and runmode configurations containing a given device configuration with a given version number
  • add functions to retire all base and runmode configurations containing a given device configuration with a version less than a given number
  • don't create test_device entry in devices table
  • do create empty runmode config in devices table
  • minor bugfix: update PGDATA if user changes PGROOT

middleman changes:

  • add ClearClients button to clear connections maps for all sockets. This triggers the next UpdateConnections call to invoke 'connect' on all clients.
  • improve ClientsList info slow control

root and others added 2 commits August 6, 2026 22:02
* change runmode_config_id and base_config_id to start from 1, not 0.
* add retired option to device_config, along with associated user and date
* add function to retire all base and runmode configurations containing a given device configuration with a given version number
* add functions to retire all base and runmode configurations containing a given device configuration with a version less than a given number
* don't create test_device entry in devices table
* do create empty runmode config in devices table
* minor bugfix: update PGDATA if user changes PGROOT

middleman changes:
* add ClearClients button to clear connections maps for all sockets. This triggers the next UpdateConnections call to invoke 'connect' on all clients.
* improve ClientsList info slow control
@marc1uk
marc1uk merged commit 022f1e7 into ToolDAQ:Application Aug 11, 2026
1 check failed
@marc1uk
marc1uk deleted the aug_2026_stfuf branch August 13, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants