]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Deprecate setatt in favor of touch.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Mar 2025 23:15:40 +0000 (00:15 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 19 May 2025 18:09:06 +0000 (20:09 +0200)
commit93f4172802017468c00055ec0e154a0359b3d43d
treeb74d3cde98236b3fb0364325e3b9d152484c38bb
parentea69a51bdb003dc948d8ce3a054fd418a42cfc44
server: Deprecate setatt in favor of touch.

This adds --set-attribute and --unset-attribute to the touch subcommand,
re-implementing the features of the setatt command with a saner syntax.

We augment the change_atts_data structure using pre-computed values for
verbose and dry-run mode and pass a pointer to this structure rather than
the general callback arg pointer. The existing setatt subcommand neither
sets nor consults the two new booleans.

The touch completer of para_client is updated to complete the two new options,
executing the lsatt subcommand to get the attribute names. The manual and
the test suite also need minor adjustments.
aft.c
client.c
m4/lls/server_cmd.suite.m4
t/t0004-server.sh
web/manual.md