aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/core/bridge.go2
-rw-r--r--bridge/github/client.go2
-rw-r--r--bridge/github/import_test.go4
-rw-r--r--bridge/gitlab/export.go2
-rw-r--r--bridge/jira/client.go2
-rw-r--r--bridge/launchpad/launchpad_api.go4
6 files changed, 8 insertions, 8 deletions
diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go
index b410b470..1fc631f0 100644
--- a/bridge/core/bridge.go
+++ b/bridge/core/bridge.go
@@ -141,7 +141,7 @@ func DefaultBridge(repo *cache.RepoCache) (*Bridge, error) {
}
if len(bridges) > 1 {
- return nil, fmt.Errorf("multiple bridge are configured, you need to select one explicitely")
+ return nil, fmt.Errorf("multiple bridge are configured, you need to select one explicitly")
}
return LoadBridge(repo, bridges[0])
diff --git a/bridge/github/client.go b/bridge/github/client.go
index 361d0ee5..974c3067 100644
--- a/bridge/github/client.go
+++ b/bridge/github/client.go
@@ -20,7 +20,7 @@ type Client interface {
Query(context.Context, interface{}, map[string]interface{}) error
}
-// rateLimitHandlerClient wrapps the Github client and adds improved error handling and handling of
+// rateLimitHandlerClient wraps the Github client and adds improved error handling and handling of
// Github's GraphQL rate limit.
type rateLimitHandlerClient struct {
sc Client
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go
index 5fafcce1..52a3f852 100644
--- a/bridge/github/import_test.go
+++ b/bridge/github/import_test.go
@@ -123,11 +123,11 @@ func TestGithubImporter(t *testing.T) {
},
},
{
- name: "transfered issue",
+ name: "transferred issue",
url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/8",
bug: &bug.Snapshot{
Operations: []dag.Operation{
- bug.NewCreateOp(author, 0, "transfered issue", "", nil),
+ bug.NewCreateOp(author, 0, "transferred issue", "", nil),
},
},
},
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
index b3a02447..3beaec38 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -356,7 +356,7 @@ func (ge *gitlabExporter) exportBug(ctx context.Context, b *cache.BugCache, out
case *bug.LabelChangeOperation:
// we need to set the actual list of labels at each label change operation
- // because gitlab update issue requests need directly the latest list of the verison
+ // because gitlab update issue requests need directly the latest list of the version
for _, label := range op.Added {
labelSet[label.String()] = struct{}{}
diff --git a/bridge/jira/client.go b/bridge/jira/client.go
index c5fd1776..0e4e561f 100644
--- a/bridge/jira/client.go
+++ b/bridge/jira/client.go
@@ -1361,7 +1361,7 @@ func (client *Client) DoTransition(issueKeyOrID string, transitionID string) (ti
// TODO(josh)[767ee72]: Figure out a good way to "configure" the
// open/close state mapping. It would be *great* if we could actually
- // *compute* the necessary transitions and prompt for missing metatdata...
+ // *compute* the necessary transitions and prompt for missing metadata...
// but that is complex
var buffer bytes.Buffer
_, _ = fmt.Fprintf(&buffer,
diff --git a/bridge/launchpad/launchpad_api.go b/bridge/launchpad/launchpad_api.go
index 763e774e..d8b31e44 100644
--- a/bridge/launchpad/launchpad_api.go
+++ b/bridge/launchpad/launchpad_api.go
@@ -10,7 +10,7 @@ package launchpad
* - SearchTasks should yield bugs one by one
*
* TODO (maybe):
- * - Authentication (this might help retrieving email adresses)
+ * - Authentication (this might help retrieving email addresses)
*/
import (
@@ -83,7 +83,7 @@ func (lapi *launchpadAPI) SearchTasks(ctx context.Context, project string) ([]LP
var bugs []LPBug
// First, let us build the URL. Not all statuses are included by
- // default, so we have to explicitely enumerate them.
+ // default, so we have to explicitly enumerate them.
validStatuses := [13]string{
"New", "Incomplete", "Opinion", "Invalid",
"Won't Fix", "Expired", "Confirmed", "Triaged",