aboutsummaryrefslogtreecommitdiffstats
path: root/commands
Commit message (Collapse)AuthorAgeFilesLines
* bridges: massive refactorMichael Muré2020-02-151-10/+12
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-121-1/+1
|
* it compiles \o/Michael Muré2020-02-086-63/+72
|
* input: better reusable prompt functionsMichael Muré2020-02-081-3/+3
|
* various cleanups suggested by golang-ciMichael Muré2020-02-081-3/+1
|
* upgrade to gqlgen master, waiting for a releaseMichael Muré2020-02-051-2/+2
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-255-9/+57
| | | | | | | | | | - 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
* Merge pull request #274 from MichaelMure/gitlab-bridgeMichael Muré2019-12-101-0/+1
|\ | | | | bridge/gitlab: support self-hosted GitLab instance
| * bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-0/+1
| |
* | cmd: "user create" only assign the user identity if not setMichael Muré2019-12-101-1/+8
|/
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-1017-67/+111
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-0817-67/+111
| |
* | bridge: fix incorrect last import time on context cancelMichael Muré2019-12-091-4/+14
|/
* bridge: move export event handling to the CLIMichael Muré2019-11-261-1/+15
|
* bridge: trim inputs during bridge configurationamine2019-11-251-2/+2
|
* commands: add bridge configure --token-id flagamine2019-11-231-1/+3
|
* bridge configure: no default name if the default has already been createdMichael Muré2019-11-191-1/+11
|
* cli: rename "token" into "auth"Michael Muré2019-11-104-36/+34
|
* cli: add bridge token showMichael Muré2019-11-102-2/+38
|
* bridge: various improvement on the global token PRMichael Muré2019-11-103-29/+63
|
* bridge/core: store token in the global config and replace scopes with create ↵amine2019-11-093-34/+19
| | | | date
* tokens: use entity.Id as id typeamine2019-11-091-1/+1
|
* tokens: use a hash as token identifier instead of the token it selfamine2019-11-093-47/+36
|
* bridge: various cleanupsMichael Muré2019-11-091-8/+7
|
* commands: use token value as identifierAmine2019-11-092-6/+3
|
* bridge/core: use token id instead of nameAmine2019-11-093-10/+108
| | | | | commands: add bridge token rm/add commands: improve bridge token printing
* commands: add bridge token subcommandAmine2019-11-091-0/+64
|
* bridge: improvement on the import resume featureMichael Muré2019-11-031-16/+30
|
* commands: support bridge imports after a given date and resumable importsamine2019-11-032-23/+28
|
* Merge pull request #228 from ludovicm67/patch-cli-label-colorsMichael Muré2019-11-035-13/+31
|\ | | | | Display label colors in termui
| * switch to go-term-text to fix bad underflow for label renderingMichael Muré2019-11-035-20/+21
| |
| * ls: add labels color + formatting for commentsludovicm672019-10-281-5/+22
| |
* | bridge: use new repository configuration interfaceamine2019-11-011-1/+1
|/ | | | commands/webui: use new repository configuration interface
* commands: silence usage when cobra commands return an errorAmine2019-09-061-3/+5
|
* bridge/core: add tokenStdin field to bridgeParamsAmine Hilaly2019-09-021-13/+3
| | | | commands: move tokenStdin handling logic to bridge.Configure
* bridge/github: recover terminal state in password promptsAmine Hilaly2019-08-311-0/+4
| | | | commands: error if a token is provide but not the bridge name and target
* commands: enhance flag description Amine2019-08-311-1/+1
| | | | | bridge/github: improve configuration logic Co-Authored-By: Michael Muré <batolettre@gmail.com>
* commands: read token from stdin in bridge configurationAmine Hilaly2019-08-311-11/+11
| | | | bridge: improve bridge config validation
* commands: add a "tui" alias for "termui"Michael Muré2019-08-311-0/+1
|
* Merge pull request #205 from seeduvax/issue-178Michael Muré2019-08-311-1/+1
|\ | | | | issue 178: fetch the repo dir with rev-parse --git-dir
| * issue 178: fetch the repo dir with rev-parse --git-dirSebastien Devaux2019-08-241-1/+1
| | | | | | | | | | Since is returns the .git dir directly, it is not more needed to concatenate .git.
* | readme: tweakingMichael Muré2019-08-241-1/+1
| |
* | docs: update implementation tableAmine Hilaly2019-08-241-2/+9
| | | | | | | | docs: add bridge usage examples
* | bridge/gitlab: fix edit comment request and remove label functionalitiesAmine Hilaly2019-08-191-1/+0
|/
* commands: silence export and import nothing eventsAmine Hilaly2019-08-192-2/+6
|
* bridge/core: add context.Context to ImportAll and ExportAll signaturesAmine Hilaly2019-08-182-7/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bridge/core: add ImportResult objects to stream import events bridge/core: launchpad support asynchronous import bridge/github: cancellable export and import functions bridge/gitlab: cancellable export and import functions commands: bridge pull/push gracefull kill bridge/github: fix github import bridge/github: use simple context for imports bridge/core: name parameters in interfaces github/core: Add EventError to export and import events types bridge/gitlab: add context support in gitlab requests functions bridge/gitlab: remove imported events count from importer logic bridge/github: remove imported events count from importer logic bridge/github: add context support in query and muration requets bridge/github: fix bug duplicate editions after multiple calls bridge/core: import import and export events String methods bridge/gitlab: fix error handling in note import events commands/bridge: Add statistics about imports and exports bridge/gitlab: properly handle context cancellation bridge/github: improve error handling bridge: break iterators on context cancel or timeout bridge: add context timeout support bridge: improve event formating and error handling commands: handle interrupt and switch cases bridge/github: add export mutation timeouts bridge: fix race condition bug in the github and gitlab importers bridge/github: improve context error handling
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-1211-22/+23
|
* bug: compute op's ID based on the serialized data on diskMichael Muré2019-08-081-5/+5
|
* commands: fix a missing line breakMichael Muré2019-07-071-1/+1
|
* bridge: detect when trying to configure a bridge with a name already takenMichael Muré2019-07-071-12/+20
|