Commit Graph

157 Commits

Author SHA1 Message Date
Amine Hilaly
14ce66f0dd integrate actors and participant filters into ls and show commands 2019-04-05 17:18:47 +02:00
Michael Muré
5b0a92dea4 commands: add a --field flag to "git bug user" to display users details individually 2019-04-03 21:33:53 +02:00
Michael Muré
96d356a34d commands: add "show --field humanId" 2019-04-03 21:33:04 +02:00
Michael Muré
a64aaacc03 commands: fix labels no showing properly in "git bug show <id> -f labels"
fix #119
2019-04-03 21:07:15 +02:00
Michael Muré
0a71e6d269
commands: display comment's id in "git bug comment" 2019-03-28 01:21:41 +01:00
Michael Muré
029861fa0e
commands: fix a bad output in "bug comment" 2019-03-28 01:02:12 +01:00
Michael Muré
bdf8523dc0 commands: only return the error (not the function help) when no identity is set
... to avoid misleading a user into thinking the usage was incorrect
2019-03-27 21:54:58 +01:00
Michael Muré
24d6714dd5 cache: properly push/pull identities and bugs 2019-03-27 21:44:11 +01:00
Jocelyn FACCHINI
0d4167a296
Renamed user id to user-id and metioned bug for some commands 2019-03-23 18:07:27 +00:00
Jocelyn FACCHINI
146b6b8599
Select and Label command documentation
- Informed that label command adds/removes a label to a given bug.
- Added suggestion to use select command when omitting to provide a bug id as argument.
- Added a bit more detail for the select command documentation, giving a hint to "deselect" command.
2019-03-23 16:59:40 +00:00
Sladyn
2f06e76f92 Added Register.Cleaner 2019-03-06 17:25:32 +05:30
Sladyn
cdd8167aa0 Combined variable declaration and assignment 2019-03-05 17:50:58 +05:30
Sladyn
a45ece05e6 ls-id.go: Fixing ls-id
Adding check for length of args
Pulling bugIds from correct backend.
2019-03-05 00:03:38 +05:30
Sladyn
f1d5ca4ff4 Rebased and updated. 2019-03-02 23:58:15 +05:30
Sladyn
beecd2dbe4 Made requested changes
Made changes to the doc files and remaining areas which required updation.
2019-03-02 23:06:55 +05:30
Sladyn
43e56692e8 ls.go:git bug ls should be faster
Added `Title` to BugExcerpt
Added `TitleFilter` to `filter.go`
Used BugExcerpt in `ls` command to improve performance.

Closes https://github.com/MichaelMure/git-bug/issues/98
2019-03-02 23:04:45 +05:30
Michael Muré
f6eb838159
commands: "user ls" also show metadata 2019-03-01 22:52:54 +01:00
Michael Muré
bad05a4f3d
cache: better API to access excerpts 2019-03-01 22:52:54 +01:00
Michael Muré
c235d89d36
commands: show the last modification time in "user" 2019-03-01 22:52:54 +01:00
Michael Muré
46beb4b886
identity: another round of cleanups 2019-03-01 22:52:53 +01:00
Michael Muré
2fd5f71b59
commands: add a "." at the end of Short commands usage 2019-03-01 22:52:52 +01:00
Michael Muré
304a334930
commands: add a "user adopt" command to use an existing identity 2019-03-01 22:48:51 +01:00
Michael Muré
7a80d8f849
commands: add a super-fast "user ls" command 2019-03-01 22:48:51 +01:00
Michael Muré
e100ee9f10
github: fix 3 edge-case failures 2019-03-01 22:48:50 +01:00
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