Commit Graph

9 Commits

Author SHA1 Message Date
Michael Muré
8818d091e8
move bug.Status in entities/common for reuse 2022-08-20 10:52:11 +02:00
Michael Muré
5511c230b6
move {bug,identity} to /entities, move input to /commands 2022-08-18 23:44:06 +02:00
Michael Muré
c9cec5b17b update doc 2022-03-22 21:28:10 +01:00
Michael Muré
fab626a7a6 query: refactor to reuse the split function for both query and token 2021-02-27 20:31:10 +01:00
Miklos Vajna
cb61245078 Add ability to search by arbitrary metadata
Example:

~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42

or

~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42\"

Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567>.
2021-02-21 14:15:50 +01:00
Michael Muré
b285c57dc6
query: expand the tokenizer/parser to parse arbitrary search terms 2020-11-17 08:09:51 -05:00
Michael Muré
ecde909b0a
query: more robust tokenizer 2020-03-28 19:22:27 +01:00
Michael Muré
314fcbb229
query: no need for an ast package 2020-03-28 17:13:28 +01:00
Michael Muré
5e4dc87ffe
cache: replace the all-in-one query parser by a complete one with AST/lexer/parser 2020-03-28 17:13:27 +01:00