-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
add packages #5
Comments
You could theoretically reuse the api endpoints which are already used by the forms and stuff defined in api_routes.py -> https://github.com/thilojaeggi/WinGetty/blob/v0.0.2/app/api_routes.py Just with form data. |
Thanks for sharing your work. Today we have pipelines for Chocolatey for Business to add/compare/update packages from public choco repo to private repo with approval for legit download URLs check. Need this for Winget :) |
Nice job! I was also looking for this fearure to implement in a release pipeline. I believe that the use of authentication (bearer token) needs to be implemented yet in order to send these post requests? We currently have it running as a kubernetes deployment with an unpriviliged image and implement whitelist IP only accessible for specific clients. Works great! |
For those who want to use a pipeline to add package, a workaround solution with curl: Authenticate and store temporary cookie: Post add package via api route: Cleanup: |
I wanted to +1 this and I think WinGetty might be in a good position to offer something that nothing else (that I know of) currently offers. It would be amazing if there was a way to either export/import a database/packages or, some way to trigger a database update based on the packages that were copied into the volume. The use-case for this would be the ability to generate a DB/repo on an internet connected system, and then import it into an air-gapped system in an easy way. This would be huge for offline updates of systems. |
Hi Thilo,
is it possible to add packages through the api or directly in the filesystem? Or only through the webinterface?
The text was updated successfully, but these errors were encountered: