diff options
author | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-12-13 13:17:26 -0800 |
---|---|---|
committer | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-12-18 07:42:16 -0800 |
commit | 4e64c834e2cd672f3daff59fe8117873688dfebc (patch) | |
tree | 694269594f13f4f9d545e0bd8a2c8a08df1e5a9e /bridge/jira/export.go | |
parent | 98bd372e604285cf79ffcf04d0fdf423200cab8f (diff) | |
download | git-bug-4e64c834e2cd672f3daff59fe8117873688dfebc.tar.gz |
codereview #5: reverse-map and ImportWarning
* 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
Diffstat (limited to 'bridge/jira/export.go')
-rw-r--r-- | bridge/jira/export.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/jira/export.go b/bridge/jira/export.go index 02ec5e14..238252ee 100644 --- a/bridge/jira/export.go +++ b/bridge/jira/export.go @@ -351,7 +351,7 @@ func (self *jiraExporter) exportBug( exportTime, err = UpdateIssueStatus(client, bugJiraID, jiraStatus) if err != nil { err := errors.Wrap(err, "editing status") - out <- core.NewExportError(err, b.Id()) + out <- core.NewExportWarning(err, b.Id()) // Failure to update status isn't necessarily a big error. It's // possible that we just don't have enough information to make that // update. In this case, just don't export the operation. |