Skip to content

Commit 6edcb12

Browse files
url changes (#252)
updating urls for new docs
1 parent ec95e5f commit 6edcb12

6 files changed

Lines changed: 11 additions & 50 deletions

File tree

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ brews:
2626
# token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
2727
# The project name and current git tag are used in the format string.
2828
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
29-
homepage: "https://docs.brev.dev"
30-
description: "CLI tool for managing workspaces provided by brev.dev"
29+
homepage: "https://docs.nvidia.com/brev/latest/"
30+
description: "CLI tool for managing workspaces provided by brev.nvidia.com"
3131
install: |
3232
bin.install "brev"
3333
generate_completions_from_executable("#{bin}/brev", "completion")

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020-2021 Brev.dev Inc.
1+
Copyright (c) 2020-2025 Brev.dev Inc.
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

pkg/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func NewBrevCommand() *cobra.Command { //nolint:funlen,gocognit,gocyclo // defin
133133
brev client for managing instances
134134
135135
Find more information at:
136-
https://brev.dev`,
136+
https://brev.nvidia.com`,
137137
PostRun: func(cmd *cobra.Command, args []string) {
138138
shouldWe := hello.ShouldWeRunOnboarding(noLoginCmdStore)
139139
if shouldWe {

pkg/cmd/runtasks/doc.md

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,2 @@
1-
##### Synopsis
2-
3-
```
4-
brev run-tasks -d
5-
```
6-
7-
##### Description
8-
9-
In order for brev to connect to workspaces, there needs to be background daemons
10-
running to manage some things on your local machines environment. Currently, the
11-
one that is being launched by run-tasks is an ssh config file configuration
12-
daemon that periodically udpates a ssh config file with connection information
13-
in order to access you workspaces.
14-
15-
This command has to be run at every boot, see [Configuring SSH Proxy Daemon at Boot](https://docs.brev.dev/howto/configure-ssh-proxy-daemon-at-boot/) to
16-
configure this command to be run at boot.
17-
18-
This command is set to be deprecated in favor of `brev configure`.
19-
20-
##### Examples
21-
22-
to run tasks in the background
23-
24-
```
25-
$ brev run-tasks -d
26-
PID File: /home/f/.brev/task_daemon.pid
27-
Log File: /home/f/.brev/task_daemon.log
28-
```
29-
30-
to run tasks in the foreground
31-
32-
```
33-
$ brev run-tasks
34-
2022/07/11 15:28:44 creating new ssh config
35-
2022/07/11 15:28:48 creating new ssh config
36-
37-
```
38-
39-
##### See Also
40-
41-
- [Configuring SSH Proxy Daemon at Boot](https://docs.brev.dev/howto/configure-ssh-proxy-daemon-at-boot/)
42-
-TODO brev configure docs
1+
##### run-tasks command deprecated
2+
`brev run-tasks` has been deprecated

pkg/cmd/start/start.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func NewCmdStart(t *terminal.Terminal, startStore StartStore, noLoginStartStore
7373
if gpu != "" {
7474
isValid := instancetypes.ValidateInstanceType(gpu)
7575
if !isValid {
76-
err := fmt.Errorf("invalid GPU instance type: %s, see https://brev.dev/docs/reference/gpu for a list of valid GPU instance types", gpu)
76+
err := fmt.Errorf("invalid GPU instance type: %s, more information can be found on https://docs.nvidia.com/brev/latest/quick-start.html#select-your-compute", gpu)
7777
return breverrors.WrapAndTrace(err)
7878
}
7979
}
@@ -103,13 +103,14 @@ func NewCmdStart(t *terminal.Terminal, startStore StartStore, noLoginStartStore
103103
cmd.Flags().BoolVarP(&detached, "detached", "d", false, "run the command in the background instead of blocking the shell")
104104
cmd.Flags().BoolVarP(&empty, "empty", "e", false, "create an empty workspace")
105105
cmd.Flags().StringVarP(&name, "name", "n", "", "name your workspace when creating a new one")
106-
cmd.Flags().StringVarP(&cpu, "cpu", "c", "", "CPU instance type. Defaults to 2x8 [2x8, 4x16, 8x32, 16x32]. See docs.brev.dev/cpu for details")
106+
// TODO: update doc links if re-adding cpu flag and support.
107+
// cmd.Flags().StringVarP(&cpu, "cpu", "c", "", "CPU instance type. Defaults to 2x8 [2x8, 4x16, 8x32, 16x32]. See docs for details")
107108
cmd.Flags().StringVarP(&setupScript, "setup-script", "s", "", "takes a raw gist url to an env setup script")
108109
cmd.Flags().StringVarP(&setupRepo, "setup-repo", "r", "", "repo that holds env setup script. you must pass in --setup-path if you use this argument")
109110
cmd.Flags().StringVarP(&setupPath, "setup-path", "p", "", "path to env setup script. If you include --setup-repo we will apply this argument to that repo")
110111
cmd.Flags().StringVarP(&org, "org", "o", "", "organization (will override active org if creating a workspace)")
111112
// GPU options
112-
cmd.Flags().StringVarP(&gpu, "gpu", "g", "n1-highmem-4:nvidia-tesla-t4:1", "GPU instance type. See https://brev.dev/docs/reference/gpu for details")
113+
cmd.Flags().StringVarP(&gpu, "gpu", "g", "n1-highmem-4:nvidia-tesla-t4:1", "GPU instance type. Refer to https://docs.nvidia.com/brev/latest/quick-start.html#select-your-compute for more information")
113114
err := cmd.RegisterFlagCompletionFunc("org", completions.GetOrgsNameCompletionHandler(noLoginStartStore, t))
114115
if err != nil {
115116
breverrors.GetDefaultErrorReporter().ReportError(breverrors.WrapAndTrace(err))

pkg/terminal/display.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func PromptSelectInput(pc PromptSelectContent) string {
3939
}
4040

4141
func DisplayBrevLogo(t *Terminal) { //nolint:funlen // logo
42-
t.Vprint("Welcome to brev.dev")
42+
t.Vprint("Welcome to NVIDIA Brev")
4343
t.Vprint("")
4444
t.Vprint(" ##@@@#.")
4545
t.Vprint(" #@@@@@@@@@@.")

0 commit comments

Comments
 (0)