Commit Graph

53 Commits

Author SHA1 Message Date
Michael Muré
777ccb9c68
bug: fix Bug's Lamport edit time potentially wrong due to rebase 2019-06-19 13:55:22 +02:00
Quentin Gliech
1c2ee10ce7
graphql: Implement Authored whenever possible
webui: Use a fragment for Authored nodes
2019-05-22 21:46:43 +02:00
Michael Muré
d2483d83dd
identity: I can compile again !! 2019-03-01 22:40:24 +01:00
Michael Muré
21048e785d
identity: wip 2019-03-01 22:40:23 +01:00
Michael Muré
328a4e5abf
identity: wip push/pull 2019-03-01 22:40:23 +01:00
Michael Muré
56c6147eb6
identity: more refactoring progress 2019-03-01 22:40:22 +01:00
Michael Muré
06d9c68726
identity: implement the loading from git 2019-03-01 22:35:37 +01:00
Michael Muré
f026f61aaa
bug: custom error for the different error case when loading a bug 2018-10-01 23:27:34 +02:00
Michael Muré
41e61a67b6
bug: apply an operation with a pointer to the snapshot 2018-09-29 11:28:18 +02:00
Michael Muré
1bf268cebc
merge package operations into bug, they are tightly coupled anyway 2018-09-29 00:51:54 +02:00
Michael Muré
82eaceffc1
repo: split the Repo interface to avoid abstraction leak in RepoCache 2018-09-21 18:53:37 +02:00
Michael Muré
d57e2fdd19
commands: fix a panic on merge invalid 2018-09-19 21:45:52 +02:00
Michael Muré
8455567900
bug: readBug returns better errors 2018-09-18 23:36:22 +02:00
Michael Muré
0d5998eb67
commands: add a package to handle implicit bug selection 2018-09-18 12:49:16 +02:00
Michael Muré
6f5d433e33
docs & cleaning 2018-09-16 13:50:53 +02:00
Michael Muré
7bec0b1f13
bug: add a data validation process to avoid merging incorrect operations 2018-09-15 13:15:00 +02:00
Michael Muré
60fcfcdcb0
bug: change the OperationPack serialization format for Json
See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
2018-09-12 16:57:46 +02:00
Michael Muré
3605887345 reorganize package for a more idomatic go 2018-09-11 22:14:46 +02:00
Michael Muré
30d4bc2121
fix english grammar 2018-09-09 20:17:12 +02:00
Michael Muré
6d7e79a277
cache: refactor to handle bug changes during Pull 2018-09-08 14:17:08 +02:00
Michael Muré
e2a0d178cf
bug: make sure the lamport values are set properly after a commit 2018-09-03 21:39:10 +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é
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é
df144e727a
fix some linting trouble 2018-08-13 15:28:47 +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é
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é
d8f89726fe
implement media hosting in git for comments + API for the webui 2018-08-02 23:37:49 +02:00
Michael Muré
c58aa18a2d
graphql: lazy loading for the bug relay connection 2018-07-29 20:58:22 +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
Michael Muré
59e6ae872c
NewBug can no longer error 2018-07-19 18:34:25 +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é
ba3281dc99
all operations now have an author and a timestamp 2018-07-18 00:16:06 +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é
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é
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é
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é
bc12fee58e
create the Bug structure 2018-07-13 16:13:40 +02:00