Commit Graph

32 Commits

Author SHA1 Message Date
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
Michael Muré
078545538e
add a bug's operation iterator 2018-07-13 16:14:00 +02:00
Michael Muré
bc12fee58e
create the Bug structure 2018-07-13 16:13:40 +02:00
Michael Muré
e02294c8f3
add the first 2 operations 2018-07-12 21:32:11 +02:00
Michael Muré
3aecdf2c2d
create the Snapshot type for a compiled bug operation log 2018-07-12 21:32:10 +02:00
Michael Muré
3087a472bf
move Hash in /util/ 2018-07-12 21:32:10 +02:00
Michael Muré
cda8114fda
store user info in the datastore 2018-07-12 21:32:09 +02:00
Michael Muré
c498674718
add the new bug command with a very primitive bug datastructure 2018-07-12 12:44:46 +02:00