winget.pro icon indicating copy to clipboard operation
winget.pro copied to clipboard

Package manifest

Open andreiv3103 opened this issue 1 year ago • 3 comments

Hello!

This is not really an issue but I got a task to add manifests to Winget.Pro programmatically. How can I do that?

Thank you.

andreiv3103 avatar Feb 05 '24 11:02 andreiv3103

Do you happen to have these manifests in a git repository?

mherrmann avatar Feb 05 '24 11:02 mherrmann

Hello!

Yes, they will be in GIT.

On Mon, Feb 5, 2024 at 1:44 PM Michael Herrmann @.***> wrote:

Do you happen to have these manifests in a git repository?

— Reply to this email directly, view it on GitHub https://github.com/omaha-consulting/winget.pro/issues/9#issuecomment-1926795949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU52ODFXTO5RINMFX4CKS3YSDA2FAVCNFSM6AAAAABCZ7KJNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWG44TKOJUHE . You are receiving this because you authored the thread.Message ID: @.***>

--


AndreiV

andreiv3103 avatar Feb 05 '24 11:02 andreiv3103

We recently implemented this for another customer in the hosted option of winget.Pro. They upload their manifests to a git repository, winget.Pro connects to this repository, and automatically makes the apps in it accessible through winget. If you'd like to use this as well, please sign up for the hosted option on https://winget.pro/start and send us an email to support at winget dot pro with the address of your git repository.

mherrmann avatar Feb 05 '24 11:02 mherrmann

Another response to your question is that winget.Pro has a REST API. When you log into the server via /admin and then manually open /api/v1/ in the browser, then you will find an explorable view of the REST API. It is great for programmatic creation of manifests.

mherrmann avatar Jun 27 '24 13:06 mherrmann