Vincent Tiu
f790083fb2
Merge pull request #403 from MichaelMure/ls-dump
...
[ls] add support for different output formats
2020-06-18 20:37:00 +08:00
vince
87eeba413d
Print JSON as a well-formed object
...
This prints all the bugs in a JSON array instead of one by one.
2020-06-18 20:12:26 +08:00
Martin Michlmayr
ff0ff86336
doc: fix typos
2020-06-16 21:32:03 +08:00
vince
de5565b5f9
ls: Add support to ls dump bug information in specific formats
...
This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'.
2020-06-16 15:05:48 +02:00
Wes Turner
25d633d5b0
DOC: commands/root.go: syntax
2020-05-01 00:36:01 +02:00
Michael Muré
314fcbb229
query: no need for an ast package
2020-03-28 17:13:28 +01:00
Michael Muré
5e4dc87ffe
cache: replace the all-in-one query parser by a complete one with AST/lexer/parser
2020-03-28 17:13:27 +01:00
Michael Muré
0b559bacd5
Merge pull request #344 from MichaelMure/github-lowercase-login
...
github: fix matching cred/identity with badly cased login
2020-02-29 17:26:33 +01:00
Michael Muré
fe38af05a8
github: correct casing for user provided login
2020-02-29 15:04:48 +01:00
Michael Muré
893de4f5c0
identity: bring back the login to hold that info from bridges (purely informational)
2020-02-25 21:35:57 +01:00
Michael Muré
fe3d5c95e4
bridges: massive refactor
...
- automatic flag validation and warning
- generalized prompt
- cleanups
2020-02-15 02:55:19 +01:00
Michael Muré
34083de0df
auth: refactor and introduce Login and LoginPassword, salt IDs
2020-02-12 23:37:57 +01:00
Michael Muré
646fd681ff
it compiles \o/
2020-02-08 17:19:57 +01:00
Michael Muré
db893494bb
input: better reusable prompt functions
2020-02-08 17:18:27 +01:00
Michael Muré
97bc5ccd22
various cleanups suggested by golang-ci
2020-02-08 16:17:15 +01:00
Michael Muré
7e48e0a9be
upgrade to gqlgen master, waiting for a release
2020-02-05 23:42:49 +01:00
Michael Muré
864d3ed335
bridge: allow to configure and pull without having set a user first
...
- init() only the importer or exporter as required
- assign a "default user" user Id to credentials at creation if no user has been set
- "bridge auth": also display the user
- "bridge auth show": adapt to a potential "default user" user Id
- "bridge configure": allow to run without a user set
- "bridge pull": allow to run without a user set
- "user adopt": replace "default user" by the actual user id when run
2019-12-25 23:25:39 +01:00
Michael Muré
e96d8e6771
Merge pull request #274 from MichaelMure/gitlab-bridge
...
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:13:54 +01:00
amine
f6b4830c0b
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:05:55 +01:00
Michael Muré
da6591e480
cmd: "user create" only assign the user identity if not set
2019-12-10 20:13:49 +01:00
Michael Muré
f1ed857cbd
Merge pull request #271 from MichaelMure/bridge-credentials
...
bridge: huge refactor to accept multiple kind of credentials
2019-12-10 00:42:23 +01:00
Michael Muré
8f7f89561b
bridge: fix incorrect last import time on context cancel
2019-12-09 01:03:37 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials
2019-12-08 21:28:27 +01:00
Michael Muré
1a1e313f30
bridge: move export event handling to the CLI
2019-11-26 20:46:00 +01:00
amine
7cb772095e
bridge: trim inputs during bridge configuration
2019-11-25 15:08:48 +01:00
amine
09db1cda71
commands: add bridge configure --token-id flag
2019-11-23 19:26:27 +01:00
Michael Muré
60427f066a
bridge configure: no default name if the default has already been created
2019-11-19 20:20:19 +01:00
Michael Muré
e0b15ee764
cli: rename "token" into "auth"
2019-11-10 17:33:44 +01:00
Michael Muré
f8cf3fea03
cli: add bridge token show
2019-11-10 15:50:56 +01:00
Michael Muré
e2445edcb9
bridge: various improvement on the global token PR
2019-11-10 14:53:40 +01:00
amine
bbbf3c6c7f
bridge/core: store token in the global config and replace scopes with create date
2019-11-09 14:52:20 +01:00
amine
4dc7b8b06e
tokens: use entity.Id as id type
2019-11-09 13:26:52 +01:00
amine
baefa687b5
tokens: use a hash as token identifier instead of the token it self
2019-11-09 13:26:52 +01:00
Michael Muré
3984919a3d
bridge: various cleanups
2019-11-09 13:26:48 +01:00
Amine
3433fa5def
commands: use token value as identifier
2019-11-09 13:25:07 +01:00
Amine
967e168333
bridge/core: use token id instead of name
...
commands: add bridge token rm/add
commands: improve bridge token printing
2019-11-09 13:25:07 +01:00
Amine
9370e1292b
commands: add bridge token subcommand
2019-11-09 13:25:07 +01:00
Michael Muré
57e23c8ada
bridge: improvement on the import resume feature
2019-11-03 17:23:05 +01:00
amine
614bc5a2c5
commands: support bridge imports after a given date and resumable imports
2019-11-03 17:21:27 +01:00
Michael Muré
8c7c9880b1
Merge pull request #228 from ludovicm67/patch-cli-label-colors
...
Display label colors in termui
2019-11-03 13:09:55 +00:00
Michael Muré
f72a9dc62b
switch to go-term-text to fix bad underflow for label rendering
2019-11-03 14:00:35 +01:00
amine
60c6bd360f
bridge: use new repository configuration interface
...
commands/webui: use new repository configuration interface
2019-11-01 22:44:11 +01:00
ludovicm67
809abf9244
ls: add labels color + formatting for comments
2019-10-28 12:43:24 +01:00
Amine
e5b33ca39c
commands: silence usage when cobra commands return an error
2019-09-06 11:01:09 +02:00
Amine Hilaly
f3d8da1075
bridge/core: add tokenStdin field to bridgeParams
...
commands: move tokenStdin handling logic to bridge.Configure
2019-09-02 09:44:00 +02:00
Amine Hilaly
be94780315
bridge/github: recover terminal state in password prompts
...
commands: error if a token is provide but not the bridge name and target
2019-08-31 23:02:20 +02:00
Amine
65d7ce7c05
commands: enhance flag description
...
bridge/github: improve configuration logic
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-08-31 23:02:20 +02:00
Amine Hilaly
0381400bfd
commands: read token from stdin in bridge configuration
...
bridge: improve bridge config validation
2019-08-31 23:02:20 +02:00
Michael Muré
c7792a5d12
commands: add a "tui" alias for "termui"
2019-08-31 13:25:44 +02:00
Michael Muré
2b14bb253c
Merge pull request #205 from seeduvax/issue-178
...
issue 178: fetch the repo dir with rev-parse --git-dir
2019-08-31 13:23:26 +02:00