Skip to content

Deprecate local repos - #2984

Merged
un-def merged 3 commits into
masterfrom
issue_2974_deprecate_local_repos
Aug 14, 2025
Merged

un-def merged 3 commits into
masterfrom
issue_2974_deprecate_local_repos

Conversation

@un-def

@un-def un-def commented Aug 13, 2025 •

Copy link
Copy Markdown
Collaborator
  • --local is deprecated
  • --ssh-identity in dstack init is deprecated and ignored
  • Repo is no longer required by default, but a warning is emitted to inform users about this change
  • A new transitional dstack init --remove subcommand removes a local repo from ~/.dstack/config.yml

asciicast

Closes: #2974

@peterschmidt85

Copy link
Copy Markdown
Contributor

Sorry, just to confirm, will it be possible to specify ssh-identity via dstack apply?

@un-def

un-def commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator Author

Sorry, just to confirm, will it be possible to specify ssh-identity via dstack apply?

Sure

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Repos docs should be rewritten to clarify that Repos are always git repos and contrast them with files. Currently, it's like the docs keep local repos in mind. Can be a separate PR.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The repo docs should definitely be revamped, I only removed/updated (now) incorrect information, docs update was an afterthought. I think we can improve the docs later, when #2851 is implemented.

Comment thread docs/docs/reference/cli/dstack/apply.md Outdated
Comment thread docs/docs/reference/cli/dstack/attach.md Outdated
@un-def
un-def merged commit e44751e into master Aug 14, 2025
@un-def
un-def deleted the issue_2974_deprecate_local_repos branch August 14, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate local repos

3 participants