-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Support Gitea: Codeberg as repository for registering dub package. #554
Comments
since gitea support is implemented right now, this should be easy to add - however we don't actually have a way to use the same repository provider multiple times from the config yet. I think it shouldn't be too hard to add though + it should also support short-form host versions |
Will you add just Codeberg or any Gitea provider? I self-host Gitea on https://git.samerion.com |
I think we should not allow repos from arbitrary forges. First of all, their internet connections may vary (in speed and reliability) – compared to well-known forges which tend to have pretty good peering. |
I think we should whitelist hosts on a by-request basis with a brief review process. An unreliable connection is not the end of the world—in fact DUB is already so slow that I doubt most small or self-hosted forges would be any slower; and hypothetical attackers are not likely to even know about the process in the first place. This would make it much more accessible for people to self-host packages, which is important because people shouldn’t be forced to host their code (and have an account) on a commercial platform. |
On the front, I’d suggest to decentralize the registry too. "dependencies": {
"vibe-d": "~>0.10",
"code.dlang.org/mysql-native": "~>3.2",
"dub.example.org/example-lib-foo": "1.0.1"
} Compatibility and usability: Prior artThis isn’t new tech: OCI container management tools (e.g. Docker) already provide such a mechanism. In the case of Docker it defaults to |
Sounds great too. If Linux package managers can do it then why can’t we? |
@WebFreak001 has any progress been made on this? |
https://codeberg.org/
https://about.gitea.com/
The text was updated successfully, but these errors were encountered: