Commit Graph

884 Commits

Author SHA1 Message Date
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
dependabot[bot]
98625825f8
build(deps): bump handlebars from 4.1.1 to 4.1.2 in /webui
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-05 23:13:49 +00:00
Amine Hilaly
da3281c474
Sort bridges list 2019-06-06 01:05:38 +02:00
dependabot[bot]
bcba3563eb
build(deps): bump js-yaml from 3.13.0 to 3.13.1 in /webui
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.0...3.13.1)
2019-06-05 08:00:21 +00: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
7923d6c942
Skip test validateUsername in travis environment 2019-06-03 20:33:33 +02:00
Michael Muré
9e56285260
Merge pull request #159 from MichaelMure/dependabot/npm_and_yarn/webui/tar-4.4.9
build(deps): [security] bump tar from 4.4.1 to 4.4.9 in /webui
2019-06-03 13:37:42 +02:00
dependabot-preview[bot]
0e8e4c2171
build(deps): [security] bump tar from 4.4.1 to 4.4.9 in /webui
Bumps [tar](https://github.com/npm/node-tar) from 4.4.1 to 4.4.9. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.1...v4.4.9)
2019-06-03 05:18:14 +00:00
Amine Hilaly
ebebdfdf35
add unit tests for launchpad bridge configuration
add tests for validateUsername in Github bridge
panic when compile regex fail
2019-05-30 12:50:21 +02:00
Amine Hilaly
d064a7127e
Update man pages and bash_completion 2019-05-29 22:58:01 +02:00