Skip to content

Deprecate local repos #2984

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 14, 2025
Merged

Deprecate local repos #2984

merged 3 commits into from
Aug 14, 2025

Conversation

un-def
Copy link
Collaborator

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

  • --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
Contributor

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

@un-def
Copy link
Collaborator Author

un-def commented Aug 14, 2025

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

Sure

Copy link
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
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.

un-def and others added 2 commits August 14, 2025 12:36
Co-authored-by: Victor Skvortsov <vds003@gmail.com>
Co-authored-by: Victor Skvortsov <vds003@gmail.com>
@un-def un-def merged commit e44751e into master Aug 14, 2025
26 checks passed
@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