Michael Muré
b8caddddc7
identity: some UX cleanup
2019-03-01 22:40:28 +01:00
Michael Muré
71f9290fda
identity: store the times properly
2019-03-01 22:40:27 +01:00
Michael Muré
54f9838f0a
identity: working identity cache
2019-03-01 22:40:26 +01:00
Michael Muré
976af3a4e8
identity: fix tests
2019-03-01 22:40:25 +01:00
Michael Muré
864eae0d6b
identity: work on higher level now, cache, first two identity commands
2019-03-01 22:40:25 +01:00
Michael Muré
da558b05ef
identity: all tests green o/
2019-03-01 22:40:24 +01:00
Michael Muré
d2483d83dd
identity: I can compile again !!
2019-03-01 22:40:24 +01:00
Michael Muré
328a4e5abf
identity: wip push/pull
2019-03-01 22:40:23 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review
2019-03-01 22:40:22 +01:00
Michael Muré
844616baf8
identity: more progress and fixes
2019-03-01 22:40:21 +01:00
Michael Muré
bdbe9e7e82
identity: more progress and fixes
2019-03-01 22:35:37 +01:00
Michael Muré
feab9412df
WIP identity in git
2019-03-01 22:35:36 +01:00
Michael Muré
5e4a656f85
Merge pull request #97 from sladyn98/ls_id_branch
...
A command to list matching bug id from a prefix
2019-02-25 20:18:15 +01:00
Sladyn
3c0c13bbbe
ls-id.go:Add ls-id [<prefix>] command
...
This file adds the ls-id command which returns
the bug id matching the prefix the user enters.
If no prefix entered it lists all the BugId's
Closes #47
2019-02-25 21:20:51 +05:30
Michael Muré
59ea2e018e
add a "version" command with various outputs, including the git hash and tag
2019-02-20 21:56:33 +01:00
Sladyn
f70f38c8ee
ls-id.go: Add ls-id [<prefix>] command
...
This file adds the ls-id command which returns
the bug id matching the prefix the user enters.
If no prefix entered it lists all the BugId's
Closes https://github.com/MichaelMure/git-bug/issues/47
2019-02-14 00:32:40 +05:30
Michael Muré
43d0fe5cae
commands: show: change for a single valued --field flag
2019-01-07 23:08:48 +01:00
Sebastien Devaux
5850116c0d
Simplified show commadn error handling.
...
Exit on first unknown field found in query.
2019-01-07 18:56:29 +01:00
Sebastien Devaux
68cbde492d
Fixed golangci check error about new error from format string
2019-01-04 15:38:47 +01:00
Sebastien Devaux
1787f959ff
Adding fields switch to show command to select fields to display.
2019-01-04 15:15:42 +01:00
Cyril Roelandt
11e04748b9
Allow empty messages in comments.
...
Some bug trackers, like Launchpad, allow messages to be empty (when adding a
file to the bug, for instance).
2018-12-26 23:23:07 +01:00
Rafael Ascensão
8dcd3d21cd
tests: configure user ident in repos used by tests
...
Some git operations require the user to have an identity configured and
will exit with failure if none is set (or if git can't guess it). As a
direct consequence of this, the test suite may fail depending on the
user local configuration.
The error itself is justified as regular users *should* configure their
identity themselves. However, when building in chrooted environments
it's unlikely the git identity will be set making the test suite fail
unnecessarily.
To prevent such unnecessary failures, let's make a dummy identity for
repos created and used by the test suite.
2018-12-10 22:14:27 +00:00
Rafael Passos
f72b18496b
moved cleaner function to util/interrupt
2018-10-24 18:36:39 -03:00
Rafael Passos
c38f8f1c30
Registering lock clearing functions to Cleaner
2018-10-23 18:01:00 -03:00
Michael Muré
2ab2412771
version 0.4.0
2018-10-21 12:33:08 +02:00
Michael Muré
d37ffa6bd4
commands: unify the processing from editor/file/stdin for "add" and "comment add"
...
fix #68
2018-10-17 21:42:13 +02:00
Michael Muré
f67c57c084
commands: check the bug id before the user write the message for "comment add"
2018-10-17 20:59:36 +02:00
Michael Muré
b08e28e67e
commands: fix "comment add" flags set on the wrong command
2018-10-17 20:47:31 +02:00
Michael Muré
7a511f9a13
commands: don't load the repo for commands that don't need it
...
fix #67
2018-10-17 20:39:35 +02:00
Marc Chantreux
fa23ccc5e5
a better introduction message for the help page
2018-10-17 20:05:46 +02:00
Michael Muré
7cb7994cda
github: also pull users email
2018-10-07 18:27:23 +02:00
Michael Muré
64133ee5ba
github: deal with the deleted user case where github return a null actor
2018-10-06 11:55:16 +02:00
Luke Adams
bc8e6754a7
Make addCommentWithEditor accept a preMessage
2018-10-04 10:29:19 -06:00
Michael Muré
f37155d00f
commands: better multi choice prompt to select the target for "bridge configure"
2018-10-03 21:05:19 +02:00
Michael Muré
a4be82cae3
commands: "bridge" don't take arguments
2018-10-01 21:47:42 +02:00
Michael Muré
66f3b37c94
select: clear the selected bug when invalid
2018-09-26 16:50:10 +02:00
Michael Muré
86792d7892
commands: don't forget to treat the error when selecting a bug
2018-09-26 16:49:42 +02:00
Michael Muré
04ddeef90f
commands: add a "deselect" command to deselect a previously selected bug
2018-09-26 16:49:00 +02:00
Michael Muré
18f5c1632f
commands: detect when an edit title doesn't change it and abort the operation
2018-09-26 16:28:57 +02:00
Michael Muré
2282cbb595
commands: add "bridge pull"
2018-09-24 17:11:50 +02:00
Michael Muré
061e83d4b4
commands: add "bridge rm"
2018-09-24 16:24:38 +02:00
Michael Muré
43bda202fa
commands: add the "bridge" and "bridge configure" commands
2018-09-24 15:25:57 +02:00
Michael Muré
a122d533f6
commands: cleanup file name
2018-09-24 15:20:19 +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é
6e44759413
commands: add a "ls-labels" command that output valid labels
2018-09-21 14:02:05 +02:00
Michael Muré
cfce3a9914
commands: description cleanup
2018-09-21 13:37:22 +02:00
Michael Muré
7c63417e8f
webui: serve the index.html file by default to deal with the SPA router requirements
...
fix #50
2018-09-21 11:57:45 +02:00
Michael Muré
d71411f917
commands: ls now accept queries without quote
2018-09-19 21:51:16 +02:00
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