Skip to content

Latest commit

 

History

History
39 lines (38 loc) · 2.02 KB

TODO.md

File metadata and controls

39 lines (38 loc) · 2.02 KB

To do:

  • Add test coverage
  • Config file to provider default search config
  • Support multi line regex
  • Make the output format of the log subcommand configurable. E.g. full, only-matched-lines
  • add --print-signature flag to log subcommand to print out the stored search signature of the query so that can be easily copied to a file
  • Allow querying for multiple results e.g.: FAILURE or POST_FAILURE
  • Generate zuul build url from uuid e.g.: https://zuul.opendev.org/t/openstack/build/d9fa8d2446cb4e4fb224ff5340fd3241
  • storeadsearch ignores subdir under configdir today. This is good and bad Accept subdir prefixed stored search name Accept filename instead of stored search name from the file
  • ? ability to match for test case failed / passed

Done:

  • Pre validate regex coming from the command line
  • Validate values of --result as a wrong value leads to empty search result form Zuul
  • Support grep before, after, context lines
  • Allow repeating --file in logsearch
  • Allow repeating --job
  • Show build result table columns based on provided query parameters
  • Add subcommand for showing a single build metadata
  • Re-print filtered build table based on grep results
  • Config file to define job categories (e.g. devstack based jobs) that can be used in --job search
  • Config file to store named searches, and the ability to re-run the search by name. Similarly, how elastic re-check signature works.
  • Move all the args access to the Config object
  • Support job groups in stored search
  • Add match subcommand that allows querying builds, and then tries to match them against stored searches
  • Add new limiting options for queries, like --days-ago 7
  • Add cache size management
  • revamp config dir handling. Read them from different places in a meaningful order. I.e. pwd then if that not exists then ~/.config
  • revamp cache dir handling. Change the default to i.e. ~/.cache
  • Run test in Travis CI Github Actions