-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
third-party repository support #226
Comments
This is already possible as per https://github.com/microsoft/winget-cli#sources:
PS > winget source list
PS > winget source add --help You can also simply throw some manifests on a fileshare and install them via: PS > winget install --manifest \\fileserver\share\packagerepo\manifests\mycompany\myapp\1.0.0.yaml See https://aka.ms/winget-command-source for details. |
@megamorf but how do you make your own "source" server ? |
@AntoineTurmel As of right now the only available source type is winget-cli/src/AppInstallerRepositoryCore/Microsoft/PreIndexedPackageSourceFactory.h Lines 11 to 18 in e997f3e
Repo updates are done via Azure DevOps pipelines which don't seem to be included in the repos so no luck there. The only workaround for now is to have manifests and setups on a share and reference those paths in the manifest files. Then, as mentioned before, provide the |
#118 May be the most simple way to achieve third-party repository support. |
Excellent contribution. Thank you for going out of your way to make this information available to those searching for some sort of solution. |
It is possible to add additional repositories using For help you can execute Support for REST API based repositories is nearly complete in the client as of v0.3. We will be providing a reference implementation of a REST API based source along with our v1.0 release. |
Updating this issue to help users find the reference implementation at |
For people looking for a private repository, we offer this now at https://winget.pro. It's open source. You can either have us host it for you, or set it up on your own infrastructure. |
Since this service isn't part of Microsoft, I don't think that you should use the winget name like that |
I definitely agree with this…
|
Not sure if it's ok to also advertise here but seeing since Winget.pro did it, I've created WinGetty over here: https://github.com/thilojaeggi/WinGetty which does everything Winget.pro does and more with the addition of it being open source and self-host able. |
Description of the new feature/enhancement
the current package managers for windows such as
Scoop
allows you to create your own repository, it would be awesome if you can add your own repo to allow users to customize the repo to their needs.Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: