Commit Graph

207 Commits

Author SHA1 Message Date
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
Sebastien Devaux
7e123fbfca issue 178: fetch the repo dir with rev-parse --git-dir
Since is returns the .git dir directly, it is not more needed to
concatenate .git.
2019-08-24 22:42:25 +02:00
Michael Muré
35c6cb6e36
readme: tweaking 2019-08-24 14:18:22 +02:00
Amine Hilaly
03b6afa2f3
docs: update implementation table
docs: add bridge usage examples
2019-08-24 13:55:49 +02:00
Amine Hilaly
514dc30c20 bridge/gitlab: fix edit comment request and remove label functionalities 2019-08-19 23:56:50 +02:00
Amine Hilaly
e6931aaf6f commands: silence export and import nothing events 2019-08-19 00:19:58 +02:00
Amine Hilaly
5ca326af83 bridge/core: add context.Context to ImportAll and ExportAll signatures
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
2019-08-18 00:14:22 +02:00
Michael Muré
99b5c58d43 finish the refactoring for the dedicated identifier type 2019-08-12 16:12:14 +02:00
Michael Muré
2e1a5e246e bug: compute op's ID based on the serialized data on disk 2019-08-08 19:02:46 +02:00
Michael Muré
eef7333243
commands: fix a missing line break 2019-07-07 12:50:23 +02:00
Michael Muré
dc289876c6
bridge: detect when trying to configure a bridge with a name already taken 2019-07-07 12:15:01 +02:00
Amine Hilaly
1f365b2369
[core] Implement ExportResults
Use ExportResult chan to send export events
Remove exportedBugs and exportedLabels
2019-06-30 15:42:45 +02:00
Amine Hilaly
6d9ba4aba2
rebase & fix push command 2019-06-24 21:28:43 +02:00
Amine Hilaly
0424a0fa19
[commands] bridge: add push sub command
[commands] bridge: use cobra max args
2019-06-24 21:19:43 +02:00
Michael Muré
54e95cf36f
Merge pull request #171 from MichaelMure/graphql-mutation-relay
Graphql mutation relay
2019-06-23 21:36:42 +02:00
Amine Hilaly
07cc5e4100
Rebase & Update commands/bridge_rm.go
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-17 23:33:48 +02:00
Amine Hilaly
ee2ca519e6
Changes to Repo.RmConfigs
RmConfigs try to remove key/value or section from keyPrefix
2019-06-17 23:33:32 +02:00
Amine Hilaly
319b648d0f
Naming fixes 2019-06-16 23:02:59 +02:00
Michael Muré
bc03a89aa7 fix tests 2019-06-16 21:40:45 +02:00
Michael Muré
08c0e18ade cache: expose the operation when creating a new bug 2019-06-16 21:04:36 +02:00
Amine Hilaly
f70e775dbd
Store bridge type alongside the other params in the config 2019-06-15 02:33:06 +02:00
Amine Hilaly
8d6bdb6507
rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKEN 2019-06-07 01:43:48 +02:00
Amine Hilaly
a6c8b6b78d
make token visible in configuration process
validate token
global fixes
2019-06-07 01:17:59 +02:00
Amine
c52a467302
Allow cancelling configuration
correct error message

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-05 01:40:37 +02:00
Amine Hilaly
630bbc6753
Update bridge configure long description and examples 2019-05-29 22:58:01 +02:00
Amine
5ea0cb138b
Update documentation and function naming
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-05-29 22:58:01 +02:00
Amine Hilaly
aa439fae06
Add bridge configure documentation and examples 2019-05-29 22:58:01 +02:00
Amine Hilaly
99b6107487
Disable bridgeConfigure sort flags option
rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
2019-05-29 22:58:01 +02:00
Amine
1022b9e536
Update flags descriptions
Enhance printing in prompt

Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-05-29 22:58:01 +02:00
Amine Hilaly
43758a14fd
Add warning messages for launchpad-preview
fix --target flag description
improve comments
2019-05-29 22:58:01 +02:00
Amine Hilaly
f01b9bca12
Fix typo in github bridge rm 2019-05-29 22:58:01 +02:00
Amine Hilaly
f124df7e73
changes to the BridgeImpl Interface
Add bridge params
Change bridge.Configure signature
2019-05-29 22:58:01 +02:00
Michael Muré
8bfc65df6c commands: add flags/config to control the automatic opening in the default browser 2019-05-27 21:47:26 +02:00
Michael Muré
c7abac388a repo: refactor how test repo are created/cleaned 2019-05-27 21:14:55 +02:00
Yongwen Zhuang
5f0123d138
commands: ls fix CJK characters out of alignment
#85
2019-05-14 23:01:49 +08:00
Amine Hilaly
0d976f66e8 Add importer tests
Changes to Importer and exporter interface
Improve importer
Fix extra edits bug
2019-05-05 18:16:10 +02:00
Michael Muré
c0c8b11549 commands: fix ls-id description 2019-05-04 19:55:22 +02:00
Michael Muré
5eeeae7cdf
commands: fix ls not displaying the new Identities properly 2019-04-11 20:04:44 +02:00