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

Suggestion to Add Support for Gitee in Git Provider or More Customization Options #1341

Open
TS35 opened this issue Nov 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@TS35
Copy link

TS35 commented Nov 15, 2024

Hello, could you add support for Gitee in the git-providers configuration for Daytona? Alternatively, it would be great if future versions of Daytona could include more customizable options for git-provider, similar to how the Server in Daytona allows for some customization through modifications to the config.json file.

@TS35 TS35 added the enhancement New feature or request label Nov 15, 2024
@Tpuljak
Copy link
Member

Tpuljak commented Nov 15, 2024

Hi @TS35,

We're definitely committed to adding support for any available git providers.

If you're up for it, you can implement it through a PR yourself. You can check implementations for existing providers here.

Alternatively, it would be great if future versions of Daytona could include more customizable options for git-provider, similar to how the Server in Daytona allows for some customization through modifications to the config.json file.

What do you mean by this? Are there some options that are missing from daytona git-provider add?

@TS35
Copy link
Author

TS35 commented Nov 15, 2024

Hi @TS35,

We're definitely committed to adding support for any available git providers.

If you're up for it, you can implement it through a PR yourself. You can check implementations for existing providers here.

Alternatively, it would be great if future versions of Daytona could include more customizable options for git-provider, similar to how the Server in Daytona allows for some customization through modifications to the config.json file.

What do you mean by this? Are there some options that are missing from daytona git-provider add?

Thank you for your response. What I meant is that when I tried to use Gitee in Daytona, I selected GitLab Self-managed in the git-provider options. Daytona then prompted me to enter the Self-managed API URL, and I noticed that the provided example was http://gitlab-host/api/v4/, while the API URL provided by Gitee is https://gitee.com/api/v5/. Therefore, I wondered if it would be possible to support Gitee in Daytona through some custom settings. However, I understand that this may not be as simple as the Server in Daytona, where users can achieve it just by making some straightforward changes to the config.json, right? This would likely involve modifying Daytona's source code.

@Tpuljak
Copy link
Member

Tpuljak commented Nov 15, 2024

This would likely involve modifying Daytona's source code.

That's true. We need to implement a new git provider (e.g. https://github.com/daytonaio/daytona/blob/main/pkg/gitprovider/azure-devops.go) for the Gitee API. You would then be able to select Gitee in the daytona git-provider add UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants