Commit Graph

1019 Commits

Author SHA1 Message Date
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
Amine Hilaly
45d47a0966
Update configuration process and add unit tests
Update launchpad bridge
2019-05-29 22:58:01 +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
5911cb96c0
Change github regex for better matching
Remove '.git' suffixes from URLs
Change token scope for public repositories to `repo:public_repo`
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 Hilaly
1c146a1b67
Change client default timeout value to 60 seconds
add named return values for
easier validation for 2FA codes
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
0de2bd92b0
Launchpad bridge configuration from BridgeParams Project and URL
Improve Github config comments
2019-05-29 22:58:01 +02:00
Amine Hilaly
46ce1059b6
Update Github bridge configuration
Use GetRemotes in `promptURL` to suggest repo urls
Add `promptTokenOptions` to select token a configuration option
2019-05-29 22:58:01 +02:00
Sladyn
2c4c0132bf
Add GetRemotes functionalities 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
70268ff4ec
Change keyUser to keyOwner in Github bridge 2019-05-29 22:58:01 +02:00
Amine Hilaly
5f80f242fa
Launchpad changes
Use bridge params to configure the bridge
2019-05-29 22:58:01 +02:00