aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
Commit message (Collapse)AuthorAgeFilesLines
...
* [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-231-2/+2
|\ | | | | Graphql mutation relay
| * cache: expose the operation when creating a new bugMichael Muré2019-06-161-2/+2
| |
* | Naming fixesAmine Hilaly2019-06-161-3/+5
| |
* | Store bridge type alongside the other params in the configAmine Hilaly2019-06-151-0/+6
|/
* 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-302-4/+63
| | | | | add tests for validateUsername in Github bridge panic when compile regex fail
* Update configuration process and add unit testsAmine Hilaly2019-05-292-16/+180
| | | | Update launchpad bridge
* Update documentation and function namingAmine2019-05-291-4/+3
| | | 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-291-2/+2
| | | | | Enhance printing in prompt Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Add warning messages for launchpad-previewAmine Hilaly2019-05-291-3/+3
| | | | | fix --target flag description improve comments
* Launchpad bridge configuration from `BridgeParams` Project and URLAmine Hilaly2019-05-291-3/+5
| | | | 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
|
* Github bridge updatesAmine Hilaly2019-05-291-67/+189
| | | | Use bridge params to configure the bridge
* 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
* Fix import bugAmine Hilaly2019-05-051-1/+1
|
* Add old importer comments in the iteratorAmine Hilaly2019-05-053-11/+33
| | | | | Test operation authors Fix typo in test repo url
* github: simplify and improve the import testMichael Muré2019-05-051-58/+25
|
* Improve naming and functions signaturesAmine Hilaly2019-05-054-171/+169
| | | | | | expose `NewIterator` in `github` package remove `exist` in tests cases skip tests when env var GITHUB_TOKEN is not given
* Add ForceLabelChange functionalitiesAmine Hilaly2019-05-051-5/+6
|
* Add importer testsAmine Hilaly2019-05-054-252/+420
| | | | | | Changes to Importer and exporter interface Improve importer Fix extra edits bug
* Integrate iterator with importerAmine Hilaly2019-05-054-421/+222
|
* Add github iteratorAmine Hilaly2019-05-053-3/+453
| | | | | use `goto` in .Next* functions Update iterator.go
* github: fix potential bug due to var aliasingMichael Muré2019-03-011-1/+2
|
* github: simplify some codeMichael Muré2019-03-011-12/+3
|
* github: fix 3 edge-case failuresMichael Muré2019-03-011-39/+56
|
* identity: work on higher level now, cache, first two identity commandsMichael Muré2019-03-011-2/+2
|