aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Bridges: move credential loading and client creationAlexander Scharinger2021-04-082-39/+38
| | | | | | Gitlab and Jira bridge: move credential loading and client creation from `Init` to `ImportAll` in order to harmonize the behaviour of the different bridges.
* Github bridge: refactor message handlingAlexander Scharinger2021-03-281-3/+15
|
* Github bridge: stop sleep-timer on SIGINTAlexander Scharinger2021-03-271-2/+8
|
* Github bridge: fix message about timeoutAlexander Scharinger2021-03-271-1/+2
|
* Github bridge: RefactorAlexander Scharinger2021-03-223-435/+303
|
* Github bridge: send message to user when waitingAlexander Scharinger2021-03-182-63/+209
| | | | | | When the Github GraphQL API rate limit is exhausted print a message at the bottom of the terminal so the user knows why the import has been paused.
* Github bridge: try again in case of web API errorAlexander Scharinger2021-03-151-1/+23
|
* Remove maps containing channels.Alexander Scharinger2021-03-152-93/+62
| | | | | | | | | The old implementation of the github bridge used maps to store several channels holding data obtained from the Github API. Removing the maps and simply packing data and channels together in a struct and passing it through one single channel makes the program simpler in terms of concurrency and, additionally, enables the garbage collector to free the memory gradually without any additional provisions.
* Fix errors: deadlock and empty titlesAlexander Scharinger2021-03-153-203/+263
|
* Deal with github bridge import rate limitAlexander Scharinger2021-02-284-737/+687
|
* Fix comparison mix-up in gitlab importerMatthias Simon2021-02-071-2/+2
|
* Merge pull request #534 from MichaelMure/gh-bridge-pull-fixMichael Muré2021-02-013-419/+345
|\ | | | | Fix github bridge import
| * Add commentsAlexander Scharinger2021-01-281-9/+41
| |
| * Fix bugAlexander Scharinger2021-01-261-1/+1
| |
| * Integrate new Github Bridge importAlexander Scharinger2021-01-243-812/+246
| |
| * Add GraphQL github-bridge query for comment editsAlexander Scharinger2021-01-242-1/+92
| |
| * Add GraphQL github timeline query and iteratorAlexander Scharinger2021-01-242-3/+115
| |
| * Add issue edit iteratorAlexander Scharinger2021-01-242-13/+97
| |
| * Add issue iteratorAlexander Scharinger2021-01-241-0/+90
| |
| * Add GraphQL github issue queryAlexander Scharinger2021-01-242-0/+40
| |
| * WIP: Pinpoint some of the reasons for bug #385Alexander Scharinger2020-12-122-5/+48
| | | | | | | | | | | | | | | | | | Work in progress. The github bridge contains a bug documented in issue #385. This commit shows what is the problem. There might be more problems. I have changed the GraphQL query for timeline items and there are much less wrong imports now. (Are there any malformed imports left?) I would like to rework the entire bridge/github/iterator in the near future in order to create a reliable fix for this bug.
* | add github actionsMichael Muré2020-12-081-0/+3
|/
* github: minor cleanupsMichael Muré2020-11-221-12/+26
|
* Change return type from map to structAlexander Scharinger2020-11-181-13/+18
|
* Apply suggestions from code reviewrng-dynamics2020-11-181-2/+2
| | | Co-authored-by: Michael Muré <batolettre@gmail.com>
* Revision of Github bridge device authorization grantAlexander Scharinger2020-11-181-59/+72
|
* Replace Github authorization endpoint by device authorization grantAlexander Scharinger2020-11-181-100/+94
| | | | Fix issue #484
* cleanup title on gitlab importvince2020-10-281-3/+7
|
* Vendor: updage xanzy/go-gitlab to v0.38.2 (#473)65432020-10-251-2/+1
| | | | | * build(deps): bump github.com/xanzy/go-gitlab from 0.33.0 to 0.38.2 * migrate * refactor
* repo: use go-git in more places, fix pushMichael Muré2020-10-044-6/+6
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-299-163/+143
|
* gitlab: skip the broken test as "known broken" :(Michael Muré2020-07-261-0/+7
|
* update go-gitlabMichael Muré2020-07-261-7/+3
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-264-6/+6
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-253-3/+3
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* gitlab: fix iterator (paginate with first index 1) and avoid the trailing ↵Michael Muré2020-04-043-12/+38
| | | | API call
* gitlab: refactor the iterator, fix bugsMichael Muré2020-03-286-290/+399
| | | | Notably, properly reset sub iterators when changing to the next issue
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-282-10/+14
|
* launchpad: fix a nil value accessMichael Muré2020-03-281-1/+1
|
* launchpad: tighten the bug matchingMichael Muré2020-03-281-1/+4
|
* github: tighten the import matchingMichael Muré2020-03-281-1/+4
|
* jira: tag bugs with the base URL, tighten the matchingMichael Muré2020-03-282-1/+12
|
* gitlab: match bugs on IDs + baseURL because the URL is not stableMichael Muré2020-03-281-1/+6
|
* gitlab: fix bugs import urlamine2020-03-151-4/+4
|
* Merge pull request #344 from MichaelMure/github-lowercase-loginMichael Muré2020-02-294-56/+106
|\ | | | | github: fix matching cred/identity with badly cased login
| * github: fix testsMichael Muré2020-02-291-23/+32
| |
| * github: correct casing for user provided loginMichael Muré2020-02-293-33/+74
| |
* | identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-254-1/+6
|/ | | | informational)
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-2315-48/+71
|\ | | | | bridge: record the login used during the configure and use it as default credential
| * bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-2315-48/+71
| | | | | | | | | | | | credential fix #338