@lyse@lyse.isobeef.org Interesting. The yarnd --help currently says (for me):

  -R, --open-registrations            whether or not to have open user registgration

meaning it doesn’t give the default setting or warn you that you need to use -R=false and not -R false. It also leaves unclear whether --open-registrations false would work or if you need to do --open-registrations=false. It’s also unclear whether the setting change in the user interface is overridden by the command line arguments, overrides the command line arguments, is persisted across restarts.

Maybe all this is worth posting an issue for additional documentation on the git repo if there isn’t one already.

“registgration” is misspelled that way in the help by the way.

⤋ Read More

@abucci@anthony.buc.ci Yep, --open-registrations=false has to also use the equal sign, just like the short form, otherwise it’s activated. At least that’s consistent. But, is has no effect, if the settings.yaml claims something different.

I have the impression that command line flags only take effect the first time you start yarnd. Unless the option has no pendant in the config file, such as -A/--admin-user $user. Since -A is not a boolean, but takes a string, you are free to use a blank or an equal sign…

It’s this package: https://github.com/spf13/pflag?tab=readme-ov-file#command-line-flag-syntax

I also noticed and fixed the typo. 8-)

⤋ Read More

Participate

Login to join in on this yarn.