Roundup Tracker - Issues

Message7960

Author rouilj
Recipients rouilj
Date 2024-03-10.16:27:02
Message-id <1710088022.68.0.956230597834.issue2551326@roundup.psfhosted.org>
In-reply-to
GNU readline can do tab completion. It would be nice to have this added to roundup-admin.

Completion can include:

  command name
  any classname parameter including the classname part of a designator
  class properties when a command specifies a class. E.G. complete 'ti' -> 'title='
          for 'create issue ti'
  'pragma' setting name
  directory/file paths: tracker home directory, export/import directories,
      genconfig/updateconfig filenames
  'restore' possibly list only retired designators?
  'security' complete role names

  'get' is a weird command. It take property first then designators. So tab completion
    on property is probably not helpful as we can't narrow it to completing within a class.

For example:

set <tab complete classes><no tab complete id> <tab complete properties>=<no tab complete>

https://docs.python.org/3/library/readline.html#completion
History
Date User Action Args
2024-03-10 16:27:02rouiljsetrecipients: + rouilj
2024-03-10 16:27:02rouiljsetmessageid: <1710088022.68.0.956230597834.issue2551326@roundup.psfhosted.org>
2024-03-10 16:27:02rouiljlinkissue2551326 messages
2024-03-10 16:27:02rouiljcreate