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

Creating a project from a .git URL appends -git to the name #349

Closed
Tpuljak opened this issue Apr 4, 2024 · 9 comments
Closed

Creating a project from a .git URL appends -git to the name #349

Tpuljak opened this issue Apr 4, 2024 · 9 comments
Labels
💎 Bounty bug Something isn't working good first issue Good for newcomers 💰 Rewarded

Comments

@Tpuljak
Copy link
Member

Tpuljak commented Apr 4, 2024

Describe the bug

After using a .git url (e.g. https://github.com/daytonaio/daytona.git), the project has a -git suffix.

To Reproduce
Steps to reproduce the behavior:

  1. Start the server
  2. Run daytona create test -r https://github.com/daytonaio/daytona.git -t local
  3. Observe that the project has a -git suffix.

Expected behavior

The project should not have the -git suffix. In the example above, it should be called daytona.

Screenshots
Screenshot 2024-04-04 at 16 09 10

Desktop (please complete the following information):

  • OS: Any
  • Daytona Version: v0.9.0

Additional context

This should be fixed in pkg/server/workspaceservice/create.go.

@Tpuljak Tpuljak added the bug Something isn't working label Apr 4, 2024
@Tpuljak
Copy link
Member Author

Tpuljak commented Apr 4, 2024

/bounty $10

Copy link

algora-pbc bot commented Apr 4, 2024

💎 $10 bounty created by daytonaio
🙋 If you start working on this, comment /attempt #349 along with your implementation plan
👉 To claim this bounty, submit a pull request that includes the text /claim #349 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to daytonaio/daytona!

👉 Add a bountyShare on socials

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Attempt Started (GMT+0) Solution
🔴 @webbdays Apr 4, 2024, 4:23:52 PM WIP
🟢 @Ritish134 Apr 4, 2024, 4:32:11 PM WIP
🟢 @tarunrajput Apr 4, 2024, 5:08:26 PM #352

@webbdays
Copy link

webbdays commented Apr 4, 2024

/attempt

Algora profile Completed bounties Tech Active attempts Options
@webbdays 1 bounty from 1 project
Python, Rust,
HTML & more
Cancel attempt

Ritish134 added a commit to Ritish134/daytona that referenced this issue Apr 4, 2024
@Ritish134
Copy link

Ritish134 commented Apr 4, 2024

/attempt #349

@webbdays
Copy link

webbdays commented Apr 4, 2024

Good that you made a PR. You can take over the issue now.
Next time please checkout if someone is working on it. Thank you very much.

@webbdays
Copy link

webbdays commented Apr 4, 2024

I will get back if issue still exists.

@tarunrajput
Copy link
Contributor

tarunrajput commented Apr 4, 2024

/attempt #349

Algora profile Completed bounties Tech Active attempts Options
@tarunrajput    5 daytonaio bounties
+ 4 bounties from 4 projects
Java, TypeScript,
JavaScript
Cancel attempt

Copy link

algora-pbc bot commented Apr 4, 2024

💡 @tarunrajput submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Copy link

algora-pbc bot commented Apr 5, 2024

🎉🎈 @tarunrajput has been awarded $10! 🎈🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty bug Something isn't working good first issue Good for newcomers 💰 Rewarded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants