Commit Graph

24 Commits

Author SHA1 Message Date
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é
499dbc0a03
identity: remove support for legacy identity 2020-10-04 20:50:15 +02: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
Michael Muré
893de4f5c0 identity: bring back the login to hold that info from bridges (purely informational) 2020-02-25 21:35:57 +01:00
Michael Muré
b7dc5b8aeb
cache: add proper locking to avoid concurrent access 2020-02-09 02:44:00 +01:00
Michael Muré
74e9114410
more more wip 2020-02-08 17:19:57 +01:00
Amine Hilaly
1d00ded250 implement identityExcerpt match method and integrate it into filters
Update docs
2019-04-05 16:56:08 +02:00
Amine Hilaly
98169d5ad1 Support query with identity ID and truncated ID 2019-04-05 15:29:14 +02:00
Amine Hilaly
57f0c2f25d improve docs 2019-04-05 00:01:08 +02:00
Amine Hilaly
682da55271 Improve actor/participant query filters
Lower case identity login
2019-04-04 17:21:40 +02:00
Amine Hilaly
2a5fbc4dc9 Expose actors and participants in snapshot and bug excerpt
Append operations authors to each list on Apply() call

Expose actors and participants in graphql

Add actor/participant query filter and documentation
2019-04-04 00:37:57 +02:00
Sladyn
1d758f9f64 cache/filter.go: Fix and match for labels
Fixed filter query for multiple labels from
`OR` to `AND` according to github conventions.

Fixed https://github.com/MichaelMure/git-bug/issues/115
2019-03-31 16:09:29 +05:30
Michael Muré
408654514e
cache: make the title filter case insensitive 2019-03-03 15:23:20 +01:00
Sladyn
6fee8a4442
Commit to chane the description of function 2019-03-03 10:38:33 +05:30
Sladyn
f1d5ca4ff4 Rebased and updated. 2019-03-02 23:58:15 +05:30
Sladyn
e825525a08 Fixed filter.go
GolangCI complained about an if return else return statement which is fixed in this commit.
2019-03-02 23:06:55 +05:30
Sladyn
43e56692e8 ls.go:git bug ls should be faster
Added `Title` to BugExcerpt
Added `TitleFilter` to `filter.go`
Used BugExcerpt in `ls` command to improve performance.

Closes https://github.com/MichaelMure/git-bug/issues/98
2019-03-02 23:04:45 +05:30
Michael Muré
b8caddddc7
identity: some UX cleanup 2019-03-01 22:40:28 +01:00
Michael Muré
54f9838f0a
identity: working identity cache 2019-03-01 22:40:26 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review 2019-03-01 22:40:22 +01:00
Michael Muré
9bb980e9de
ls: support expressing a query with flags as well 2018-09-10 18:18:00 +02:00
Michael Muré
c8239a990b
cache: doc & cleaning 2018-09-10 12:47:05 +02:00
Michael Muré
a38c1c23eb
cache: implement the filtering 2018-09-09 20:19:50 +02:00