aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* repair after rebaseJosh Bialkowski2019-12-185-22/+20
|
* codereview #6: don't fail one warningJosh Bialkowski2019-12-182-3/+12
| | | | * presence of an error in the import event doesn't indicate failure
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-187-38/+112
| | | | | | | | | | | * Fix git config reader can't read values with spaces * Add bug-id-revmap config option for the reverse map, and use this in the importer * Add NewImportWarning for things that aren't exactly errors. Use this for unhandled changelog events. * Add NewExportWarning for things that aren't exactly errors. Use this for un-exportable status changes. * Strip newlines from titles on import
* codereview #4: fixes from testingJosh Bialkowski2019-12-182-9/+42
| | | | | | | | | | | * don't prefix imported title's with jira ID * fix import new comment due to wrong variable name * fix double import of comment edition due to improper err check * fix JIRA cloud paginated changelog has a different JSON field then the embedded changelog in the JIRA server issue object * fix splitting label strings yielded an empty string as a label value
* codreview #3: two credential types, more fixesJosh Bialkowski2019-12-184-59/+126
| | | | | | | | | * Support both token and session credential types * use getTimeDervedID in export.go * keyOrigin -> core.KeyOrigin * fix one indentation * remove project key from operation metadata * fix missing credentials codepath if not using sidecar
* codereview #2: some cleanup, correct use of nothing-eventsJosh Bialkowski2019-12-188-173/+183
| | | | | | | | | | | | | | | | * return error, don't panic * skipping status export is an error * use switch in config.go * move PromptPassword to input * move client construction into getIdentityClient * use non-pointer context throughout client since it is an interface * remove some TODOs * don't emit multiple nothing-events, just one per bug only if nothing happened. * rename EditBody to EditCreateComment * add configuration notes about additional values * store bug id map in a dictionary in the config * some fixes from testing
* codereview #1: clean lint from golangcibotJosh Bialkowski2019-12-184-20/+37
|
* Implement jira bridgeJosh Bialkowski2019-12-1814-9/+3235
|
* Merge pull request #274 from MichaelMure/gitlab-bridgeMichael Muré2019-12-1015-15/+84
|\ | | | | bridge/gitlab: support self-hosted GitLab instance
| * bridge/gitlab: support self-hosted GitLab instanceamine2019-12-1015-15/+84
| |
* | Merge pull request #273 from MichaelMure/user-create-setAmine2019-12-103-1/+22
|\ \ | |/ |/| cmd: "user create" only assign the user identity if not set
| * cmd: "user create" only assign the user identity if not setMichael Muré2019-12-103-1/+22
|/
* Merge pull request #271 from MichaelMure/bridge-credentialsMichael Muré2019-12-1052-769/+1091
|\ | | | | bridge: huge refactor to accept multiple kind of credentials
| * auth: Correctly cast configs[configKeyKind]amine2019-12-091-1/+1
| |
| * type the CredentialKind valuesMichael Muré2019-12-091-2/+2
| | | | | | Co-Authored-By: Amine <hilalyamine@gmail.com>
| * bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-0852-769/+1091
| |
* | Merge pull request #272 from MichaelMure/fix-import-time-saveAmine2019-12-092-5/+15
|\ \ | |/ |/| bridge: fix incorrect last import time on context cancel
| * bridge: fix incorrect last import time on context cancelMichael Muré2019-12-092-5/+15
|/
* Merge pull request #265 from contrapunctus-1/doc-grammarMichael Muré2019-11-291-7/+7
|\ | | | | readme - fix some grammatical issues
| * readme - fix some grammatical issuescontrapunctus2019-11-291-7/+7
|/
* Merge pull request #263 from MichaelMure/configure-cleanupAmine2019-11-269-54/+91
|\ | | | | github: tiny cleanups of the configurator
| * bridge: move export event handling to the CLIMichael Muré2019-11-262-24/+20
| |
| * gitlab: configurator cleanupMichael Muré2019-11-262-10/+27
| |
| * github: tiny cleanups of the configuratorMichael Muré2019-11-266-20/+44
|/
* Merge pull request #262 from MichaelMure/bridgeMichael Muré2019-11-263-14/+14
|\ | | | | bridge: trim inputs during bridge configuration
| * bridge: trim inputs during bridge configurationamine2019-11-253-14/+14
|/
* Merge pull request #260 from MichaelMure/bridgeMichael Muré2019-11-249-30/+272
|\ | | | | Support bridge configuration with global tokens
| * bridge/gitlab: add gitlab bridge configurationamine2019-11-244-7/+75
| |
| * bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functionsamine2019-11-242-38/+58
| | | | | | | | bridge/github: global fixes
| * commands: add bridge configure --token-id flagamine2019-11-232-16/+3
| |
| * bridge/github: use core.ConfigKeyToken instead of keyTokenamine2019-11-232-5/+5
| |
| * bridge/github: configuration with global configsamine2019-11-231-14/+98
| |
| * bridge/core: load token value in ensureInitamine2019-11-232-4/+87
|/ | | | bridge/core: add more token functionalities
* Merge pull request #258 from MichaelMure/fixesMichael Muré2019-11-192-1/+4
|\ | | | | Bridges fixes
| * bridge: use the target as well in the token IDMichael Muré2019-11-191-1/+1
| |
| * github: sort project candidate in the interactive wizardMichael Muré2019-11-191-0/+3
| |
* | Merge pull request #255 from ↵Michael Muré2019-11-192-32/+62
|\ \ | | | | | | | | | | | | MichaelMure/dependabot/dep/github.com/awesome-gocui/gocui-a34ffb0 build(deps): bump github.com/awesome-gocui/gocui from `c9d3c2b` to `a34ffb0`
| * | vendor: update github.com/awesome-gocui/gocui dependenciesamine2019-11-192-30/+61
| | |
| * | build(deps): bump github.com/awesome-gocui/gocuidependabot-preview[bot]2019-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | Bumps [github.com/awesome-gocui/gocui](https://github.com/awesome-gocui/gocui) from `c9d3c2b` to `a34ffb0`. - [Release notes](https://github.com/awesome-gocui/gocui/releases) - [Commits](https://github.com/awesome-gocui/gocui/compare/c9d3c2bec453a8d648228640c79cc769bbc78df8...a34ffb055986a3f9461735162c9a2d235b95b8cb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | Merge pull request #254 from MichaelMure/import-eventsMichael Muré2019-11-196-68/+48
|\ \ \ | | | | | | | | Bridge: correctly emit NothingEvents
| * | | bridge/launchpad: importer correctly emit NothingEventamine2019-11-192-5/+4
| | | |
| * | | bridge/gitlab: importer and exporter correctly emit NothingEventsamine2019-11-192-11/+11
| | | |
| * | | bridge/github: export correctly emit nothing eventsamine2019-11-192-24/+18
| | | |
| * | | bridge/github: importer corectly emit eventsamine2019-11-192-29/+16
| | | |
* | | | Merge pull request #256 from ↵Michael Muré2019-11-194-5/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | MichaelMure/dependabot/dep/github.com/xanzy/go-gitlab-0.22.1 build(deps): bump github.com/xanzy/go-gitlab from 0.22.0 to 0.22.1
| * | | vendor: update github.com/xanzy/go-gitlab dependenciesamine2019-11-193-1/+3
| | | |
| * | | build(deps): bump github.com/xanzy/go-gitlab from 0.22.0 to 0.22.1dependabot-preview[bot]2019-11-182-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.0 to 0.22.1. - [Release notes](https://github.com/xanzy/go-gitlab/releases) - [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md) - [Commits](https://github.com/xanzy/go-gitlab/compare/v0.22.0...v0.22.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | bridge configure: no default name if the default has already been createdMichael Muré2019-11-191-1/+11
| | |
* | | Merge pull request #213 from MichaelMure/hash-collisionMichael Muré2019-11-196-30/+47
|\ \ \ | |_|/ |/| | bug: make sure there is no Operation's hash collision
| * | bug: make sure there is no Operation's hash collisionMichael Muré2019-11-196-30/+47
| | |