Amine Hilaly
31eebdf9da
[bridge/github] Correcte some types and add comments
...
General improvements
Co-Authored-By: Michael Muré <batolettre@gmail.com>
empty array check
an empty array is not nil
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-24 21:35:24 +02:00
Amine Hilaly
87cdf03219
[bridge/github] exporter tests: Test issues metadata
...
[bridge/github] exproter tests: Change env vars
2019-06-24 21:34:52 +02:00
Amine Hilaly
9b4b1fc09a
Rebase and add bridge push zsh & powershell completion
2019-06-24 21:34:48 +02:00
Amine Hilaly
0dea0f6a76
[bridge/github] simplify export operation hashs
...
[bridge/github] exporter tests: add more test cases and global tests
[bridge/github] rename export_query to export_mutation
[bridge/github] exporter: Log number of exported issues and labels
[bridge/github] Improve comments
2019-06-24 21:33:29 +02:00
Amine Hilaly
fc09f2a492
[bridge/github] exporter: Add test cases
...
correct delete repo
improve tests
set user identity
2019-06-24 21:33:15 +02:00
Amine Hilaly
12cc74e22b
[bridge/github] correct label & comment edit mutations bugs
2019-06-24 21:33:06 +02:00
Amine Hilaly
23f2c58e92
[bridge/github] create label: Generate hexColor from label rgba
2019-06-24 21:32:45 +02:00
Amine Hilaly
4ad3d336c6
[bridge/github] use context.WithTimeout on all graphql queries
2019-06-24 21:32:38 +02:00
Amine Hilaly
f70c279c1e
[bridge/github] exporter: Improve error handling
...
[bridge/github] queries: use api v4 for getLabel / createLabel
[bridge/github] add comments to getIdentityClient
2019-06-24 21:32:11 +02:00
Amine Hilaly
e511f3d885
[misc] update man docs and completion scripts
...
[cache] BugCache: Fix set metadata raw
[bridge/github] Fix graphql input objects
2019-06-24 21:30:45 +02:00
Amine Hilaly
a58ac69c1f
[bridge/github] exporter: Check bug import origin
...
[bridge/github] export only allowed bugs
2019-06-24 21:30:26 +02:00
Amine Hilaly
07492fb72a
[bridge/github] importer: tag imported issues with origin metadata
...
[bridge/github] exporter: correct export signature and cache maps
2019-06-24 21:29:57 +02:00
Amine Hilaly
1d42814166
[bridge/github] cache user token
...
fix import typo
init tests
verify issue
2019-06-24 21:29:37 +02:00
Amine Hilaly
a121991f55
[bridge/github] exporter: support multiple tokens/clients
2019-06-24 21:28:51 +02:00
Amine Hilaly
6d9ba4aba2
rebase & fix push command
2019-06-24 21:28:43 +02:00
Amine Hilaly
e649a50396
[bug] Operations: add GetAuthor method for operation interface and
...
BaseOp
2019-06-24 21:27:39 +02:00
Amine Hilaly
cbac482770
[bridge/github] update github bug exporter
...
- cache repository ID
- cache all comment IDs
2019-06-24 21:27:17 +02:00
Amine Hilaly
6451dd2928
[cache] BugCache: Add set metadata methods
...
[bridge/github] fix add/remove mutation requests
[bridge/github] iterator: fix typo
2019-06-24 21:26:34 +02:00
Amine Hilaly
2f620e65b8
[bridge/github] exporter: add graphql functionalities
...
[bridge/github] graphql mutation objects
[bridge/github] github create and get labels
[bridge/github] repository node_id query
[bridge/github] exporter: ignore old bugs and old operations
[bridge/github] add update labels/status functionalities
[bridge/github] exporter: cache labels while exporting
2019-06-24 21:24:04 +02:00
Amine Hilaly
946c936c5c
[vendor] update dependencies: github.com/shurcooL/githubv4
...
[bridge/github] graphql: Add more mutations structs
2019-06-24 21:21:15 +02:00
Amine Hilaly
fbb0e836d3
[bridge/github] Add exporter implementation
2019-06-24 21:20:45 +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é
aa4464dbba
readme: document the PowerShell completion
2019-06-24 13:58:31 +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
Michael Muré
17cbe457d2
graphql: fix typo
2019-06-23 21:29:04 +02:00
Michael Muré
9f4da4ce4f
cache: consistently use "ref" to fetch a repository
2019-06-23 21:28:01 +02:00
Michael Muré
5bae915b53
minor cleanup
2019-06-23 18:32:22 +02:00
Michael Muré
fb964bd3e9
Merge pull request #168 from MichaelMure/dependabot/dep/github.com/spf13/cobra-0.0.5
...
build(deps): bump github.com/spf13/cobra from 0.0.4 to 0.0.5
2019-06-23 14:37:04 +02:00
Michael Muré
b64587f87a
misc: generate PowerShell command completion
2019-06-23 14:33:02 +02:00
dependabot-preview[bot]
7461c1fe3a
build(deps): bump github.com/spf13/cobra from 0.0.4 to 0.0.5
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.4...0.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-23 12:16:13 +00:00
Michael Muré
89c6732354
Merge pull request #156 from A-Hilaly/bridge-rm
...
Fix bridge rm command
2019-06-19 18:11:31 +02:00
Amine
acfd8ffdd7
Update repository/mock_repo.go
...
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-06-19 18:02:16 +02:00
Michael Muré
777ccb9c68
bug: fix Bug's Lamport edit time potentially wrong due to rebase
2019-06-19 13:55:22 +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
Michael Muré
470996a0ce
Merge pull request #170 from A-Hilaly/config-file
...
[bridge] Change bridge name format in the config
2019-06-17 14:24:17 +02:00
Amine Hilaly
316b4ea6c2
LoadBridge create a bridge using loadConfig
...
update loadConfig signature
2019-06-17 00:19:01 +02:00
Amine Hilaly
041dc08d43
add target to launchpad configuration
2019-06-17 00:08:02 +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é
b2f8572c44
graphql: change mutations to respect the Relay specification
...
https://facebook.github.io/relay/graphql/mutations.htm
This specification also allow to expose a mutationId for fire and forget,
as well as the created operation.
2019-06-16 21:29:49 +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
Michael Muré
d69dcce806
Merge pull request #153 from A-Hilaly/bridge-configuration
...
[Breaking] Bridge configuration enhancements
2019-06-07 02:53:21 +02:00
Amine Hilaly
1c2ad95960
add verbose flag to go test
2019-06-07 02:35:40 +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
Michael Muré
a9629dbad1
Merge pull request #162 from A-Hilaly/bridge-list
...
Consistent bridge implementations list
2019-06-06 12:56:13 +02:00
Michael Muré
cb3bddf765
Merge pull request #160 from MichaelMure/dependabot/npm_and_yarn/webui/js-yaml-3.13.1
...
build(deps): bump js-yaml from 3.13.0 to 3.13.1 in /webui
2019-06-06 12:53:51 +02:00
Michael Muré
d954486c68
Merge pull request #163 from MichaelMure/dependabot/npm_and_yarn/webui/handlebars-4.1.2
...
build(deps): bump handlebars from 4.1.1 to 4.1.2 in /webui
2019-06-06 12:53:23 +02:00