Skip to content

Commit 7f8a288

Browse files
rename iterative.ai to dvc.ai in Studio domain (#5626)
Co-authored-by: Matt Seddon <[email protected]>
1 parent d467a51 commit 7f8a288

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Management]. For deeper learning, try our [free course]! [More resources].
8080

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

@@ -178,8 +178,8 @@ more information.
178178
https://marketplace.visualstudio.com/items?itemName=ms-python.python
179179
[studio.token]:
180180
https://dvc.org/doc/user-guide/project-structure/configuration#studio
181-
[dvc studio]: https://studio.iterative.ai
182-
[studio]: https://studio.iterative.ai
181+
[dvc studio]: https://studio.dvc.ai
182+
[studio]: https://studio.dvc.ai
183183
[workspace level]:
184184
https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings
185185
[python.envFile]:

extension/resources/walkthrough/more-resources.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
[blog]: https://dvc.org/blog
3535
[community]: https://dvc.org/community
3636
[dvc github repository]: https://github.com/iterative/dvc
37-
[dvc studio]: https://studio.iterative.ai/
37+
[dvc studio]: https://studio.dvc.ai/

extension/src/experiments/commands/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const promptToAddStudioToken = async () => {
6363
}
6464

6565
const convertUrlTextToLink = (stdout: string) => {
66-
const experimentAtRegex = /\sat\s+(https:\/\/studio\.iterative\.ai\/.*$)/
66+
const experimentAtRegex = /\sat\s+(https:\/\/studio\.dvc\.ai\/.*$)/
6767
const match = stdout.match(experimentAtRegex)
6868
if (!(match?.[0] && match?.[1])) {
6969
return stdout

extension/src/setup/webview/contract.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ export const DEFAULT_SECTION_COLLAPSED = {
4343

4444
export type SectionCollapsed = typeof DEFAULT_SECTION_COLLAPSED
4545

46-
export const DEFAULT_STUDIO_URL = 'https://studio.iterative.ai'
46+
export const DEFAULT_STUDIO_URL = 'https://studio.dvc.ai'

extension/src/test/suite/experiments/index.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ suite('Experiments Test Suite', () => {
770770
mockExpPush.callsFake(() => {
771771
resolve(undefined)
772772
return Promise.resolve(
773-
"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"
773+
"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"
774774
)
775775
})
776776
)
@@ -805,7 +805,7 @@ suite('Experiments Test Suite', () => {
805805
expect(mockReport).to.be.calledWithExactly({
806806
increment: 75,
807807
message:
808-
"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)"
808+
"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)"
809809
})
810810

811811
messageSpy.restore()
@@ -851,7 +851,7 @@ suite('Experiments Test Suite', () => {
851851

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

extension/src/test/suite/experiments/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const DEFAULT_EXPERIMENTS_OUTPUT = {
3636
}
3737

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

4141
export const buildExperiments = ({
4242
availableNbCommits = { main: 5 },

extension/src/test/suite/setup/index.test.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -885,9 +885,9 @@ suite('Setup Test Suite', () => {
885885
const mockUriHandlerDispose = stub()
886886
const mockStudioRes = {
887887
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
888-
token_uri: 'https://studio.iterative.ai/api/device-login/token',
888+
token_uri: 'https://studio.dvc.ai/api/device-login/token',
889889
user_code: '40DWMKNA',
890-
verification_uri: 'https://studio.iterative.ai/auth/device-login'
890+
verification_uri: 'https://studio.dvc.ai/auth/device-login'
891891
}
892892
const mockCallbackUrl = 'url-to-vscode'
893893

@@ -1013,9 +1013,9 @@ suite('Setup Test Suite', () => {
10131013
json: () =>
10141014
Promise.resolve({
10151015
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
1016-
token_uri: 'https://studio.iterative.ai/api/device-login/token',
1016+
token_uri: 'https://studio.dvc.ai/api/device-login/token',
10171017
user_code: '40DWMKNA',
1018-
verification_uri: 'https://studio.iterative.ai/auth/device-login'
1018+
verification_uri: 'https://studio.dvc.ai/auth/device-login'
10191019
})
10201020
} as Fetch.Response)
10211021
const openUrlEvent = new Promise(resolve =>
@@ -1071,9 +1071,9 @@ suite('Setup Test Suite', () => {
10711071
json: () =>
10721072
Promise.resolve({
10731073
device_code: 'Yi-NPd9ggvNUDBcam5bP8iivbtLhnqVgM_lSSbilqNw',
1074-
token_uri: 'https://studio.iterative.ai/api/device-login/token',
1074+
token_uri: 'https://studio.dvc.ai/api/device-login/token',
10751075
user_code: '40DWMKNA',
1076-
verification_uri: 'https://studio.iterative.ai/auth/device-login'
1076+
verification_uri: 'https://studio.dvc.ai/auth/device-login'
10771077
})
10781078
} as Fetch.Response)
10791079

0 commit comments

Comments
 (0)