Commit Graph

8 Commits

Author SHA1 Message Date
Guillaume Raffy d9e2199d2e cocluto v1.0.30 - rewrote SimpaDbUtil.ISqlConnection as sqldb.ISqlConnection for performance reasons
- sqldb.ISqlConnection provides the same functionality as SimpaDbUtil.ISqlConnection, with much greater performance thanks to python contexts. However the interface is not compatible, so codes wanting to switch from SimpaDbUtil.ISqlConnection to sqldb.ISqlConnection need adjusting.
- migrated quman to use sqldb.ISqlConnection (as a result the sync now takes 3seconds instead of 60, because of the drastic reductin of calls to mysql and ssh)
- SimpaDbUtil.ISqlConnection will be deleted once every code using SimpaDbUtil.ISqlConnection has been migrated to sqldb.ISqlConnection

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-05-29 20:11:28 +02:00
Guillaume Raffy f64e31b420 cocluto v1.0.17 - added json option to quman so that the user can choose to get results in machine friendly (json) or human friendly format
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-03 18:08:58 +02:00
Guillaume Raffy 04adbbc684 cocluto v1.0.16 - overhauld quman arguments parsing
- quman's argument parsing now uses subparsers to allow for more actions than enable and disable
- added the show-disables action to quman
- added a test mode for the command line quman, that allows the user to test quman using quman's user interface
- renamed disable tag as disable id, as it's more meaningful (identfies a disable request)
- made user errors more user-friendly (ie not polluted with call stack)

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-03 17:01:56 +02:00
Guillaume Raffy 4cc541d9c3 cocluto v1.0.14 - added support to full queues to quman
Whith this feature, it's now possible to disable an entire queue (and not only one queue machine), with

```sh
quman d main.q --disable-tag admin.graffy.bug4242 --reason 'preparing cluster to shutdown for power shortage, see bug 4242'
```
-  also replaced the term queue name with queue machine for clarity, now that we have both QueueMachineId and QueueId

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-03 11:58:47 +02:00
Guillaume Raffy 12be70500b fixed bug that caused quman test to fail because the temporary directory is missing
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-02 18:13:39 +02:00
Guillaume Raffy 0f0d5f800e v 1.0.12
- fixed bug in request_queue_activation, which caused it to always enable the queue, even if there are other disables
- added a synchronization mechanism to quman which patches the database to ensure the database is coherent with the current activation of the queues

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-01 19:08:06 +02:00
Guillaume Raffy f5dce0bf10 v 1.0.11
- added IGridEngine abstraction that allows to switch between dry-run mode and normal mode
- added more commandes to the test

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-01 17:31:45 +02:00
Guillaume Raffy a7d92a3f99 v 1.0.10
- fixed iteration bug in qman
- added missing unit test

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
2026-04-01 16:33:46 +02:00