Skip to content
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

Create from local git repository #1286

Open
Tpuljak opened this issue Oct 24, 2024 · 1 comment
Open

Create from local git repository #1286

Tpuljak opened this issue Oct 24, 2024 · 1 comment
Labels
Discussion Needs consensus enhancement New feature or request

Comments

@Tpuljak
Copy link
Member

Tpuljak commented Oct 24, 2024

Is your feature request related to a problem? Please describe.
Users might already have cloned repositories that they want to use with Daytona, but, currently, Daytona requires a git url and always clones the repo from scratch.

Describe the solution you'd like
We should explore the possibility of using user's local git repositories to create workspaces.
For example, daytona create . would create a workspace from the repo the user is currently in, configure it and allow the user to open it with daytona code.
This feature would make Daytona more flexible to use and especially useful for users with large repos for which the clone operation might take a while.

Additional context
Before implementing the feature, we should discuss the approach here.

@Tpuljak Tpuljak added enhancement New feature or request Discussion Needs consensus labels Oct 24, 2024
@Tpuljak Tpuljak added this to Roadmap Oct 24, 2024
@Tpuljak Tpuljak moved this to Todo in Roadmap Oct 24, 2024
@kevbook
Copy link

kevbook commented Nov 5, 2024

This is exactly our use case, our data engineering and ML repos typically contain other repos -- submodules and sparse checkouts for interface files, common config files, etc. Sometimes we can just use local devcontainer to work on a project, but some things require a bigger machine, so we can spin up cloud workspace.

https://github.com/loft-sh/devpod is similar that allows us to use cloud compute using local repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Needs consensus enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants