aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* bridge/github: fix project visibility promptAmine Hilaly2019-07-221-2/+2
|
* bridge: detect when trying to configure a bridge with a name already takenMichael Muré2019-07-072-1/+13
|
* bridge: use a single KeyTarget constant for all bridgesMichael Muré2019-07-073-10/+8
|
* [bridge/github] import: avoid retrieving ghost email in userQueryAmine Hilaly2019-07-062-4/+3
| | | | | | request rename userQuery to ghostQuery
* [bridge/github] ignore imported bugs from other repositoriesAmine Hilaly2019-07-061-24/+18
|
* [bridge/github] improve export label change functionAmine Hilaly2019-07-052-58/+81
| | | | [bridge/core] rename `EventStatus` to `ExportEvent`
* [bridge/github] improve comments and documentationAmine2019-07-054-101/+69
| | | | | | [bridge/github] improve error handling and tests Co-Authored-By: Michael Muré <batolettre@gmail.com>
* [core] Implement ExportResultsAmine Hilaly2019-06-305-91/+231
| | | | | Use ExportResult chan to send export events Remove exportedBugs and exportedLabels
* [bug] add snapshot.GetCreateMetadata methodAmine Hilaly2019-06-303-46/+51
| | | | | | | | | | [bug] add snapshot.HasParticipant(id string) [bug] add snapshot.HasAnyParticipant(ids ...string) [bug] add snapshot.HasActor(id string) [bug] add snapshot.HasAnyActor(ids ...string) [bridge/github] improve comments [bridge/github] exporter tests: register deleteRepository in cleaner [bridge/github] tests rebase
* [bridge/github] Correcte some types and add commentsAmine Hilaly2019-06-242-13/+32
| | | | | | | | | | | | 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>
* [bridge/github] exporter tests: Test issues metadataAmine Hilaly2019-06-241-2/+17
| | | | [bridge/github] exproter tests: Change env vars
* [bridge/github] simplify export operation hashsAmine Hilaly2019-06-243-66/+185
| | | | | | | | | | [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
* [bridge/github] exporter: Add test casesAmine Hilaly2019-06-242-23/+168
| | | | | | correct delete repo improve tests set user identity
* [bridge/github] correct label & comment edit mutations bugsAmine Hilaly2019-06-243-42/+58
|
* [bridge/github] create label: Generate hexColor from label rgbaAmine Hilaly2019-06-241-26/+32
|
* [bridge/github] use context.WithTimeout on all graphql queriesAmine Hilaly2019-06-243-15/+78
|
* [bridge/github] exporter: Improve error handlingAmine Hilaly2019-06-243-72/+92
| | | | | | [bridge/github] queries: use api v4 for getLabel / createLabel [bridge/github] add comments to getIdentityClient
* [misc] update man docs and completion scriptsAmine Hilaly2019-06-241-11/+16
| | | | | | [cache] BugCache: Fix set metadata raw [bridge/github] Fix graphql input objects
* [bridge/github] exporter: Check bug import originAmine Hilaly2019-06-241-3/+33
| | | | [bridge/github] export only allowed bugs
* [bridge/github] importer: tag imported issues with origin metadataAmine Hilaly2019-06-243-14/+17
| | | | [bridge/github] exporter: correct export signature and cache maps
* [bridge/github] cache user tokenAmine Hilaly2019-06-243-8/+78
| | | | | | | | fix import typo init tests verify issue
* [bridge/github] exporter: support multiple tokens/clientsAmine Hilaly2019-06-241-62/+83
|
* [bridge/github] update github bug exporterAmine Hilaly2019-06-241-88/+240
| | | | | - cache repository ID - cache all comment IDs
* [cache] BugCache: Add set metadata methodsAmine Hilaly2019-06-243-11/+13
| | | | | | [bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
* [bridge/github] exporter: add graphql functionalitiesAmine Hilaly2019-06-243-7/+477
| | | | | | | | | [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
* [bridge/github] Add exporter implementationAmine Hilaly2019-06-243-1/+57
|
* Merge pull request #171 from MichaelMure/graphql-mutation-relayMichael Muré2019-06-232-3/+3
|\ | | | | Graphql mutation relay
| * cache: expose the operation when creating a new bugMichael Muré2019-06-162-3/+3
| |
* | LoadBridge create a bridge using loadConfigAmine Hilaly2019-06-171-18/+12
| | | | | | | | update loadConfig signature
* | add target to launchpad configurationAmine Hilaly2019-06-171-0/+7
| |
* | Naming fixesAmine Hilaly2019-06-163-5/+6
| |
* | Store bridge type alongside the other params in the configAmine Hilaly2019-06-153-43/+55
|/
* Merge pull request #153 from A-Hilaly/bridge-configurationMichael Muré2019-06-0710-94/+734
|\ | | | | [Breaking] Bridge configuration enhancements
| * rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKENAmine Hilaly2019-06-071-2/+2
| |
| * make token visible in configuration processAmine Hilaly2019-06-071-12/+16
| | | | | | | | | | validate token global fixes
| * Allow cancelling configurationAmine2019-06-051-2/+2
| | | | | | | | | | | | correct error message Co-Authored-By: Michael Muré <batolettre@gmail.com>
| * Skip test validateUsername in travis environmentAmine Hilaly2019-06-031-0/+4
| |
| * add unit tests for launchpad bridge configurationAmine Hilaly2019-05-304-13/+170
| | | | | | | | | | add tests for validateUsername in Github bridge panic when compile regex fail
| * Update configuration process and add unit testsAmine Hilaly2019-05-293-18/+187
| | | | | | | | Update launchpad bridge
| * Update documentation and function namingAmine2019-05-292-5/+7
| | | | | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
| * Change github regex for better matchingAmine Hilaly2019-05-291-7/+17
| | | | | | | | | | Remove '.git' suffixes from URLs Change token scope for public repositories to `repo:public_repo`
| * Disable `bridgeConfigure` sort flags optionAmine Hilaly2019-05-291-2/+2
| | | | | | | | rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
| * Change client default timeout value to 60 secondsAmine Hilaly2019-05-292-26/+15
| | | | | | | | | | add named return values for easier validation for 2FA codes
| * Update flags descriptions Amine2019-05-292-4/+4
| | | | | | | | | | Enhance printing in prompt Co-Authored-By: Michael Muré <batolettre@gmail.com>
| * Add warning messages for launchpad-previewAmine Hilaly2019-05-292-3/+10
| | | | | | | | | | fix --target flag description improve comments
| * Launchpad bridge configuration from `BridgeParams` Project and URLAmine Hilaly2019-05-292-8/+53
| | | | | | | | Improve Github config comments
| * Update Github bridge configurationAmine Hilaly2019-05-291-86/+200
| | | | | | | | | | Use GetRemotes in `promptURL` to suggest repo urls Add `promptTokenOptions` to select token a configuration option
| * Change keyUser to keyOwner in Github bridgeAmine Hilaly2019-05-294-13/+15
| |
| * Launchpad changesAmine Hilaly2019-05-291-6/+12
| | | | | | | | Use bridge params to configure the bridge
| * Github bridge updatesAmine Hilaly2019-05-291-67/+189
| | | | | | | | Use bridge params to configure the bridge