Commit Graph

80 Commits

Author SHA1 Message Date
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é
1060acfd53
bug: reclassify some merge error as "invalid" instead of hard error 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é
bfb5e96aab
commands: git bug comment now show the comments of a bug 2018-09-15 20:30:31 +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é
fb0f5530f1
catch a lot of error not being checked 2018-09-13 12:43:47 +02:00
Michael Muré
19f43a83c3
bug: proper int baked enum for merge result status instead of a string 2018-09-13 11:13:51 +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é
2dcd06d1e7
bug: ensure that OpBase field are public and properly serialized
fix #37
2018-09-10 19:09:20 +02:00
Michael Muré
30d4bc2121
fix english grammar 2018-09-09 20:17:12 +02:00
Michael Muré
13797c3b77
person: add a function to test the matching of a query 2018-09-09 20:14:52 +02:00
Michael Muré
877f3bc21e
status: add a function to parse a status 2018-09-09 20:13:46 +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é
d17cd003ed
bug: also update the operations incrementaly in the snapshot
fix #39
2018-09-04 20:06:26 +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é
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é
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é
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