Commit Graph

188 Commits

Author SHA1 Message Date
Michael Muré
3605887345 reorganize package for a more idomatic go 2018-09-11 22:14:46 +02:00
Michael Muré
7b05983c19
graphql: AllBugs now accept a query 2018-09-11 19:46:38 +02:00
Michael Muré
9cbd5b4ee1
termui: allow to change the bug query 2018-09-11 19:28:32 +02:00
Michael Muré
d1c5015eed
cache: resolved id by prefix using the cache instead of reading bugs 2018-09-11 17:11:16 +02:00
Michael Muré
2dcd06d1e7
bug: ensure that OpBase field are public and properly serialized
fix #37
2018-09-10 19:09:20 +02: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é
ece9e39461
cache: add the alias "state" for the qualifier "status"
both are commonly expected
2018-09-10 12:46:07 +02:00
Michael Muré
0dc705336e
cache: properly parse and clean qualifier with multi word 2018-09-10 11:12:22 +02:00
Michael Muré
28ee08af0d
doc: document the query DSL 2018-09-09 22:16:00 +02:00
Michael Muré
09e097e1bf
cache: combine sorting and filtering into a query with its micro-DSL 2018-09-09 20:22:27 +02:00
Michael Muré
21f9840e99
BugExcerpt: also store bug labels 2018-09-09 20:20:24 +02:00
Michael Muré
a38c1c23eb
cache: implement the filtering 2018-09-09 20:19:50 +02:00
Michael Muré
6d7e79a277
cache: refactor to handle bug changes during Pull 2018-09-08 14:17:08 +02:00
Michael Muré
61a1173ec3
bug: refactor the Pull code to have the message formating in the upper layers 2018-09-07 17:10:40 +02:00
Michael Muré
c0d3b4b032
cache: fix missed code path that should update the cache
fix #36
2018-09-04 18:20:21 +02:00
Michael Muré
0728c0050d
cache: provide a generic bug sorting function 2018-09-02 16:36:48 +02:00
Michael Muré
919f98efdb
cache: provide sorted (id, creation, edit) list of bugs 2018-09-02 15:46:43 +02:00
Michael Muré
90a45b4c09
cache: rename RootCache into MultiRepoCache
Underline the fact that it's fine to use RepoCache alone
2018-09-02 15:45:14 +02:00
Michael Muré
6ff02ed842
add some documentation 2018-09-02 15:37:28 +02:00
Michael Muré
7397c94d99
make CLI commands use the cache to lock the repo properly 2018-08-31 17:22:10 +02:00
Michael Muré
0514edad1a
cache: maintain, write and load from disk bug excerpts 2018-08-23 21:24:57 +02:00
Michael Muré
e7648996c8
bug: add a new BugExerpt that hold a subset of a bug state for efficient sorting and retrieval 2018-08-23 19:19:16 +02:00
Michael Muré
16f55e3f4d
bug: introduce WithSnapshot to maintain incrementally and effitiently a snapshot 2018-08-23 19:15:50 +02:00
Michael Muré
6d7dc465d8
cache: lock the repo with a pid file; automatic cleaning 2018-08-21 19:13:08 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull 2018-08-12 21:09:30 +02:00
Michael Muré
5675299c8d
termui: commit the bug when quiting the show bug window 2018-08-09 14:45:02 +02:00
Michael Muré
d8f89726fe
implement media hosting in git for comments + API for the webui 2018-08-02 23:37:49 +02:00
Michael Muré
ae1ed6c11f
termui: implement addComment and setTitle 2018-08-02 16:35:13 +02:00
Michael Muré
e6a64b4985
cache: some refactoring 2018-08-02 14:56:50 +02:00
Michael Muré
e5a6a71b78
graphql: implement the missing mutations 2018-08-01 21:57:12 +02:00
Michael Muré
87669e0f18
termui: use the editor to create a new bug 2018-07-31 16:44:23 +02:00
Michael Muré
3cb0469a22
graphql: implement a first mutation 2018-07-30 01:08:45 +02:00
Michael Muré
c58aa18a2d
graphql: lazy loading for the bug relay connection 2018-07-29 20:58:22 +02:00
Michael Muré
6363518c85
relay connection working with gqlgen 2018-07-29 18:51:56 +02:00
Michael Muré
932743ac06
follow go naming convention 2018-07-27 01:58:38 +02:00
Michael Muré
7c6f9ef4aa
cache: add shortcut functions 2018-07-25 21:49:32 +02:00
Michael Muré
074156634b
add a cache to support the graphql API and the future interactive CLI UI 2018-07-25 21:27:50 +02:00