ConstellationDAQ 0.3__tar.gz → 0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. {constellationdaq-0.3 → constellationdaq-0.4}/.clang-tidy +1 -1
  2. {constellationdaq-0.3 → constellationdaq-0.4}/.cross/mingw-ucrt.ini +1 -1
  3. constellationdaq-0.4/.github/workflows/sync_to_gitlab.yml +45 -0
  4. {constellationdaq-0.3 → constellationdaq-0.4}/.gitlab-ci.yml +37 -19
  5. {constellationdaq-0.3 → constellationdaq-0.4}/.pre-commit-config.yaml +11 -6
  6. constellationdaq-0.4/AUTHORS.md +21 -0
  7. {constellationdaq-0.3 → constellationdaq-0.4}/PKG-INFO +5 -3
  8. {constellationdaq-0.3 → constellationdaq-0.4}/README.md +2 -2
  9. {constellationdaq-0.3 → constellationdaq-0.4}/REUSE.toml +3 -0
  10. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/build.hpp +2 -0
  11. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/Controller.cpp +35 -13
  12. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/Controller.hpp +10 -2
  13. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/ControllerConfiguration.cpp +3 -2
  14. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/Manager.cpp +0 -8
  15. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/Manager.hpp +0 -16
  16. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Dictionary.cpp +15 -13
  17. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Dictionary.hpp +12 -2
  18. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.cpp +3 -3
  19. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.hpp +12 -0
  20. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatManager.cpp +12 -4
  21. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatManager.hpp +12 -2
  22. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatSend.cpp +17 -7
  23. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatSend.hpp +15 -2
  24. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/CMDPSink.cpp +144 -53
  25. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/CMDPSink.hpp +28 -7
  26. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Logger.cpp +4 -3
  27. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Logger.hpp +8 -0
  28. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/SinkManager.cpp +50 -11
  29. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/SinkManager.hpp +31 -14
  30. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/meson.build +2 -0
  31. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/BaseHeader.cpp +20 -29
  32. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CDTP1Message.cpp +22 -26
  33. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CDTP1Message.hpp +12 -15
  34. constellationdaq-0.4/cxx/constellation/core/message/CHP1Message.cpp +113 -0
  35. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHP1Message.hpp +9 -2
  36. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CMDP1Message.cpp +49 -9
  37. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CMDP1Message.hpp +52 -1
  38. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CSCP1Message.cpp +9 -12
  39. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/exceptions.hpp +12 -1
  40. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/Metric.cpp +21 -16
  41. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/Metric.hpp +14 -4
  42. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.cpp +31 -11
  43. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.hpp +36 -9
  44. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.ipp +6 -4
  45. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/stat.hpp +2 -2
  46. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/zmq_helpers.cpp +11 -3
  47. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/BasePool.ipp +10 -6
  48. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CSCP_definitions.hpp +5 -0
  49. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/Protocol.hpp +8 -8
  50. constellationdaq-0.4/cxx/constellation/core/utils/ManagerLocator.hpp +110 -0
  51. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/exceptions.hpp +25 -0
  52. constellationdaq-0.4/cxx/constellation/core/utils/msgpack.hpp +78 -0
  53. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/string_hash_map.hpp +4 -0
  54. constellationdaq-0.4/cxx/constellation/core/utils/thread.hpp +30 -0
  55. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/DSOLoader.cpp +10 -13
  56. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/meson.build +3 -2
  57. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/satellite.cpp +9 -9
  58. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/templates/main.cpp.in +2 -2
  59. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.cpp +3 -1
  60. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.ui +110 -56
  61. constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.cpp +101 -0
  62. constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.hpp +66 -0
  63. constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.ui +175 -0
  64. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QController.cpp +61 -65
  65. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QController.hpp +35 -8
  66. constellationdaq-0.4/cxx/constellation/gui/QLogLevelComboBox.cpp +110 -0
  67. constellationdaq-0.4/cxx/constellation/gui/QLogLevelComboBox.hpp +62 -0
  68. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessage.cpp +1 -1
  69. constellationdaq-0.4/cxx/constellation/gui/Resources.cpp +19 -0
  70. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/meson.build +8 -3
  71. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/qt_utils.hpp +65 -1
  72. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/CMDPListener.cpp +131 -6
  73. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/CMDPListener.hpp +90 -1
  74. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/LogListener.cpp +4 -1
  75. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/meson.build +2 -1
  76. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/BaseSatellite.cpp +177 -42
  77. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/BaseSatellite.hpp +29 -15
  78. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/FSM.cpp +97 -34
  79. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/FSM.hpp +38 -2
  80. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/ReceiverSatellite.cpp +151 -7
  81. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/ReceiverSatellite.hpp +59 -2
  82. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.hpp +15 -1
  83. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.ipp +11 -6
  84. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/TransmitterSatellite.cpp +43 -5
  85. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/TransmitterSatellite.hpp +6 -0
  86. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.cpp +73 -34
  87. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.hpp +7 -0
  88. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.ui +7 -1
  89. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/meson.build +0 -5
  90. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.cpp +72 -8
  91. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.hpp +2 -0
  92. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.ui +79 -142
  93. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogFilter.cpp +9 -14
  94. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogFilter.hpp +2 -4
  95. constellationdaq-0.4/cxx/listeners/Observatory/QLogListener.cpp +132 -0
  96. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogListener.hpp +40 -38
  97. constellationdaq-0.4/cxx/listeners/Observatory/QSenderSubscriptions.cpp +242 -0
  98. constellationdaq-0.4/cxx/listeners/Observatory/QSenderSubscriptions.hpp +147 -0
  99. constellationdaq-0.4/cxx/listeners/Observatory/QSubscriptionList.cpp +125 -0
  100. constellationdaq-0.4/cxx/listeners/Observatory/QSubscriptionList.hpp +87 -0
  101. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/meson.build +2 -2
  102. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/meson.build +11 -0
  103. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.cpp +5 -8
  104. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.hpp +1 -3
  105. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/EudaqNativeWriterSatellite.cpp +8 -7
  106. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/EudaqNativeWriterSatellite.hpp +3 -12
  107. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/FileSerializer.cpp +3 -14
  108. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/README.md +2 -2
  109. constellationdaq-0.4/cxx/satellites/Mattermost/MattermostSatellite.cpp +163 -0
  110. constellationdaq-0.4/cxx/satellites/Mattermost/MattermostSatellite.hpp +57 -0
  111. constellationdaq-0.4/cxx/satellites/Mattermost/README.md +32 -0
  112. constellationdaq-0.4/cxx/satellites/Mattermost/meson.build +65 -0
  113. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/README.md +2 -1
  114. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.cpp +49 -6
  115. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.hpp +5 -2
  116. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/README.md +3 -2
  117. constellationdaq-0.4/cxx/satellites/Sputnik/SputnikSatellite.cpp +71 -0
  118. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/meson.build +1 -0
  119. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/chirp_mock.hpp +36 -7
  120. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/cmdp_mock.hpp +27 -1
  121. constellationdaq-0.4/cxx/tests/dummy_listener.hpp +53 -0
  122. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/dummy_satellite.hpp +54 -14
  123. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/meson.build +1 -0
  124. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_controller_base.cpp +46 -36
  125. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_controller_config.cpp +13 -0
  126. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_manager.cpp +0 -12
  127. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_config.cpp +3 -4
  128. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_logging.cpp +31 -29
  129. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_message.cpp +13 -15
  130. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_metrics.cpp +81 -39
  131. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_pools.cpp +24 -19
  132. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_utils.cpp +27 -0
  133. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_listener_cmdp.cpp +139 -7
  134. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_listener_log.cpp +36 -11
  135. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_base.cpp +101 -9
  136. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_data.cpp +27 -18
  137. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_fsm.cpp +46 -2
  138. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chirp_manager.cpp +2 -2
  139. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chp_receiver.cpp +6 -3
  140. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chp_sender.cpp +7 -6
  141. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/dummy_controller.cpp +8 -7
  142. {constellationdaq-0.3 → constellationdaq-0.4}/docs/.spelling_jargon.txt +7 -0
  143. {constellationdaq-0.3 → constellationdaq-0.4}/docs/.spelling_names.txt +5 -0
  144. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/custom_commands.md +14 -3
  145. constellationdaq-0.4/docs/application_development/functionality/data_reception.md +99 -0
  146. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/metrics.md +3 -3
  147. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/index.md +1 -1
  148. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/tutorials/satellite_cxx.md +22 -0
  149. {constellationdaq-0.3 → constellationdaq-0.4}/docs/conf.py +6 -7
  150. {constellationdaq-0.3 → constellationdaq-0.4}/docs/copy_satellite_docs.py +23 -9
  151. constellationdaq-0.4/docs/etc/de.desy.constellation.metainfo.xml +87 -0
  152. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/metrics.md +1 -1
  153. constellationdaq-0.4/docs/framework_reference/flatpak.md +92 -0
  154. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/index.md +1 -0
  155. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/naming.md +1 -0
  156. constellationdaq-0.4/docs/framework_reference/release.md +54 -0
  157. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/constellation.md +4 -4
  158. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/data.md +32 -0
  159. constellationdaq-0.4/docs/operator_guide/concepts/diskspace_grafana.png +0 -0
  160. constellationdaq-0.4/docs/operator_guide/concepts/diskspace_observatory.png +0 -0
  161. constellationdaq-0.4/docs/operator_guide/get_started/install_from_flathub.md +41 -0
  162. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/get_started/install_from_pypi.md +2 -0
  163. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_demo_logs.png +0 -0
  164. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_high_verbosity.png +0 -0
  165. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_integrations.png +0 -0
  166. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_logger_connected.png +0 -0
  167. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_new_incoming_webhook.png +0 -0
  168. constellationdaq-0.4/docs/operator_guide/howtos/mattermost_open_integrations.png +0 -0
  169. constellationdaq-0.4/docs/operator_guide/howtos/setup_mattermost_logger.md +96 -0
  170. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/index.md +4 -1
  171. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/tutorials/missioncontrol.md +58 -40
  172. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_empty.png +0 -0
  173. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_init_first.png +0 -0
  174. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_new.png +0 -0
  175. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_orbit.png +0 -0
  176. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_run.png +0 -0
  177. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_satellite_details.png +0 -0
  178. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_single_command.png +0 -0
  179. constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_single_response.png +0 -0
  180. constellationdaq-0.4/docs/operator_guide/tutorials/observatory.md +145 -0
  181. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_debug.png +0 -0
  182. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_empty.png +0 -0
  183. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_extra_subscription.png +0 -0
  184. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_init.png +0 -0
  185. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_message_detail.png +0 -0
  186. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_multi_filter.png +0 -0
  187. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_new.png +0 -0
  188. constellationdaq-0.4/docs/operator_guide/tutorials/observatory_text_filter.png +0 -0
  189. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cdtp.md +2 -5
  190. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/chp.md +9 -4
  191. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cmdp.md +19 -2
  192. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cscp.md +1 -1
  193. constellationdaq-0.4/docs/satellites/_metric_header.md +4 -0
  194. constellationdaq-0.4/docs/satellites/_metrics_cxx_ReceiverSatellite.md +7 -0
  195. constellationdaq-0.3/docs/satellites/_py_Satellite.md → constellationdaq-0.4/docs/satellites/_metrics_cxx_Satellite.md +1 -1
  196. constellationdaq-0.4/docs/satellites/_metrics_cxx_TransmitterSatellite.md +7 -0
  197. constellationdaq-0.4/docs/satellites/_metrics_py_DataReceiver.md +4 -0
  198. constellationdaq-0.4/docs/satellites/_metrics_py_Satellite.md +4 -0
  199. constellationdaq-0.3/docs/satellites/_cxx_ReceiverSatellite.md → constellationdaq-0.4/docs/satellites/_parameters_cxx_ReceiverSatellite.md +1 -0
  200. constellationdaq-0.4/docs/satellites/_parameters_py_Satellite.md +4 -0
  201. constellationdaq-0.4/docs/satellites/external_satellites.json +14 -0
  202. {constellationdaq-0.3 → constellationdaq-0.4}/meson.build +3 -3
  203. {constellationdaq-0.3 → constellationdaq-0.4}/meson_options.txt +1 -0
  204. {constellationdaq-0.3 → constellationdaq-0.4}/pyproject.toml +7 -0
  205. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/__init__.py +1 -1
  206. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/base.py +32 -59
  207. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/broadcastmanager.py +25 -25
  208. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cdtp.py +1 -6
  209. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/chirp.py +7 -10
  210. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/chp.py +31 -13
  211. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cmdp.py +52 -50
  212. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/commandmanager.py +39 -24
  213. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/configuration.py +2 -2
  214. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/controller.py +30 -19
  215. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cscp.py +5 -4
  216. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/datareceiver.py +16 -15
  217. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/datasender.py +19 -17
  218. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/error.py +4 -3
  219. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/fsm.py +31 -27
  220. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/heartbeatchecker.py +22 -20
  221. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/heartbeater.py +8 -6
  222. constellationdaq-0.4/python/constellation/core/logging.py +76 -0
  223. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/monitoring.py +37 -81
  224. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/network.py +32 -16
  225. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/protocol.py +12 -16
  226. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/satellite.py +29 -53
  227. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/meson.build +1 -0
  228. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/CaenHV.py +12 -6
  229. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/__main__.py +6 -4
  230. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/lib_caen_ndt1470.py +4 -3
  231. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/H5DataWriter.py +1 -1
  232. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/README.md +2 -1
  233. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/__main__.py +6 -4
  234. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/Influx.py +1 -1
  235. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/README.md +7 -1
  236. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/__main__.py +6 -4
  237. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/Keithley.py +6 -6
  238. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/Keithley2410.py +1 -1
  239. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/KeithleyInterface.py +2 -2
  240. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/__main__.py +6 -4
  241. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/LakeShore218.py +26 -41
  242. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/README.md +2 -0
  243. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/__main__.py +6 -4
  244. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/Mariner.py +3 -3
  245. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/__main__.py +6 -4
  246. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/__init__.py +1 -1
  247. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/tools/H5datareader.py +3 -1
  248. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/tools/list_interfaces.py +4 -3
  249. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/conftest.py +17 -15
  250. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_broadcastmanager.py +4 -6
  251. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cdtp.py +4 -4
  252. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_chirp.py +4 -4
  253. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cmd_receiver.py +11 -11
  254. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_configuration.py +2 -2
  255. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_controller.py +4 -4
  256. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_example.py +5 -5
  257. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_heartbeat.py +4 -4
  258. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_monitoring.py +15 -25
  259. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_satellite.py +8 -12
  260. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/.gitignore +8 -0
  261. constellationdaq-0.4/subprojects/argparse.wrap +13 -0
  262. constellationdaq-0.4/subprojects/catch2.wrap +11 -0
  263. constellationdaq-0.4/subprojects/cpr.wrap +13 -0
  264. constellationdaq-0.4/subprojects/curl.wrap +13 -0
  265. constellationdaq-0.4/subprojects/fmt.wrap +13 -0
  266. constellationdaq-0.4/subprojects/openssl.wrap +15 -0
  267. constellationdaq-0.4/subprojects/spdlog.wrap +13 -0
  268. constellationdaq-0.3/cxx/constellation/core/message/CHP1Message.cpp +0 -106
  269. constellationdaq-0.3/cxx/listeners/Observatory/QLogListener.cpp +0 -114
  270. constellationdaq-0.3/cxx/satellites/Sputnik/SputnikSatellite.cpp +0 -51
  271. constellationdaq-0.3/docs/application_development/howtos/receiver_cxx.md +0 -20
  272. constellationdaq-0.3/docs/framework_reference/flatpak.md +0 -174
  273. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_empty.png +0 -0
  274. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_init_first.png +0 -0
  275. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_new.png +0 -0
  276. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_orbit.png +0 -0
  277. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_run.png +0 -0
  278. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_single_command.png +0 -0
  279. constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_single_response.png +0 -0
  280. constellationdaq-0.3/docs/satellites/external_satellites.json +0 -9
  281. constellationdaq-0.3/scripts/meson_disable_qt_components.sh +0 -6
  282. constellationdaq-0.3/subprojects/argparse.wrap +0 -13
  283. constellationdaq-0.3/subprojects/catch2.wrap +0 -11
  284. constellationdaq-0.3/subprojects/spdlog.wrap +0 -13
  285. {constellationdaq-0.3 → constellationdaq-0.4}/.clang-format +0 -0
  286. {constellationdaq-0.3 → constellationdaq-0.4}/.clang-format-ignore +0 -0
  287. {constellationdaq-0.3 → constellationdaq-0.4}/.codespellrc +0 -0
  288. {constellationdaq-0.3 → constellationdaq-0.4}/.editorconfig +0 -0
  289. {constellationdaq-0.3 → constellationdaq-0.4}/.gitattributes +0 -0
  290. {constellationdaq-0.3 → constellationdaq-0.4}/.gitignore +0 -0
  291. {constellationdaq-0.3 → constellationdaq-0.4}/.mailmap +0 -0
  292. {constellationdaq-0.3 → constellationdaq-0.4}/.markdownlintrc +0 -0
  293. {constellationdaq-0.3 → constellationdaq-0.4}/CITATION.cff +0 -0
  294. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSE +0 -0
  295. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/Apache-2.0.txt +0 -0
  296. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/CC-BY-4.0.txt +0 -0
  297. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/CC0-1.0.txt +0 -0
  298. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/EUPL-1.2.txt +0 -0
  299. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/GPL-3.0-or-later.txt +0 -0
  300. {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/MIT.txt +0 -0
  301. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/ControllerConfiguration.hpp +0 -0
  302. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/exceptions.hpp +0 -0
  303. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/meson.build +0 -0
  304. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastRecv.cpp +0 -0
  305. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastRecv.hpp +0 -0
  306. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastSend.cpp +0 -0
  307. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastSend.hpp +0 -0
  308. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.cpp +0 -0
  309. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.hpp +0 -0
  310. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.ipp +0 -0
  311. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.ipp +0 -0
  312. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/exceptions.cpp +0 -0
  313. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/exceptions.hpp +0 -0
  314. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/external/.clang-tidy +0 -0
  315. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/external/md5.h +0 -0
  316. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatRecv.hpp +0 -0
  317. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Level.hpp +0 -0
  318. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/ProxySink.hpp +0 -0
  319. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/log.hpp +0 -0
  320. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/BaseHeader.hpp +0 -0
  321. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHIRPMessage.cpp +0 -0
  322. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHIRPMessage.hpp +0 -0
  323. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CSCP1Message.hpp +0 -0
  324. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/PayloadBuffer.hpp +0 -0
  325. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/exceptions.hpp +0 -0
  326. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/Port.hpp +0 -0
  327. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/asio_helpers.cpp +0 -0
  328. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/asio_helpers.hpp +0 -0
  329. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/exceptions.hpp +0 -0
  330. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/zmq_helpers.hpp +0 -0
  331. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/BasePool.hpp +0 -0
  332. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/SubscriberPool.hpp +0 -0
  333. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/SubscriberPool.ipp +0 -0
  334. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CDTP_definitions.hpp +0 -0
  335. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CHIRP_definitions.hpp +0 -0
  336. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CHP_definitions.hpp +0 -0
  337. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/casts.hpp +0 -0
  338. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/enum.hpp +0 -0
  339. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/std_future.hpp +0 -0
  340. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/string.hpp +0 -0
  341. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/timers.hpp +0 -0
  342. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/type.hpp +0 -0
  343. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/windows.hpp +0 -0
  344. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/DSOLoader.hpp +0 -0
  345. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/exceptions.hpp +0 -0
  346. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/main.cpp +0 -0
  347. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/satellite.hpp +0 -0
  348. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/templates/generator.cpp.in +0 -0
  349. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/Constellation.qrc +0 -0
  350. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.hpp +0 -0
  351. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessage.hpp +0 -0
  352. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.cpp +0 -0
  353. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.hpp +0 -0
  354. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.ui +0 -0
  355. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.cpp +0 -0
  356. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.hpp +0 -0
  357. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.ui +0 -0
  358. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-change_circle.svg +0 -0
  359. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-expand_circle_down.svg +0 -0
  360. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-expand_circle_up.svg +0 -0
  361. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-not_started.svg +0 -0
  362. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-play_circle.svg +0 -0
  363. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-power_settings_circle.svg +0 -0
  364. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-stop_circle.svg +0 -0
  365. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/LogListener.hpp +0 -0
  366. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/meson.build +0 -0
  367. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.cpp +0 -0
  368. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.hpp +0 -0
  369. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.ipp +0 -0
  370. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.cpp +0 -0
  371. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/exceptions.hpp +0 -0
  372. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/meson.build +0 -0
  373. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/de.desy.constellation.missioncontrol.desktop +0 -0
  374. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/meson.build +0 -0
  375. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.qrc +0 -0
  376. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/de.desy.constellation.observatory.desktop +0 -0
  377. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/meson.build +0 -0
  378. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/README.md +0 -0
  379. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/meson.build +0 -0
  380. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/meson.build +0 -0
  381. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/meson.build +0 -0
  382. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/SputnikSatellite.hpp +0 -0
  383. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/meson.build +0 -0
  384. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/dummy_controller.hpp +0 -0
  385. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_broadcast.cpp +0 -0
  386. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_message.cpp +0 -0
  387. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_protocol.cpp +0 -0
  388. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_exec_dsoloader.cpp +0 -0
  389. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/good_config.toml +0 -0
  390. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/inhomogeneous_array.toml +0 -0
  391. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/invalid_toml.txt +0 -0
  392. {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/meson.build +0 -0
  393. {constellationdaq-0.3 → constellationdaq-0.4}/docs/.gitignore +0 -0
  394. {constellationdaq-0.3 → constellationdaq-0.4}/docs/Doxyfile +0 -0
  395. {constellationdaq-0.3 → constellationdaq-0.4}/docs/Makefile +0 -0
  396. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/css/custom.css +0 -0
  397. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_code_typing_re_p8b9.svg +0 -0
  398. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_knowledge_re_5v9l.svg +0 -0
  399. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_online_connection_6778.svg +0 -0
  400. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_open_source_-1-qxw.svg +0 -0
  401. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_set_preferences_kwia.svg +0 -0
  402. {constellationdaq-0.3 → constellationdaq-0.4}/docs/_templates/recentposts.html +0 -0
  403. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/data_transmission.md +0 -0
  404. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/logging.md +0 -0
  405. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/bench_frame_size_vs_data_rate.png +0 -0
  406. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/bench_number_of_frames_vs_data_rate.png +0 -0
  407. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/data_transmission_speed.md +0 -0
  408. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/external_satellite.md +0 -0
  409. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/port_eudaq.md +0 -0
  410. {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/tutorials/satellite_py.md +0 -0
  411. {constellationdaq-0.3/docs/drawings → constellationdaq-0.4/docs/etc}/ConstellationProtocols.drawio +0 -0
  412. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/contributing.md +0 -0
  413. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/controller/controller.md +0 -0
  414. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/controller/index.rst +0 -0
  415. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/chirp.md +0 -0
  416. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/config.md +0 -0
  417. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/heartbeat.md +0 -0
  418. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/index.rst +0 -0
  419. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/log.md +0 -0
  420. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/message.md +0 -0
  421. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/networking.md +0 -0
  422. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/pools.md +0 -0
  423. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/protocol.md +0 -0
  424. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/utils.md +0 -0
  425. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/listener/index.rst +0 -0
  426. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/listener/listener.md +0 -0
  427. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/satellite/index.rst +0 -0
  428. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/satellite/satellite.md +0 -0
  429. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/protocols.md +0 -0
  430. {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/satellite.md +0 -0
  431. {constellationdaq-0.3 → constellationdaq-0.4}/docs/index.md +0 -0
  432. {constellationdaq-0.3 → constellationdaq-0.4}/docs/latex_helpers.py +0 -0
  433. {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo.png +0 -0
  434. {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo.svg +0 -0
  435. {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_observatory.png +0 -0
  436. {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_observatory.svg +0 -0
  437. {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_small.png +0 -0
  438. {constellationdaq-0.3 → constellationdaq-0.4}/docs/news.md +0 -0
  439. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CHP.svg +0 -0
  440. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CMDP.svg +0 -0
  441. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CSCP.svg +0 -0
  442. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/autonomy.md +0 -0
  443. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/controller.md +0 -0
  444. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/logging.md +0 -0
  445. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/satellite.md +0 -0
  446. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/telemetry.md +0 -0
  447. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/get_started/install_from_source.md +0 -0
  448. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_add_influxdb.png +0 -0
  449. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_dashboard.png +0 -0
  450. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_panel_editor.png +0 -0
  451. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_panel_editor_final.png +0 -0
  452. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_setup_influxdb.png +0 -0
  453. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_api_key.png +0 -0
  454. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_bucket.png +0 -0
  455. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_query_builder.png +0 -0
  456. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_query_script.png +0 -0
  457. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_setup.png +0 -0
  458. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/setup_influxdb_grafana.md +0 -0
  459. /constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_startup.png → /constellationdaq-0.4/docs/operator_guide/tutorials/qtgui_startup.png +0 -0
  460. {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/tutorials/single_satellite.md +0 -0
  461. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/chirp.md +0 -0
  462. {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/index.rst +0 -0
  463. {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/.gitignore +0 -0
  464. {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/_parameter_header.md +0 -0
  465. /constellationdaq-0.3/docs/satellites/_cxx_Satellite.md → /constellationdaq-0.4/docs/satellites/_parameters_cxx_Satellite.md +0 -0
  466. /constellationdaq-0.3/docs/satellites/_cxx_TransmitterSatellite.md → /constellationdaq-0.4/docs/satellites/_parameters_cxx_TransmitterSatellite.md +0 -0
  467. /constellationdaq-0.3/docs/satellites/_py_DataReceiver.md → /constellationdaq-0.4/docs/satellites/_parameters_py_DataReceiver.md +0 -0
  468. {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/index.md.in +0 -0
  469. {constellationdaq-0.3 → constellationdaq-0.4}/gcovr.cfg +0 -0
  470. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/py.typed +0 -0
  471. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/version_code_name +0 -0
  472. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/README.md +0 -0
  473. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/meson.build +0 -0
  474. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/meson.build +0 -0
  475. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/meson.build +0 -0
  476. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/README.md +0 -0
  477. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/meson.build +0 -0
  478. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/meson.build +0 -0
  479. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/README.md +0 -0
  480. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/meson.build +0 -0
  481. {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/meson.build +0 -0
  482. {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cfg.toml +0 -0
  483. {constellationdaq-0.3 → constellationdaq-0.4}/scripts/create_source_dist.sh +0 -0
  484. {constellationdaq-0.3 → constellationdaq-0.4}/scripts/meson_enable_all_components.sh +0 -0
  485. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/asio.wrap +0 -0
  486. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/cppzmq.wrap +0 -0
  487. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/libzmq.wrap +0 -0
  488. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/magic_enum.wrap +0 -0
  489. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/msgpackc-cxx.wrap +0 -0
  490. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/fix-mingw-afunixh.diff +0 -0
  491. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/meson.build +0 -0
  492. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/meson_options.txt +0 -0
  493. {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/tomlplusplus.wrap +0 -0
@@ -30,7 +30,7 @@ WarningsAsErrors: '*'
30
30
  HeaderFileExtensions: ['', 'h', 'hpp', 'ipp']
31
31
  CheckOptions:
32
32
  misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
33
- misc-include-cleaner.IgnoreHeaders: 'bits/.*;asio.*;msgpack.*;spdlog.*;toml\+\+.*;q[^\/]+\.h'
33
+ misc-include-cleaner.IgnoreHeaders: 'bits/.*;asio.*;msgpack.*;spdlog.*;toml\+\+.*;q[^\/]+\.h;cpr.*'
34
34
  modernize-use-override.IgnoreDestructors: 'true'
35
35
  cppcoreguidelines-avoid-do-while.IgnoreMacros: 'true'
36
36
  readability-identifier-naming.NamespaceCase: lower_case
@@ -7,7 +7,7 @@ cpp = ['ccache', 'x86_64-w64-mingw32ucrt-g++']
7
7
  ar = 'x86_64-w64-mingw32ucrt-ar'
8
8
  strip = 'x86_64-w64-mingw32ucrt-strip'
9
9
  pkg-config = 'x86_64-w64-mingw32ucrt-pkg-config'
10
- exe_wrapper = 'wine64'
10
+ # exe_wrapper = 'wine64'
11
11
 
12
12
  [host_machine]
13
13
  system = 'windows'
@@ -0,0 +1,45 @@
1
+ # SPDX-FileCopyrightText: 2025 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ name: Sync PRs to DESY GitLab
5
+
6
+ on:
7
+ pull_request_target:
8
+ types: [opened, synchronize, reopened, edited]
9
+
10
+ jobs:
11
+ sync:
12
+ runs-on: ubuntu-latest
13
+ env:
14
+ GITLAB_REPOSITORY: "gitlab.desy.de/constellation/constellation"
15
+ GITLAB_PROJECT_TOKEN: ${{ secrets.GITLAB_PROJECT_TOKEN }}
16
+ REMOTE_TARGET_BRANCH: "main"
17
+ REMOTE_BRANCH_PREFIX: "github"
18
+
19
+ steps:
20
+ - name: Checkout PR branch
21
+ uses: actions/checkout@v4
22
+ with:
23
+ ref: ${{ github.event.pull_request.head.ref }}
24
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
25
+ fetch-depth: 0
26
+
27
+ - name: Add GitLab as remote
28
+ run: |
29
+ git remote add gitlab https://github:$GITLAB_PROJECT_TOKEN@$GITLAB_REPOSITORY.git
30
+ git fetch gitlab $REMOTE_TARGET_BRANCH
31
+
32
+ - name: Push branch to GitLab
33
+ env:
34
+ PR_AUTHOR: ${{ github.event.pull_request.user.login }}
35
+ PR_BRANCH: ${{ github.event.pull_request.head.ref }}
36
+ PR_TITLE: ${{ github.event.pull_request.title }}
37
+ PR_NUMBER: ${{ github.event.pull_request.number }}
38
+ PR_LINK: ${{ github.event.pull_request.html_url }}
39
+ PR_DESCRIPTION: ${{ github.event.pull_request.body }}
40
+ run: |
41
+ PR_DESCRIPTION="${PR_DESCRIPTION//$'\n'/\\n}" # escape newlines
42
+ git push gitlab --force "$PR_BRANCH:$REMOTE_BRANCH_PREFIX-$PR_AUTHOR-$PR_BRANCH" \
43
+ -o merge_request.create -o merge_request.target=$REMOTE_TARGET_BRANCH \
44
+ -o merge_request.title="$PR_TITLE" -o merge_request.label=github \
45
+ -o merge_request.description="[GitHub PR #$PR_NUMBER]($PR_LINK)\n\n$PR_DESCRIPTION"
@@ -64,9 +64,10 @@ variables:
64
64
 
65
65
  .cpp-hi-load: &cpp-hi-load
66
66
  variables:
67
- NINJA_OPTIONS: "-j4"
68
- KUBERNETES_CPU_REQUEST: "4"
69
- KUBERNETES_MEMORY_REQUEST: "10Gi"
67
+ NINJA_OPTIONS: "-j8"
68
+ KUBERNETES_CPU_REQUEST: "8"
69
+ KUBERNETES_MEMORY_REQUEST: "16Gi"
70
+ MESON_NUM_PROCESSES: "8"
70
71
  tags:
71
72
  - hi-load
72
73
 
@@ -120,13 +121,13 @@ variables:
120
121
  - pip install meson-python meson ninja
121
122
 
122
123
  .python-3.11:
123
- image: python:3.11
124
+ image: tollerort.desy.de/hub.docker.com/python:3.11
124
125
 
125
126
  .python-3.12:
126
- image: python:3.12
127
+ image: tollerort.desy.de/hub.docker.com/python:3.12
127
128
 
128
129
  .python-3.13:
129
- image: python:3.13
130
+ image: tollerort.desy.de/hub.docker.com/python:3.13
130
131
 
131
132
  # Combined Python / C++ templates
132
133
 
@@ -168,11 +169,8 @@ variables:
168
169
  build:alma9-cern:
169
170
  extends:
170
171
  - .build-cpp
172
+ - .cpp-hi-load
171
173
  - .alma9-cern
172
- cache:
173
- - <<: *meson-wrap-cache
174
- policy: pull-push
175
- - *ccache
176
174
  variables:
177
175
  BUILD_TYPE: "release"
178
176
  BUILD_OPTIONS: "-Db_lto=true -Db_lto_mode=thin -Dbuild_gui=qt5"
@@ -180,6 +178,7 @@ build:alma9-cern:
180
178
  build:debian-clang:
181
179
  extends:
182
180
  - .build-cpp
181
+ - .cpp-hi-load
183
182
  - .debian-clang
184
183
  variables:
185
184
  BUILD_TYPE: "debug"
@@ -188,16 +187,17 @@ build:debian-clang:
188
187
  build:debian-clang-libcxx:
189
188
  extends:
190
189
  - .build-cpp
190
+ - .cpp-hi-load
191
191
  - .debian-clang
192
192
  variables:
193
193
  BUILD_TYPE: "debugoptimized"
194
- BUILD_OPTIONS: "--wrap-mode=forcefallback -Dspdlog:external_fmt=disabled -Db_sanitize=thread -Db_lundef=false"
195
- BUILD_SCRIPTS: "scripts/meson_disable_qt_components.sh"
194
+ BUILD_OPTIONS: "--wrap-mode=forcefallback -Db_sanitize=thread -Db_lundef=false -Dbuild_gui=none"
196
195
  CXXFLAGS: "-stdlib=libc++ -fexperimental-library"
197
196
 
198
197
  build:debian-gcc:
199
198
  extends:
200
199
  - .build-cpp
200
+ - .cpp-hi-load
201
201
  - .debian-gcc
202
202
  variables:
203
203
  BUILD_TYPE: "debug"
@@ -207,6 +207,7 @@ build:debian-gcc:
207
207
  build:fedora-clang:
208
208
  extends:
209
209
  - .build-cpp
210
+ - .cpp-hi-load
210
211
  - .fedora-clang
211
212
  variables:
212
213
  BUILD_TYPE: "debugoptimized"
@@ -218,14 +219,17 @@ build:fedora-mingw:
218
219
  - .fedora-mingw
219
220
  variables:
220
221
  BUILD_TYPE: "release"
221
- BUILD_OPTIONS: "--cross .cross/mingw-ucrt.ini"
222
- BUILD_SCRIPTS: "scripts/meson_disable_qt_components.sh"
222
+ BUILD_OPTIONS: "--cross .cross/mingw-ucrt.ini -Dbuild_gui=none"
223
223
 
224
224
  build:ubuntu-22.04:
225
225
  extends:
226
226
  - .build-cpp
227
227
  - .cpp-hi-load
228
228
  - .ubuntu-22.04
229
+ cache:
230
+ - <<: *meson-wrap-cache
231
+ policy: pull-push
232
+ - *ccache
229
233
  variables:
230
234
  BUILD_TYPE: "debugoptimized"
231
235
  BUILD_OPTIONS: "-Dbuild_gui=qt5"
@@ -234,6 +238,7 @@ build:ubuntu-22.04:
234
238
  build:ubuntu-24.04:
235
239
  extends:
236
240
  - .build-cpp
241
+ - .cpp-hi-load
237
242
  - .ubuntu-24.04
238
243
  variables:
239
244
  BUILD_TYPE: "debugoptimized"
@@ -425,6 +430,7 @@ lint:clang-tidy:
425
430
  extends:
426
431
  - .lint
427
432
  - .debian-clang
433
+ - .cpp-hi-load
428
434
  needs:
429
435
  - job: build:debian-clang
430
436
  artifacts: true
@@ -437,12 +443,13 @@ lint:clang-tidy-diff:
437
443
  extends:
438
444
  - .lint
439
445
  - .debian-clang
446
+ - .cpp-hi-load
440
447
  needs:
441
448
  - job: build:debian-clang
442
449
  artifacts: true
443
450
  script:
444
451
  - git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
445
- - git diff -U0 origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- | clang-tidy-diff -p 1 -path build -j $(nproc)
452
+ - git diff -U0 origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- | clang-tidy-diff -p 1 -path build -j $MESON_NUM_PROCESSES
446
453
  rules:
447
454
  - if: $CI_PIPELINE_SOURCE == "merge_request_event"
448
455
  <<: *cpp-rules-changes
@@ -510,6 +517,15 @@ format:black:
510
517
  - pip install --no-build-isolation -e .[dev]
511
518
  - black --check python/
512
519
 
520
+ format:isort:
521
+ extends:
522
+ - .format
523
+ - .python-venv
524
+ - .python-3.11
525
+ script:
526
+ - pip install --no-build-isolation -e .[dev]
527
+ - isort --check .
528
+
513
529
  format:flake8:
514
530
  extends:
515
531
  - .format
@@ -529,7 +545,7 @@ format:clang-format:
529
545
 
530
546
  format:reuse:
531
547
  extends: .format
532
- image: fsfe/reuse:latest
548
+ image: tollerort.desy.de/hub.docker.com/fsfe/reuse:latest
533
549
  script:
534
550
  - reuse lint
535
551
 
@@ -603,18 +619,20 @@ docs:spelling:
603
619
 
604
620
  .deploy:
605
621
  stage: deploy
622
+ needs: []
606
623
 
607
- deploy:source:
624
+ deploy:release:
608
625
  extends:
609
626
  - .deploy
610
- image: alpine:latest
627
+ image: tollerort.desy.de/hub.docker.com/alpine:latest
611
628
  variables:
612
629
  GITLAB_HOST: $CI_SERVER_URL
613
630
  script:
614
631
  - apk add git meson tar xz glab
615
632
  - scripts/create_source_dist.sh
633
+ - CODENAME=$(grep version_code_name meson.build | sed -E "s%version_code_name = '([^']+)'%\1%")
616
634
  - glab auth login --job-token $CI_JOB_TOKEN --hostname $CI_SERVER_HOST --api-protocol $CI_SERVER_PROTOCOL
617
- - glab release create $CI_COMMIT_TAG "Constellation-${CI_COMMIT_TAG}.tar.xz#Full source code"
635
+ - glab release create $CI_COMMIT_TAG "Constellation-${CI_COMMIT_TAG}.tar.xz#Full source code" --name "Constellation ${CI_COMMIT_TAG} - ${CODENAME}"
618
636
  rules:
619
637
  - if: $CI_COMMIT_TAG =~ /^v.*/
620
638
 
@@ -21,37 +21,42 @@ repos:
21
21
  - id: trailing-whitespace
22
22
  args: [--markdown-linebreak-ext=md]
23
23
 
24
+ - repo: https://github.com/pycqa/isort
25
+ rev: 6.0.1
26
+ hooks:
27
+ - id: isort
28
+
24
29
  - repo: https://github.com/codespell-project/codespell
25
- rev: v2.3.0
30
+ rev: v2.4.1
26
31
  hooks:
27
32
  - id: codespell
28
33
 
29
34
  - repo: https://github.com/pre-commit/mirrors-clang-format
30
- rev: v19.1.6
35
+ rev: v19.1.7
31
36
  hooks:
32
37
  - id: clang-format
33
38
 
34
39
  - repo: https://github.com/pycqa/flake8
35
- rev: 7.1.1
40
+ rev: 7.1.2
36
41
  hooks:
37
42
  - id: flake8
38
43
  additional_dependencies: [Flake8-pyproject]
39
44
 
40
45
  - repo: https://github.com/psf/black
41
- rev: 24.10.0
46
+ rev: 25.1.0
42
47
  hooks:
43
48
  - id: black
44
49
  language_version: python3
45
50
 
46
51
  - repo: https://github.com/pre-commit/mirrors-mypy
47
- rev: v1.14.1
52
+ rev: v1.15.0
48
53
  hooks:
49
54
  - id: mypy
50
55
  args: [--no-warn-unused-ignores, --ignore-missing-imports]
51
56
  files: "python/constellation/core"
52
57
 
53
58
  - repo: https://github.com/igorshubovych/markdownlint-cli
54
- rev: v0.43.0
59
+ rev: v0.44.0
55
60
  hooks:
56
61
  - id: markdownlint
57
62
 
@@ -0,0 +1,21 @@
1
+ ---
2
+ # SPDX-FileCopyrightText: 2025 DESY and the Constellation authors
3
+ # SPDX-License-Identifier: CC-BY-4.0
4
+ title: "Authors and Acknowledgments"
5
+ ---
6
+
7
+ Constellation is developed and maintained by:
8
+
9
+ * Stephan Lachnit, Deutsches Elektronen-Synchrotron DESY, [stephan.lachnit](https://gitlab.desy.de/stephan.lachnit)
10
+ * Simon Spannagel, Deutsches Elektronen-Synchrotron DESY, [simonspa](https://gitlab.desy.de/simonspa)
11
+ * Hanno Perrey, Prevas AB, [hanno.perrey](https://gitlab.desy.de/hanno.perrey)
12
+
13
+ The following authors, in alphabetical order, have developed or contributed to Constellation:
14
+
15
+ * Lene Kristian Bryngemark, Lunds universitet, [ext-lene_kristian.bryngemark](https://gitlab.desy.de/ext-lene_kristian.bryngemark)
16
+ * Joel Ekström, Prevas AB, [joel.ekstroem](https://gitlab.desy.de/joel.ekstroem)
17
+ * Lennart Huth, Deutsches Elektronen-Synchrotron DESY, [lennart.huth](https://gitlab.desy.de/lennart.huth)
18
+ * Linus Ros, Prevas AB, [linus.ros](https://gitlab.desy.de/linus.ros)
19
+ * Aditya Saroha, SJC Institute of Technology, [ext-adityasaroha456](https://gitlab.desy.de/ext-adityasaroha456)
20
+ * Annika Vauth, Universität Hamburg, [annika.vauth](https://gitlab.desy.de/annika.vauth)
21
+ * Håkan Wennlöf, Deutsches Elektronen-Synchrotron DESY, [hwennlof](https://gitlab.desy.de/hwennlof)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ConstellationDAQ
3
- Version: 0.3
3
+ Version: 0.4
4
4
  Summary: The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
5
5
  Author: Constellation Authors
6
6
  License: EUPL-1.2
@@ -32,6 +32,7 @@ Requires-Dist: flake8; extra == "dev"
32
32
  Requires-Dist: flake8-pyproject; extra == "dev"
33
33
  Requires-Dist: mypy; extra == "dev"
34
34
  Requires-Dist: types-psutil; extra == "dev"
35
+ Requires-Dist: isort; extra == "dev"
35
36
  Provides-Extra: test
36
37
  Requires-Dist: pytest; extra == "test"
37
38
  Requires-Dist: pytest-forked; extra == "test"
@@ -50,6 +51,7 @@ Requires-Dist: sphinx_design; extra == "docs"
50
51
  Requires-Dist: sphinx-favicon; extra == "docs"
51
52
  Requires-Dist: sphinx-copybutton; extra == "docs"
52
53
  Requires-Dist: PyYAML; extra == "docs"
54
+ Requires-Dist: python-slugify; extra == "docs"
53
55
  Provides-Extra: cli
54
56
  Requires-Dist: ipython; extra == "cli"
55
57
  Provides-Extra: caenhv
@@ -79,7 +81,7 @@ SPDX-License-Identifier: CC-BY-4.0
79
81
 
80
82
  ## The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
81
83
 
82
- Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that requires minimal effort for the integration of new devices, that is based on widely adopted open-source network communication libraries and that keeps the required maintenance as low as possible.
84
+ Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that is easy to use and requires minimal effort for the integration of new devices.
83
85
 
84
86
  More details about the project can be found on the website at [constellation.pages.desy.de](https://constellation.pages.desy.de/).
85
87
 
@@ -87,7 +89,7 @@ More details about the project can be found on the website at [constellation.pag
87
89
  [![License: EUPL 1.2](https://img.shields.io/badge/License-EUPL%201.2-blue.svg)](https://opensource.org/license/eupl-1-2/)
88
90
  [![REUSE Status](https://api.reuse.software/badge/gitlab.desy.de/constellation/constellation)](https://api.reuse.software/info/gitlab.desy.de/constellation/constellation)
89
91
  [![Coverage Report](https://gitlab.desy.de/constellation/constellation/badges/main/coverage.svg)](https://gitlab.desy.de/constellation/constellation/-/graphs/main/charts)
90
- [![Build Status](https://gitlab.desy.de/constellation/constellation/badges/main/pipeline.svg)](https://gitlab.desy.de/constellation/constellation/-/commits/main)
92
+ [![Build Status](https://gitlab.desy.de/constellation/constellation/badges/main/pipeline.svg)](https://gitlab.desy.de/constellation/constellation/-/pipelines/charts)
91
93
 
92
94
  ## Licenses
93
95
 
@@ -9,7 +9,7 @@ SPDX-License-Identifier: CC-BY-4.0
9
9
 
10
10
  ## The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
11
11
 
12
- Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that requires minimal effort for the integration of new devices, that is based on widely adopted open-source network communication libraries and that keeps the required maintenance as low as possible.
12
+ Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that is easy to use and requires minimal effort for the integration of new devices.
13
13
 
14
14
  More details about the project can be found on the website at [constellation.pages.desy.de](https://constellation.pages.desy.de/).
15
15
 
@@ -17,7 +17,7 @@ More details about the project can be found on the website at [constellation.pag
17
17
  [![License: EUPL 1.2](https://img.shields.io/badge/License-EUPL%201.2-blue.svg)](https://opensource.org/license/eupl-1-2/)
18
18
  [![REUSE Status](https://api.reuse.software/badge/gitlab.desy.de/constellation/constellation)](https://api.reuse.software/info/gitlab.desy.de/constellation/constellation)
19
19
  [![Coverage Report](https://gitlab.desy.de/constellation/constellation/badges/main/coverage.svg)](https://gitlab.desy.de/constellation/constellation/-/graphs/main/charts)
20
- [![Build Status](https://gitlab.desy.de/constellation/constellation/badges/main/pipeline.svg)](https://gitlab.desy.de/constellation/constellation/-/commits/main)
20
+ [![Build Status](https://gitlab.desy.de/constellation/constellation/badges/main/pipeline.svg)](https://gitlab.desy.de/constellation/constellation/-/pipelines/charts)
21
21
 
22
22
  ## Licenses
23
23
 
@@ -20,12 +20,14 @@ SPDX-License-Identifier = "GPL-3.0-or-later"
20
20
  [[annotations]]
21
21
  path = [
22
22
  "cxx/constellation/gui/Constellation.qrc",
23
+ "cxx/constellation/gui/QConnectionDialog.ui",
23
24
  "cxx/constellation/gui/QCommandDialog.ui",
24
25
  "cxx/constellation/gui/QLogMessageDialog.ui",
25
26
  "cxx/constellation/gui/QResponseDialog.ui",
26
27
  "cxx/controllers/MissionControl/MissionControl.ui",
27
28
  "cxx/listeners/Observatory/Observatory.qrc",
28
29
  "cxx/listeners/Observatory/Observatory.ui",
30
+ "cxx/listeners/Observatory/QSenderSubscriptions.ui",
29
31
  ]
30
32
  SPDX-FileCopyrightText = "DESY and the Constellation authors"
31
33
  SPDX-License-Identifier = "EUPL-1.2"
@@ -37,6 +39,7 @@ SPDX-License-Identifier = "Apache-2.0"
37
39
 
38
40
  [[annotations]]
39
41
  path = [
42
+ "docs/etc/de.desy.constellation.metainfo.xml",
40
43
  "cxx/controllers/MissionControl/de.desy.constellation.missioncontrol.desktop",
41
44
  "cxx/listeners/Observatory/de.desy.constellation.observatory.desktop",
42
45
  "python/constellation/core/version_code_name",
@@ -40,6 +40,8 @@
40
40
 
41
41
  #define CNSTLN_VERSION_FULL "v" CNSTLN_VERSION " (" CNSTLN_VERSION_CODE_NAME ")"
42
42
 
43
+ #define CNSTLN_PREFIX "@prefix@"
44
+
43
45
  #define CNSTLN_LIBDIR "@libdir@"
44
46
 
45
47
  #define CNSTLN_BUILDDIR "@builddir@"
@@ -36,12 +36,15 @@
36
36
  #include "constellation/core/log/log.hpp"
37
37
  #include "constellation/core/message/CHP1Message.hpp"
38
38
  #include "constellation/core/message/CSCP1Message.hpp"
39
+ #include "constellation/core/message/exceptions.hpp"
39
40
  #include "constellation/core/networking/exceptions.hpp"
40
41
  #include "constellation/core/networking/zmq_helpers.hpp"
41
42
  #include "constellation/core/protocol/CHIRP_definitions.hpp"
42
43
  #include "constellation/core/protocol/CHP_definitions.hpp"
43
44
  #include "constellation/core/protocol/CSCP_definitions.hpp"
44
45
  #include "constellation/core/utils/enum.hpp"
46
+ #include "constellation/core/utils/ManagerLocator.hpp"
47
+ #include "constellation/core/utils/msgpack.hpp"
45
48
  #include "constellation/core/utils/string.hpp"
46
49
 
47
50
  using namespace constellation::config;
@@ -59,7 +62,7 @@ Controller::Controller(std::string controller_name)
59
62
 
60
63
  void Controller::start() {
61
64
  LOG(logger_, DEBUG) << "Registering controller callback";
62
- auto* chirp_manager = chirp::Manager::getDefaultInstance();
65
+ auto* chirp_manager = ManagerLocator::getCHIRPManager();
63
66
  if(chirp_manager != nullptr) {
64
67
  chirp_manager->registerDiscoverCallback(&Controller::callback, CHIRP::CONTROL, this);
65
68
  chirp_manager->sendRequest(CHIRP::CONTROL);
@@ -73,7 +76,7 @@ void Controller::stop() {
73
76
  heartbeat_receiver_.stopPool();
74
77
 
75
78
  // Unregister callback
76
- auto* chirp_manager = chirp::Manager::getDefaultInstance();
79
+ auto* chirp_manager = ManagerLocator::getCHIRPManager();
77
80
  if(chirp_manager != nullptr) {
78
81
  chirp_manager->unregisterDiscoverCallback(&Controller::callback, CHIRP::CONTROL);
79
82
  }
@@ -92,6 +95,7 @@ void Controller::stop() {
92
95
  }
93
96
 
94
97
  void Controller::reached_state(CSCP::State /*state*/, bool /*global*/) {};
98
+ void Controller::leaving_state(CSCP::State /*state*/, bool /*global*/) {};
95
99
  void Controller::propagate_update(UpdateType /*type*/, std::size_t /*position*/, std::size_t /*total*/) {};
96
100
 
97
101
  // NOLINTNEXTLINE(performance-unnecessary-value-param)
@@ -102,6 +106,10 @@ void Controller::callback(chirp::DiscoveredService service, chirp::ServiceStatus
102
106
 
103
107
  void Controller::callback_impl(const constellation::chirp::DiscoveredService& service, chirp::ServiceStatus status) {
104
108
 
109
+ // Store old state:
110
+ const auto old_lowest_state = getLowestState();
111
+ const auto old_is_global = isInGlobalState();
112
+
105
113
  std::unique_lock<std::mutex> lock {connection_mutex_};
106
114
 
107
115
  // Add or drop, depending on message:
@@ -127,6 +135,7 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
127
135
 
128
136
  lock.unlock();
129
137
  // Propagate state change of the constellation
138
+ leaving_state(old_lowest_state, old_is_global);
130
139
  reached_state(getLowestState(), isInGlobalState());
131
140
  }
132
141
  } else if(status == chirp::ServiceStatus::DISCOVERED) {
@@ -170,6 +179,7 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
170
179
 
171
180
  lock.unlock();
172
181
  // Propagate state change of the constellation
182
+ leaving_state(old_lowest_state, old_is_global);
173
183
  reached_state(getLowestState(), isInGlobalState());
174
184
  }
175
185
  } catch(const zmq::error_t& e) {
@@ -182,40 +192,52 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
182
192
 
183
193
  void Controller::process_heartbeat(const message::CHP1Message& msg) {
184
194
 
195
+ // Cache old lowest state
196
+ const auto old_lowest_state = getLowestState();
197
+ const auto old_is_global = isInGlobalState();
198
+
185
199
  std::unique_lock<std::mutex> lock {connection_mutex_};
186
200
  const auto now = std::chrono::system_clock::now();
187
201
 
188
202
  // Find satellite from connection list based in the heartbeat sender name
189
203
  const auto sat = connections_.find(msg.getSender());
190
204
  if(sat != connections_.end()) {
191
- LOG(logger_, TRACE) << msg.getSender() << " reports state " << msg.getState() << ", next message in "
192
- << msg.getInterval().count();
205
+ LOG(logger_, TRACE) << msg.getSender() << " reports state " << msg.getState() << ", status "
206
+ << msg.getStatus().value_or("(none)") << ", next message in " << msg.getInterval().count();
193
207
 
194
208
  const auto deviation = std::chrono::duration_cast<std::chrono::seconds>(now - msg.getTime());
195
209
  if(std::chrono::abs(deviation) > 3s) [[unlikely]] {
196
210
  LOG(logger_, DEBUG) << "Detected time deviation of " << deviation << " to " << msg.getSender();
197
211
  }
198
212
 
199
- // Check if a state has changed and we need to calculate and propagate updates:
200
- const bool state_updated = (sat->second.state != msg.getState()) || (sat->second.interval != msg.getInterval());
213
+ // Check if information has changed and we need to calculate and propagate updates:
214
+ bool connection_updated = (sat->second.state != msg.getState()) || (sat->second.interval != msg.getInterval());
201
215
 
202
- // Update status and timers
216
+ // Update state and timers
203
217
  sat->second.interval = msg.getInterval();
204
218
  sat->second.last_heartbeat = now;
205
219
  sat->second.state = msg.getState();
206
220
 
221
+ // Update status message if available
222
+ const auto status = msg.getStatus();
223
+ if(status.has_value()) {
224
+ sat->second.last_message = status.value();
225
+ connection_updated = true;
226
+ }
227
+
207
228
  // Replenish lives unless we're in ERROR or SAFE state:
208
229
  if(msg.getState() != CSCP::State::ERROR && msg.getState() != CSCP::State::SAFE) {
209
230
  sat->second.lives = protocol::CHP::Lives;
210
231
  }
211
232
 
212
- // A state was changed, propagate this:
213
- if(state_updated) {
233
+ // Connection was changed, propagate this:
234
+ if(connection_updated) {
214
235
  // Notify derived classes of change
215
236
  propagate_update(UpdateType::UPDATED, std::distance(connections_.begin(), sat), connections_.size());
216
237
 
217
238
  lock.unlock();
218
239
  // Notify about this new state
240
+ leaving_state(old_lowest_state, old_is_global);
219
241
  reached_state(getLowestState(), isInGlobalState());
220
242
  }
221
243
  } else {
@@ -274,7 +296,7 @@ std::optional<std::chrono::system_clock::time_point> Controller::getRunStartTime
274
296
  } catch(const msgpack::unpack_error&) {
275
297
  continue;
276
298
  }
277
- } catch(const NetworkError& e) {
299
+ } catch(const MessageDecodingError& e) {
278
300
  LOG(CRITICAL) << e.what();
279
301
  continue;
280
302
  }
@@ -329,7 +351,7 @@ CSCP1Message Controller::send_receive(Connection& conn, CSCP1Message& cmd, bool
329
351
  auto reply = CSCP1Message::disassemble(recv_zmq_msg);
330
352
  const auto verb = reply.getVerb();
331
353
  conn.last_cmd_type = verb.first;
332
- conn.last_cmd_verb = verb.second;
354
+ conn.last_message = verb.second;
333
355
  return reply;
334
356
  }
335
357
 
@@ -349,7 +371,7 @@ CSCP1Message Controller::build_message(std::string verb, const CommandPayload& p
349
371
  send_msg.addPayload(std::get<List>(payload).assemble());
350
372
  } else if(std::holds_alternative<std::string>(payload)) {
351
373
  msgpack::sbuffer sbuf {};
352
- msgpack::pack(sbuf, std::get<std::string>(payload));
374
+ msgpack_pack(sbuf, std::get<std::string>(payload));
353
375
  send_msg.addPayload(std::move(sbuf));
354
376
  }
355
377
  return send_msg;
@@ -482,7 +504,7 @@ void Controller::controller_loop(const std::stop_token& stop_token) {
482
504
 
483
505
  // Discard all CHIRP services for this host - this will remove the connection through the callback:
484
506
  lock.unlock();
485
- auto* chirp_manager = chirp::Manager::getDefaultInstance();
507
+ auto* chirp_manager = ManagerLocator::getCHIRPManager();
486
508
  if(chirp_manager != nullptr) {
487
509
  chirp_manager->forgetDiscoveredServices(conn->second.host_id);
488
510
  }
@@ -74,7 +74,7 @@ namespace constellation::controller {
74
74
  /** State and last response */
75
75
  protocol::CSCP::State state {protocol::CSCP::State::NEW};
76
76
  message::CSCP1Message::Type last_cmd_type {};
77
- std::string last_cmd_verb {}; // NOLINT(readability-redundant-member-init)
77
+ std::string last_message {}; // NOLINT(readability-redundant-member-init)
78
78
  config::Dictionary commands {};
79
79
 
80
80
  /** Heartbeat status */
@@ -250,11 +250,19 @@ namespace constellation::controller {
250
250
  * update of a satellite or the joining or departing of a satellite, this method is called. This can e.g. be used to
251
251
  * emit signals for user interfaces or to trigger further actions.
252
252
  *
253
- * @param state The new global state of the constellation
253
+ * @param state The new global or lowest state of the constellation
254
254
  * @param global Flag indicating whether the new state is global or lowest
255
255
  */
256
256
  virtual void reached_state(protocol::CSCP::State state, bool global);
257
257
 
258
+ /**
259
+ * @brief Method called whenever a global or lowest state is left towards a new state
260
+ *
261
+ * @param state The previous lowest state of the constellation
262
+ * @param global Flag indicating whether the previous state was global or lowest
263
+ */
264
+ virtual void leaving_state(protocol::CSCP::State state, bool global);
265
+
258
266
  /**
259
267
  * @brief Method to propagate updates of connection data
260
268
  * @details This virtual method can be overridden by derived controller classes in order to be informed about
@@ -261,12 +261,13 @@ bool ControllerConfiguration::hasSatelliteConfiguration(std::string_view canonic
261
261
  void ControllerConfiguration::addSatelliteConfiguration(std::string_view canonical_name, config::Dictionary config) {
262
262
 
263
263
  // Check if already there
264
- auto config_it = satellite_configs_.find(canonical_name);
264
+ const auto canonical_name_lc = transform(canonical_name, ::tolower);
265
+ auto config_it = satellite_configs_.find(canonical_name_lc);
265
266
  if(config_it != satellite_configs_.end()) {
266
267
  LOG(config_parser_logger_, WARNING) << "Overwriting existing satellite configuration for " << canonical_name;
267
268
  config_it->second = std::move(config);
268
269
  } else {
269
- satellite_configs_.emplace(canonical_name, std::move(config));
270
+ satellite_configs_.emplace(canonical_name_lc, std::move(config));
270
271
  }
271
272
  }
272
273
 
@@ -98,14 +98,6 @@ bool DiscoverCallbackEntry::operator<(const DiscoverCallbackEntry& other) const
98
98
  return std::to_underlying(service_id) < std::to_underlying(other.service_id);
99
99
  }
100
100
 
101
- Manager* Manager::getDefaultInstance() {
102
- return Manager::default_manager_instance_;
103
- }
104
-
105
- void Manager::setAsDefaultInstance() {
106
- Manager::default_manager_instance_ = this;
107
- }
108
-
109
101
  Manager::Manager(const std::optional<asio::ip::address_v4>& brd_address,
110
102
  const asio::ip::address_v4& any_address,
111
103
  std::string_view group_name,
@@ -107,19 +107,6 @@ namespace constellation::chirp {
107
107
 
108
108
  /** Manager for CHIRP broadcasting and receiving */
109
109
  class Manager {
110
- public:
111
- /**
112
- * Return the default CHIRP Manager (requires to be set via `setAsDefaultInstance`)
113
- *
114
- * @return Pointer to default CHIRP Manager (might be a nullptr)
115
- */
116
- CNSTLN_API static Manager* getDefaultInstance();
117
-
118
- /**
119
- * Set this CHIRP manager as the default instance
120
- */
121
- CNSTLN_API void setAsDefaultInstance();
122
-
123
110
  public:
124
111
  /**
125
112
  * @param brd_address Broadcast address for outgoing broadcast messages
@@ -338,9 +325,6 @@ namespace constellation::chirp {
338
325
  std::mutex discover_callbacks_mutex_;
339
326
 
340
327
  std::jthread main_loop_thread_;
341
-
342
- // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
343
- inline static Manager* default_manager_instance_;
344
328
  };
345
329
 
346
330
  } // namespace constellation::chirp