[DATALAD RUNCMD] Run codespell -w

Yaroslav Halchenko created

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

Change summary

bridge/core/bridge.go                  | 2 +-
bridge/github/client.go                | 2 +-
bridge/github/import_test.go           | 4 ++--
bridge/gitlab/export.go                | 2 +-
bridge/jira/client.go                  | 2 +-
bridge/launchpad/launchpad_api.go      | 4 ++--
doc/howto-github.md                    | 2 +-
entities/identity/key.go               | 2 +-
entity/dag/operation_pack.go           | 2 +-
webui/src/components/Header/Header.tsx | 2 +-
10 files changed, 12 insertions(+), 12 deletions(-)

Detailed changes

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])

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

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),
 				},
 			},
 		},

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{}{}

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,

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",

doc/howto-github.md 🔗

@@ -72,7 +72,7 @@ For a richer and more user friendly UI, `git-bug` proposes a web UI (read-only a
 
 ## Want more?
 
-If you interested to read more about `git-bug`, have a look at the followings:
+If you interested to read more about `git-bug`, have a look at the following:
 - [the project itself, with a more complete readme](https://github.com/MichaelMure/git-bug)
 - [a bird view of the internals](https://github.com/MichaelMure/git-bug/blob/master/doc/architecture.md)
 - [a description of the data model](https://github.com/MichaelMure/git-bug/blob/master/doc/model.md)

entities/identity/key.go 🔗

@@ -23,7 +23,7 @@ type Key struct {
 	private *packet.PrivateKey
 }
 
-// GenerateKey generate a keypair (public+private)
+// GenerateKey generate a key pair (public+private)
 // The type and configuration of the key is determined by the default value in go's OpenPGP.
 func GenerateKey() *Key {
 	entity, err := openpgp.NewEntity("", "", "", &packet.Config{

entity/dag/operation_pack.go 🔗

@@ -82,7 +82,7 @@ func (opp *operationPack) Validate() error {
 }
 
 // Write writes the OperationPack in git, with zero, one or more parent commits.
-// If the repository has a keypair able to sign (that is, with a private key), the resulting commit is signed with that key.
+// If the repository has a key pair able to sign (that is, with a private key), the resulting commit is signed with that key.
 // Return the hash of the created commit.
 func (opp *operationPack) Write(def Definition, repo repository.Repo, parentCommit ...repository.Hash) (repository.Hash, error) {
 	if err := opp.Validate(); err != nil {

webui/src/components/Header/Header.tsx 🔗

@@ -69,7 +69,7 @@ function Header() {
   const location = useLocation();
 
   // Prevents error of invalid tab selection in <Tabs>
-  // Will return a valid tab path or false if path is unkown.
+  // Will return a valid tab path or false if path is unknown.
   function highlightTab() {
     const validTabs = ['/', '/code', '/pulls', '/settings'];
     const tab = validTabs.find((tabPath) => tabPath === location.pathname);