- this option allows the quman to work with user configurable database system as a backend. the default uses the database for alambix cluster
- also improved the output of show-disable-requests
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
```
WARNING: Missing build requirements in pyproject.toml for file:///home/graffy/work/simpaweb/cocluto.git.
WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
```
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
eg problem visible with the command:
> /usr/bin/python3 -m pip install --root=/ git+https://git.ipr.univ-rennes.fr/cellinfo/cocluto to
then:
```sh
root@alambix50:~# quman
Traceback (most recent call last):
File "/usr/local/bin/quman", line 5, in <module>
from cocluto.quman import main
File "/usr/local/lib/python3.11/dist-packages/cocluto/quman.py", line 13, in <module>
from cocluto.ClusterController.QstatParser import QstatParser
```
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
- 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]
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]
- the userid and the host fqdn of are now recorded
- found better names (more appropriate and easier to understand)
- disable reason -> disable request
- requester -> disable tag
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
- 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]