Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 0 additions & 123 deletions internal/boxcli/auth.go

This file was deleted.

6 changes: 0 additions & 6 deletions internal/boxcli/featureflag/auth.go

This file was deleted.

4 changes: 0 additions & 4 deletions internal/boxcli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (

"github.com/spf13/cobra"

"go.jetify.com/devbox/internal/boxcli/featureflag"
"go.jetify.com/devbox/internal/boxcli/midcobra"
"go.jetify.com/devbox/internal/cmdutil"
"go.jetify.com/devbox/internal/debug"
Expand Down Expand Up @@ -55,9 +54,6 @@ func RootCmd() *cobra.Command {

// Stable commands
command.AddCommand(addCmd())
if featureflag.Auth.Enabled() {
command.AddCommand(authCmd())
}
command.AddCommand(createCmd())
command.AddCommand(generateCmd())
command.AddCommand(globalCmd())
Expand Down
39 changes: 0 additions & 39 deletions internal/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,45 +63,6 @@ func OS() string {
return osName
}

func Issuer() string {
if IsDev {
return "https://laughing-agnesi-vzh2rap9f6.projects.oryapis.com"
}
return "https://accounts.jetify.com"
}

func ClientID() string {
if IsDev {
return "3945b320-bd31-4313-af27-846b67921acb"
}
return "ff3d4c9c-1ac8-42d9-bef1-f5218bb1a9f6"
}

func JetpackAPIHost() string {
if IsDev {
return "https://api.jetpack.dev"
}
return "https://api.jetpack.io"
}

func SuccessRedirect() string {
if IsDev {
return "https://auth.dev-jetify.com/account/login/success"
}
return "https://auth.jetify.com/account/login/success"
}

func Audience() []string {
return []string{"https://api.jetpack.io"}
}

func DashboardHostname() string {
if IsDev {
return "http://localhost:8080"
}
return "https://cloud.jetify.com"
}

// SourceDir searches for the source code directory that built the current
// binary.
func SourceDir() (string, error) {
Expand Down
162 changes: 0 additions & 162 deletions internal/devbox/providers/identity/identity.go

This file was deleted.

1 change: 0 additions & 1 deletion internal/telemetry/segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func newTrackMessage(name string, meta Metadata) *segment.Track {
"command_args": meta.CommandFlags,
"duration": dur.Milliseconds(),
"nix_version": nixVersion,
"org_id": orgID(),
"packages": meta.Packages,
"shell": os.Getenv(envir.Shell),
"shell_access": shellAccess(),
Expand Down
Loading
Loading