-
Notifications
You must be signed in to change notification settings - Fork 324
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
Mini-server for Third-Party Library Repositories #1771
Comments
@MichaelMauderer @iamrecursion I'd like to discuss whether we should HTTPS or HTTP for the custom repository be default. Pros for HTTP:
|
We also need to decide how these custom repositories shall be used in projects. Should the edition configuration (#1769) include any external repositories that should be used? If yes, what should be the precedence in case that a single library is available in multiple repositories? Or alternatively maybe instead of specifying a repository for the whole edition, maybe specific library entries in the custom edition could include a full-repository URL instead of just a name indicating that they should be sourced from another repo? With that it would be great to also support URLs on the local filesystem - that could simplify development. Or maybe we should support both? |
I believe when talking with @wdanilo we were thinking of having an additional |
What do you mean by And since the edition is the only mapping of libraries to versions and our editions will only list what is available in our repository, just providing custom repositories isn't going to be enough - it will also require specifying the custom provided libraries. In my opinion it would just make most sense to specify a custom edition and such an edition could specify these additional repositories in its configuration. I don't see how it could work to configure repositories in the project configuration itself. |
Hm. I was thinking that the custom repositories also has a configuration for editions. So, it contains the "edition" file and that again contains this repositories list of libraries for this edition. If a project looks for a library it will already need to know which edition the project is in, so before we know the version of the library we look for, we look for "lib foo / edition bar". Which exact version that is, will be resolved by the repositories' edition file. I realize that this means that a repository could "patch" some libraries by overriding another repositories libraries, but this could actually be a useful feature. |
After discussion we settled for:
|
Summary
While we will be using some cloud infrastructure for hosting our library repositories, we want also a way for users to create their own third-party repositories.
For now this can be a very simple webserver which just serves files from a directory.
This task does not include the service responsible for uploading - this will be a separate task.
Value
Specification
Acceptance Criteria & Test Cases
The text was updated successfully, but these errors were encountered: