aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bridge')
-rw-r--r--commands/bridge/bridge.go4
-rw-r--r--commands/bridge/bridge_auth.go6
-rw-r--r--commands/bridge/bridge_auth_addtoken.go12
-rw-r--r--commands/bridge/bridge_auth_rm.go6
-rw-r--r--commands/bridge/bridge_auth_show.go6
-rw-r--r--commands/bridge/bridge_new.go27
-rw-r--r--commands/bridge/bridge_pull.go10
-rw-r--r--commands/bridge/bridge_push.go10
-rw-r--r--commands/bridge/bridge_rm.go6
9 files changed, 43 insertions, 44 deletions
diff --git a/commands/bridge/bridge.go b/commands/bridge/bridge.go
index 9f7c5e50..17e64ac6 100644
--- a/commands/bridge/bridge.go
+++ b/commands/bridge/bridge.go
@@ -3,8 +3,8 @@ package bridgecmd
import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/commands/execenv"
)
func NewBridgeCommand(env *execenv.Env) *cobra.Command {
diff --git a/commands/bridge/bridge_auth.go b/commands/bridge/bridge_auth.go
index f27004e0..4a2d2cc1 100644
--- a/commands/bridge/bridge_auth.go
+++ b/commands/bridge/bridge_auth.go
@@ -7,9 +7,9 @@ import (
text "github.com/MichaelMure/go-term-text"
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge/core/auth"
- "github.com/MichaelMure/git-bug/commands/execenv"
- "github.com/MichaelMure/git-bug/util/colors"
+ "github.com/git-bug/git-bug/bridge/core/auth"
+ "github.com/git-bug/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/util/colors"
)
func newBridgeAuthCommand(env *execenv.Env) *cobra.Command {
diff --git a/commands/bridge/bridge_auth_addtoken.go b/commands/bridge/bridge_auth_addtoken.go
index 5af27728..69f8ceea 100644
--- a/commands/bridge/bridge_auth_addtoken.go
+++ b/commands/bridge/bridge_auth_addtoken.go
@@ -10,12 +10,12 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/bridge/core"
- "github.com/MichaelMure/git-bug/bridge/core/auth"
- "github.com/MichaelMure/git-bug/cache"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/bridge/core"
+ "github.com/git-bug/git-bug/bridge/core/auth"
+ "github.com/git-bug/git-bug/cache"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
)
type bridgeAuthAddTokenOptions struct {
diff --git a/commands/bridge/bridge_auth_rm.go b/commands/bridge/bridge_auth_rm.go
index 33253e26..bc5101f5 100644
--- a/commands/bridge/bridge_auth_rm.go
+++ b/commands/bridge/bridge_auth_rm.go
@@ -3,9 +3,9 @@ package bridgecmd
import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge/core/auth"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/bridge/core/auth"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
)
func newBridgeAuthRm(env *execenv.Env) *cobra.Command {
diff --git a/commands/bridge/bridge_auth_show.go b/commands/bridge/bridge_auth_show.go
index 25c517d3..3d5630b5 100644
--- a/commands/bridge/bridge_auth_show.go
+++ b/commands/bridge/bridge_auth_show.go
@@ -8,9 +8,9 @@ import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge/core/auth"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/bridge/core/auth"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
)
func newBridgeAuthShow(env *execenv.Env) *cobra.Command {
diff --git a/commands/bridge/bridge_new.go b/commands/bridge/bridge_new.go
index 07a555da..2f1363d9 100644
--- a/commands/bridge/bridge_new.go
+++ b/commands/bridge/bridge_new.go
@@ -9,12 +9,12 @@ import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/bridge/core"
- "github.com/MichaelMure/git-bug/bridge/core/auth"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
- "github.com/MichaelMure/git-bug/repository"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/bridge/core"
+ "github.com/git-bug/git-bug/bridge/core/auth"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/repository"
)
type bridgeNewOptions struct {
@@ -43,8 +43,7 @@ target: 1
name [default]: default
Detected projects:
-[1]: github.com/a-hilaly/git-bug
-[2]: github.com/MichaelMure/git-bug
+[1]: github.com/git-bug/git-bug
[0]: Another project
@@ -70,9 +69,9 @@ Successfully configured bridge: default
git bug bridge new \
--name=default \
--target=github \
- --owner=$(OWNER) \
- --project=$(PROJECT) \
- --token=$(TOKEN)
+ --owner=example-owner
+ --project=example-repo \
+ --token=$TOKEN
# For Launchpad
git bug bridge new \
@@ -83,9 +82,9 @@ git bug bridge new \
# For Gitlab
git bug bridge new \
--name=default \
- --target=github \
- --url=https://github.com/michaelmure/git-bug \
- --token=$(TOKEN)`,
+ --target=gitlab \
+ --url=https://github.com/example-org/example-repo \
+ --token=$TOKEN`,
PreRunE: execenv.LoadBackend(env),
RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error {
return runBridgeNew(env, options)
diff --git a/commands/bridge/bridge_pull.go b/commands/bridge/bridge_pull.go
index 03f4929a..5e9419b9 100644
--- a/commands/bridge/bridge_pull.go
+++ b/commands/bridge/bridge_pull.go
@@ -11,11 +11,11 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/bridge/core"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
- "github.com/MichaelMure/git-bug/util/interrupt"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/bridge/core"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/util/interrupt"
)
type bridgePullOptions struct {
diff --git a/commands/bridge/bridge_push.go b/commands/bridge/bridge_push.go
index 08f9b872..f432f6f4 100644
--- a/commands/bridge/bridge_push.go
+++ b/commands/bridge/bridge_push.go
@@ -8,11 +8,11 @@ import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/bridge/core"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
- "github.com/MichaelMure/git-bug/util/interrupt"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/bridge/core"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/util/interrupt"
)
func newBridgePushCommand(env *execenv.Env) *cobra.Command {
diff --git a/commands/bridge/bridge_rm.go b/commands/bridge/bridge_rm.go
index f6279ade..94258e14 100644
--- a/commands/bridge/bridge_rm.go
+++ b/commands/bridge/bridge_rm.go
@@ -3,9 +3,9 @@ package bridgecmd
import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/bridge"
- "github.com/MichaelMure/git-bug/commands/completion"
- "github.com/MichaelMure/git-bug/commands/execenv"
+ "github.com/git-bug/git-bug/bridge"
+ "github.com/git-bug/git-bug/commands/completion"
+ "github.com/git-bug/git-bug/commands/execenv"
)
func newBridgeRm(env *execenv.Env) *cobra.Command {