Commit Graph

285 Commits

Author SHA1 Message Date
Michael Muré
d57e2fdd19
commands: fix a panic on merge invalid 2018-09-19 21:45:52 +02:00
Michael Muré
4c576470a8
pull: don't stop the process when one merge fail 2018-09-19 21:45:52 +02:00
Michael Muré
2daf2ddcf3
webui: explain how to quit 2018-09-19 21:45:52 +02:00
Michael Muré
544b9cc0c4
commands: convert compatible commands to the implicit select mechanism 2018-09-18 13:28:01 +02:00
Michael Muré
5f9fd2a2d9
commands: add a "select" command to select a bug for future implicit use 2018-09-18 13:17:39 +02:00
Michael Muré
0d5998eb67
commands: add a package to handle implicit bug selection 2018-09-18 12:49:16 +02:00
Michael Muré
5eaf9e83e7
commands: add a "label rm" command to remove labels from a bug 2018-09-17 14:36:51 +02:00
Michael Muré
2965b70f4f
commands: add a "label add" command to add new label to a bug 2018-09-17 14:33:34 +02:00
Michael Muré
cc086ebae9
commands: make "label" display the current labels 2018-09-17 14:32:33 +02:00
Michael Muré
dad61892ce
commands: migrate the open/close commands under the "status" command 2018-09-16 14:29:14 +02:00
Michael Muré
a846fb96de
commands: add a "status" command to show a bug status 2018-09-16 14:25:25 +02:00
Michael Muré
6f5d433e33
docs & cleaning 2018-09-16 13:50:53 +02:00
Michael Muré
b9fc8b662e
commands: make the "commands" command show subcommands as well 2018-09-16 01:45:59 +02:00
Michael Muré
ae100e0e82
commands: add a title edit command 2018-09-16 01:17:06 +02:00
Michael Muré
d9f7269507
commands: add a title command to display a bug's title 2018-09-16 01:05:09 +02:00
Michael Muré
6cdc6c087e
commands: add git bug comment add to add a comment 2018-09-15 20:31:40 +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é
6b732d4535
cmd: rename 'new' into 'add' to have a verb 2018-09-15 14:16:37 +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é
b478cd1bcb
graphql: update gqlgen to 0.5.1
fix #6
2018-09-14 12:41:59 +02:00
Michael Muré
ad59f77fd4
version 0.3.0 2018-09-13 18:05:13 +02:00
Michael Muré
fb0f5530f1
catch a lot of error not being checked 2018-09-13 12:43:47 +02:00
Michael Muré
f569e6aacc
operations: return a more convenient array of result for label changes 2018-09-13 12:20:28 +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é
3605887345 reorganize package for a more idomatic go 2018-09-11 22:14:46 +02:00
Michael Muré
9cbd5b4ee1
termui: allow to change the bug query 2018-09-11 19:28:32 +02:00
Michael Muré
9bb980e9de
ls: support expressing a query with flags as well 2018-09-10 18:18:00 +02:00
Michael Muré
0dc705336e
cache: properly parse and clean qualifier with multi word 2018-09-10 11:12:22 +02:00
Michael Muré
dd0823dd2b
ls: accept a query to sort and filter the list 2018-09-09 20:22: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é
f136bf6a82
cmds: various cleaning 2018-09-06 21:42:05 +02:00
Michael Muré
6f1767d101
cmds: only print once the error 2018-09-06 17:31:09 +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é
7397c94d99
make CLI commands use the cache to lock the repo properly 2018-08-31 17:22:10 +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é
d959acc29d
version 0.2.0 2018-08-17 13:37:50 +02:00
Michael Muré
4c850b5989
cleanup go imports 2018-08-13 18:39:19 +02:00
Michael Muré
bb6fad3058
prepare a first version 2018-08-12 21:26:01 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull 2018-08-12 21:09:30 +02:00
Michael Muré
929d709364
bash completion: thanks to @tst2005, make the completion works for "git bug <command>" 2018-08-08 20:31:31 +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é
d8f89726fe
implement media hosting in git for comments + API for the webui 2018-08-02 23:37:49 +02:00
Michael Muré
ed8f7eca9a
webui: add the http handlers for read/write git blob for media in comments 2018-08-02 22:33:45 +02:00
Michael Muré
87669e0f18
termui: use the editor to create a new bug 2018-07-31 16:44:23 +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é
091ac03f1f
termui: PgUp & PgDown to pagine the bug list as well 2018-07-30 18:59:34 +02:00
Michael Muré
c0dbe70ee0
wip terminal ui 2018-07-30 17:00:10 +02:00
Michael Muré
64354c7ce3
webui: show graphql urls 2018-07-29 21:05:48 +02:00
Michael Muré
8fa0b258ac
cleaning 2018-07-29 18:58:42 +02:00
Michael Muré
6363518c85
relay connection working with gqlgen 2018-07-29 18:51:56 +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é
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
8f0bb154b0
webui: Add flag to specify which port to listen to 2018-07-22 00:16:51 +02:00
Michael Muré
302a69bfc5
use DisableAutoGenTag to not have to commit the documentation after each build 2018-07-20 15:57:21 +02:00
Michael Muré
e89f87624f
generate markdown documentation 2018-07-20 15:46:14 +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é
d7313068fb
small cleaning 2018-07-19 17:58:45 +02:00
Michael Muré
a2a50f3de0
webui: add a primitive graphql handler 2018-07-19 14:15:50 +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é
451c3b30ca
commands: sort commands by name 2018-07-16 22:38:52 +02:00
Michael Muré
ead4511250
add the infrastructure for an embedded web UI + command 2018-07-16 22:25:50 +02:00
Michael Muré
d659d74131
fix build 2018-07-16 15:26:51 +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é
c2774dcf23
add a "comment" command 2018-07-15 09:26:11 +02:00
Michael Muré
1e4562e999
ls: better output 2018-07-15 01:43:20 +02:00
Michael Muré
dfefba09ee
list --> ls, silly ! 2018-07-15 01:23:21 +02:00
Michael Muré
519c5acdd8
add a primitive "list" command 2018-07-14 22:19:05 +02:00
Michael Muré
da470993d1
complete the storage/read process + tests (!) 2018-07-14 22:17:37 +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é
bc12fee58e
create the Bug structure 2018-07-13 16:13:40 +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é
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
Michael Muré
d044365912
more experiment 2018-07-12 09:55:13 +02:00