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

fix: multi-project create not working #578

Merged
merged 1 commit into from
May 20, 2024

Conversation

tarunrajput
Copy link
Contributor

@tarunrajput tarunrajput commented May 17, 2024

Description

fix --multi-project create not working

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

Related Issue(s)

Closes #577
/claim #577

Copy link
Member

@Tpuljak Tpuljak left a comment

Choose a reason for hiding this comment

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

Nice catch!

Copy link
Member

@Tpuljak Tpuljak left a comment

Choose a reason for hiding this comment

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

Approved before, but I found an issue.

When you use daytona create --multi-project while having a git provider, the second repo (and all after that) are ignored. That's also what the linter is throwing.

The if-else statement was there to ensure this. If the user does not provide the repo through the TUI (the user selects the manual input) then you need to show them the manual url input form, otherwise, just the "Add more" switch.

Screenshot 2024-05-17 at 16 31 33

My screenshot was taken after I selected a repo from the TUI.

Signed-off-by: tarunrajput <tarunrajput1337@gmail.com>
@tarunrajput
Copy link
Contributor Author

@Tpuljak, it should be fixed now

Copy link
Member

@Tpuljak Tpuljak left a comment

Choose a reason for hiding this comment

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

Nice job! My mistake in the first place 😄

@idagelic idagelic merged commit c5dedcb into daytonaio:main May 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--multi-project doesn't seem to work
3 participants