Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rename iterative.ai to dvc.ai in Studio domain #5626

Merged
merged 2 commits into from
Jul 16, 2024
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Management]. For deeper learning, try our [free course]! [More resources].

[experiments]: https://dvc.org/doc/start/experiments
[data management]: https://dvc.org/doc/start/data-management
[free course]: https://learn.iterative.ai/
[free course]: https://learn.dvc.ai/
[more resources]:
https://github.com/iterative/vscode-dvc/blob/main/extension/resources/walkthrough/more-resources.md

Expand Down Expand Up @@ -178,8 +178,8 @@ more information.
https://marketplace.visualstudio.com/items?itemName=ms-python.python
[studio.token]:
https://dvc.org/doc/user-guide/project-structure/configuration#studio
[dvc studio]: https://studio.iterative.ai
[studio]: https://studio.iterative.ai
[dvc studio]: https://studio.dvc.ai
[studio]: https://studio.dvc.ai
[workspace level]:
https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings
[python.envFile]:
Expand Down
2 changes: 1 addition & 1 deletion extension/resources/walkthrough/more-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
[blog]: https://dvc.org/blog
[community]: https://dvc.org/community
[dvc github repository]: https://github.com/iterative/dvc
[dvc studio]: https://studio.iterative.ai/
[dvc studio]: https://studio.dvc.ai/
2 changes: 1 addition & 1 deletion extension/src/experiments/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const promptToAddStudioToken = async () => {
}

const convertUrlTextToLink = (stdout: string) => {
const experimentAtRegex = /\sat\s+(https:\/\/studio\.iterative\.ai\/.*$)/
const experimentAtRegex = /\sat\s+(https:\/\/studio\.dvc\.ai\/.*$)/
const match = stdout.match(experimentAtRegex)
if (!(match?.[0] && match?.[1])) {
return stdout
Expand Down
2 changes: 1 addition & 1 deletion extension/src/setup/webview/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ export const DEFAULT_SECTION_COLLAPSED = {

export type SectionCollapsed = typeof DEFAULT_SECTION_COLLAPSED

export const DEFAULT_STUDIO_URL = 'https://studio.iterative.ai'
export const DEFAULT_STUDIO_URL = 'https://studio.dvc.ai'
6 changes: 3 additions & 3 deletions extension/src/test/suite/experiments/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ suite('Experiments Test Suite', () => {
mockExpPush.callsFake(() => {
resolve(undefined)
return Promise.resolve(
"Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments at \nhttps://studio.iterative.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx"
"Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments at \nhttps://studio.dvc.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx"
)
})
)
Expand Down Expand Up @@ -805,7 +805,7 @@ suite('Experiments Test Suite', () => {
expect(mockReport).to.be.calledWithExactly({
increment: 75,
message:
"Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments in [DVC Studio](https://studio.iterative.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx)"
"Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments in [DVC Studio](https://studio.dvc.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx)"
})

messageSpy.restore()
Expand Down Expand Up @@ -851,7 +851,7 @@ suite('Experiments Test Suite', () => {

await writeToClipboardCalled
const link =
'https://studio.iterative.ai/user/olivaw/projects/vscode-dvc-demo-ynm6t3jxdx' +
'https://studio.dvc.ai/user/olivaw/projects/vscode-dvc-demo-ynm6t3jxdx' +
'?showOnlySelected=1' +
'&experimentReferences=4fb124aebddb2adf1545030907687fa9a4c80e70'

Expand Down
2 changes: 1 addition & 1 deletion extension/src/test/suite/experiments/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const DEFAULT_EXPERIMENTS_OUTPUT = {
}

export const mockBaseStudioUrl =
'https://studio.iterative.ai/user/olivaw/projects/vscode-dvc-demo-ynm6t3jxdx'
'https://studio.dvc.ai/user/olivaw/projects/vscode-dvc-demo-ynm6t3jxdx'

export const buildExperiments = ({
availableNbCommits = { main: 5 },
Expand Down
12 changes: 6 additions & 6 deletions extension/src/test/suite/setup/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ suite('Setup Test Suite', () => {
const mockUriHandlerDispose = stub()
const mockStudioRes = {
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
token_uri: 'https://studio.iterative.ai/api/device-login/token',
token_uri: 'https://studio.dvc.ai/api/device-login/token',
user_code: '40DWMKNA',
verification_uri: 'https://studio.iterative.ai/auth/device-login'
verification_uri: 'https://studio.dvc.ai/auth/device-login'
}
const mockCallbackUrl = 'url-to-vscode'

Expand Down Expand Up @@ -1013,9 +1013,9 @@ suite('Setup Test Suite', () => {
json: () =>
Promise.resolve({
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
token_uri: 'https://studio.iterative.ai/api/device-login/token',
token_uri: 'https://studio.dvc.ai/api/device-login/token',
user_code: '40DWMKNA',
verification_uri: 'https://studio.iterative.ai/auth/device-login'
verification_uri: 'https://studio.dvc.ai/auth/device-login'
})
} as Fetch.Response)
const openUrlEvent = new Promise(resolve =>
Expand Down Expand Up @@ -1071,9 +1071,9 @@ suite('Setup Test Suite', () => {
json: () =>
Promise.resolve({
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
token_uri: 'https://studio.iterative.ai/api/device-login/token',
token_uri: 'https://studio.dvc.ai/api/device-login/token',
user_code: '40DWMKNA',
verification_uri: 'https://studio.iterative.ai/auth/device-login'
verification_uri: 'https://studio.dvc.ai/auth/device-login'
})
} as Fetch.Response)

Expand Down
Loading