aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* [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
| * changes to the BridgeImpl InterfaceAmine Hilaly2019-05-292-3/+12
| | | | | | | | | | Add bridge params Change bridge.Configure signature
* | Sort bridges listAmine Hilaly2019-06-061-0/+3
|/
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-2/+3
|
* improve github importer and iteratorAmine Hilaly2019-05-232-24/+34
| | | | | | drop and use query variables instead initialize timeline query variables in the constructor improve naming and add comments to public functions
* fix imported bugs countAmine Hilaly2019-05-231-2/+4
|
* introduce `nextValidIssueEdit` and `nextValidCommentEdit` to escape empty ↵Amine Hilaly2019-05-232-20/+22
| | | | | | `Diff`objects calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
* call NextIssueEdit from ensureIssueAmine Hilaly2019-05-231-10/+9
|
* Fix importer/exporter design errorsAmine Hilaly2019-05-232-51/+66
|
* Add unicode control characters test caseAmine Hilaly2019-05-052-32/+58
| | | | | | | | | | | Move `cleanupText` to utils/text/transform.go `text.Cleanup`: removing unicode control characters except for those allowed by `text.Safe` Add golang.org/x/text dependencies fix text.Cleanup Fix import panic