Private github repo support? #3151
Replies: 6 comments 5 replies
-
The Winget-Pkgs repository has an azure pipeline that compiles the manifests into a Pre-Indexed package. It's the msix package that is created which is used as the source. The other option would be to set up a Rest API to serve the manifest contents. I'm not familiar with how to set up either a Pre-Indexed source or a Rest source, but perhaps microsoft/winget-cli-restsourcei has documentation that may help |
Beta Was this translation helpful? Give feedback.
-
You can try https://winget.Pro. It's a private repository implementation that can be hosted for you, or deployed in your own infrastructure via its open source version. (I'm one of the authors of this service.) |
Beta Was this translation helpful? Give feedback.
-
@casperthulebd you can see https://github.com/PckgrBot/winget-pkgs-private. It uses Vercel for APIs and https://neon.tech for storing metadata about packages. I'll add documentation soon, but until then I'll be happy to to help you set it up. |
Beta Was this translation helpful? Give feedback.
-
@denelon what's the best method / docs using winget with either
This is becoming a FAQ from customers, which do not only rely on Intune but want to embrace the upcoming Windows Server integration. Looking for a solution on this and what I have found is anything but straight forward. Noted winget.pro and other paid solution, but LOB I would need are still missing and they want to host it on their own without additional licensing costs. |
Beta Was this translation helpful? Give feedback.
-
@denelon what's the best method / docs using winget with either
This is becoming a FAQ from customers, which do not only rely on Intune but want to embrace the upcoming Windows Server integration. Looking for a solution on this and what I have found is anything but straight forward. I noticed winget.pro but LOB I would need are still missing. Wouldn't be too bad if there was a "one-click" deployment of such a private repository available from Azure Marketplace that puts everything together via bicep or sorts. remote related #619 |
Beta Was this translation helpful? Give feedback.
-
@mherrmann thanks for the offer. How could we host LOB apps like Swyx MSI, Acrobat + MST, Infor MSI + MST, etc. |
Beta Was this translation helpful? Give feedback.
-
I would like to create a private github repository that hosts some manifests.
According to https://www.reddit.com/r/sysadmin/comments/if6it1/winget_local_repo/ it should be possible.
I have tried to create a private repository and copied the eclipse adoptium jdk 8 manifests file in there, similar to the structure here:
https://github.com/microsoft/winget-pkgs/tree/master/manifests
The question is now - how do I add this repository to winget?
I have tried
Winget source add --name test https://github.com/<OWNER>/<REPO>/tree/master/manifests --header "Authorization: token <TOKEN>"
However, the response is:
I am guessing that either I am missing something completely, such as:
I need to do something similar to https://github.com/cloudflightio/winget-pkgs/tree/main/.github/workflows
or the URL is wrong.
Beta Was this translation helpful? Give feedback.
All reactions