Commit Graph

57 Commits

Author SHA1 Message Date
Michael Muré
16f55e3f4d
bug: introduce WithSnapshot to maintain incrementally and effitiently a snapshot 2018-08-23 19:15:50 +02:00
Michael Muré
08127d8d1c
bug: add benchmarcks for bug merge 2018-08-19 20:40:50 +02:00
Michael Muré
b58812136e
bug: remove use of the too recent %(refname:lstrip=-1) of git
fix #24
2018-08-19 13:58:55 +02:00
Michael Muré
a474093774
bug: add "was" on SetTitleOperation to store what the title was 2018-08-15 22:01:45 +02:00
Michael Muré
4c850b5989
cleanup go imports 2018-08-13 18:39:19 +02:00
Michael Muré
df144e727a
fix some linting trouble 2018-08-13 15:28:47 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull 2018-08-12 21:09:30 +02:00
Michael Muré
a0d509bcdd
termui: display status and label changes in show bug 2018-08-09 15:28:32 +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é
28670ff8de
doc: complete the model doc now that the code is more stable 2018-08-07 14:57:12 +02:00
Michael Muré
435be2b693
bug: add a Lamport logical clock to be able to sort bugs by creation time and edit time without having to rely on a timestamp 2018-08-06 20:31:20 +02:00
Michael Muré
90fb85e067
bug: store the referenced media in their own git tree under /media, as per the doc I wrote myself 2018-08-05 15:26:36 +02:00
Michael Muré
d88d59e9c5
fix test 2018-08-02 23:45:40 +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é
9488467c75
termui: show the last edit in a dedicated column 2018-08-02 16:48:07 +02:00
Michael Muré
e5a6a71b78
graphql: implement the missing mutations 2018-08-01 21:57:12 +02:00
Michael Muré
c875d40e63
termui: add a view to display a bug 2018-08-01 02:17:06 +02:00
Michael Muré
eb39c5c29b
cli: rework new and comment command to better use the editor
a nice templace is now provided with explanations

new: title and message can now be provided from the editor. Title will
be the first non-empty line
2018-07-31 16:44:23 +02:00
Michael Muré
c58aa18a2d
graphql: lazy loading for the bug relay connection 2018-07-29 20:58:22 +02:00
Michael Muré
08f03ecf3c
graphql: fix marshaling of label 2018-07-29 20:56:03 +02:00
Michael Muré
ff2fd14e3f
wip gqlgen 2018-07-27 19:48:45 +02:00
Michael Muré
6706fa2beb
some cleaning 2018-07-25 21:27:50 +02:00
Michael Muré
6a12373965
more refactoring to have reusable bug action across different UI 2018-07-25 18:01:32 +02:00
Michael Muré
cbdba92704
bug: fix merge procedure 2018-07-25 17:59:40 +02:00
Michael Muré
a28f325a43
fix remote refs pattern to match default git behavior 2018-07-25 17:58:54 +02:00
Michael Muré
17e2ec8f56
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs 2018-07-23 00:04:46 +02:00
Quentin Gliech
1dd5118eeb graphql: Actually get the bugs from the repo 2018-07-20 14:32:23 +02:00
Michael Muré
59e6ae872c
NewBug can no longer error 2018-07-19 18:34:25 +02:00
Michael Muré
0a7814f33a
humanize time 2018-07-19 18:10:45 +02:00
Michael Muré
9f04fc2f7b
bug: replace the uuid based id with the hash of the first commit 2018-07-19 17:58:15 +02:00
Michael Muré
7f5922f905
rework all the commands to use cobra as a parser 2018-07-19 12:36:01 +02:00
Michael Muré
cfa11372cb
implement label op+command 2018-07-18 16:41:09 +02:00
Michael Muré
ba3281dc99
all operations now have an author and a timestamp 2018-07-18 00:16:06 +02:00
Michael Muré
43bf0063f2
crude implementation of show 2018-07-17 20:51:09 +02:00
Michael Muré
1332a6ec0a
ls: add some colors 2018-07-17 20:23:14 +02:00
Michael Muré
76ac1787b8
add bug status + open/close commands 2018-07-17 19:28:37 +02:00
Michael Muré
0180b68cb0
implement pull/merge 2018-07-17 01:52:56 +02:00
Michael Muré
d3893a5e04
rework the commands thing and add a "commands" command to list all commands 2018-07-16 15:21:21 +02:00
Michael Muré
cbff4b8aba
add a way to load a bug from a prefix 2018-07-15 09:25:29 +02:00
Michael Muré
1e4562e999
ls: better output 2018-07-15 01:43:20 +02:00
Michael Muré
54b41c604b
cleaning 2018-07-14 23:03:43 +02:00
Michael Muré
13d7b3480b
use a Unix timestamp (int64) for the time instead of golang's Time that cause trouble for serialisation 2018-07-14 23:02:49 +02:00
Michael Muré
fd4fa96c19
bug: use a 40 char truncated sha256 hash as ID, 8 char for human reading 2018-07-14 22:48:54 +02:00
Michael Muré
d973718567
add time to comments 2018-07-14 22:18:40 +02:00
Michael Muré
da470993d1
complete the storage/read process + tests (!) 2018-07-14 22:17:37 +02:00
Michael Muré
499669c144
each commit reference the very first set of ops (will be useful for fast access to lamport clock and ordering) 2018-07-14 06:42:13 +02:00
Michael Muré
55aef8c387
implement AddComment 2018-07-13 22:53:53 +02:00
Michael Muré
35d64e4f9e
fix push/pull 2018-07-13 21:51:27 +02:00
Michael Muré
1779a0f3b9
serialize a Bug to git as a blob+tree+commit+ref 2018-07-13 21:21:24 +02:00
Michael Muré
deff9e0a41
add basic tests for Bug and OperationIterator 2018-07-13 16:48:55 +02:00