Closed abretaud closed 1 year ago
Thanks for the review :)
Looks good overall! Could you mention it in the changelog.md for me?
I think I did
I'm looking into adding something similar for disk-usage, maybe I can push to this branch before merging
Ok, fixed args stuff (wap doesn't like =
in possible values for --op option), now it's working with these command:
gxadmin server oidc
gxadmin server oidc --date=2021-01-01
gxadmin server oidc --op "<=" --date=2021-01-01
But, I'd like to use it with the slurp commands, and it fails, like this for example:
blabla@bloblo:~$ gxadmin meta slurp-upto 2021-01-01 server_oidc
Error: more positional arguments than should be possible
Error: more positional arguments than should be possible
meta oidc -
**SYNOPSIS**
Running gxadmin meta slurp-upto --date=2021-01-01 server_oidc
removed the first error, but I can't pass the --op option, and its default value is enough to trigger the second error
Any idea how to fix that @hexylena?
aye I'll have a look!
Strangely, I tried to name the function server_users-with-oidc, but it ran server_users at the same time, not sure if it's intended.
I cannot reproduce this?
Edit: Ahh you mean in the slurp-upto. Indeed, poor matching function was written.
I've pushed some changes which should fix it by:
oidc
to users-with-oidc
per initial commit.Tested and approved! I've added a slurpable disk-usage function in the same way
fantastic work @abretaud !
Adding a server command to fill our influxdb with the evolution of the number of OIDC accounts since the opening of the server.
Strangely, I tried to name the function
server_users-with-oidc
, but it ranserver_users
at the same time, not sure if it's intended.