Private github repo support? #3151
Replies: 9 comments 10 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.
-
|
Hi @denelon . Are REST source requirements documented somewhere (all required endpoints, requests and responses)? |
Beta Was this translation helpful? Give feedback.
-
|
I know when I have tried to chase this one it really felt like the easiest option was actually to do the sqlite source. One of those projects I pick up and put down as i trip over "internal" sources. Running a full REST stack just felt heavy so it became sort of a game to see what i could pull out of the sqlite db without causing winget to see the source as corrupt. So I could use a repo and a CI job to assemble my own source db that i could publish as static content. Our custom manifest list is a rounding error of the community registry so some of the methods like pathparts to reduce duplication and db bloat are less critical. Still hoping we will get a source better aligned with static content at a reasonable scale at some point. Repo or a bucket point it at a manifest in some format and call it a day. Regrettably my cpp skills are long gone so doing a PR is a bit beyond my skills. |
Beta Was this translation helpful? Give feedback.
-
|
You could try https://winget-repo.io/ . It's a private and open-sourceWinget repository with some unique features. It can be deployed locally in your company or as cloud. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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