-
Notifications
You must be signed in to change notification settings - Fork 10
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
Automate catalog generation #21
Comments
IMHO it's the extension that needs to create a PR there as part of it's release workflow, not the registry that will pull/check stuff |
I was thinking the registry release automation would add the line in pre-extensions.json (not populate all the content), then catalog PR check becomes the thing that verifies it exists and caches it. I'm fine for that part to go in each extension's release too, but then I think we should create something reusable / easy for extensions to pick up. |
Extension repository would have some issue creating a pull request as part of an automation process, as they would need first to checkout the containers/podman-desktop-catalog, create a fork, do the modification and then open the pull request. This could be solved by giving some tokens autorisation allowing them to create branch on this repository, but I would not be in favor of distributing some authorization token. Another solution would be to use the dependabot.
The dependabot would automatically open the pull request when new release of the extensions are released |
I don't see why you're talking about token autorisation. Anyone can create PR on this repository, people don't need to be able to push branches to this repository, only in their fork. Note that this is the process used by brew with thousands of packages. I think here we're mixing automation and contribution. Contribution is still done by PR. Automation is how to automatically create PR when there is a new version detected or how to smoothly create the PR |
The catalog was designed to support automation, but so far each entry is added by hand. With several extensions now contributed to the catalog and likely to be frequent releases for several of them, it makes sense to start automating some of the steps to make it easier to update and reduce likelihood of human error.
Quick thought at first step: have a pre-extensions.json, same as today but versions just has ghcr urls. A script or github action could automate pulling each extension down, extracting README/license/icon into the right location, and generating extensions.json.
The text was updated successfully, but these errors were encountered: