Generate single JSON file per channel - #334
Merged
alexarchambault merged 2 commits intoSep 3, 2026
Merged
Conversation
Aggregate the app descriptors of each channel into listings/apps.json and listings/apps-contrib.json in the repository, with a Scala CLI script (.github/scripts/generate-channels.sc). Those files are meant to be consumed by coursier as URL-based channels, in place of the io.get-coursier:apps and io.get-coursier:apps-contrib JARs published on Maven Central. A new update-channels workflow regenerates and commits them upon pushes to main, and the build workflow runs the script on PRs to validate the app descriptors. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Sep 2, 2026
Prevent pull requests from mixing generated listings/ changes with other file changes. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
alexarchambault
force-pushed
the
no-maven-based-apps
branch
from
September 3, 2026 12:07
7165a3e to
e835527
Compare
alexarchambault
marked this pull request as ready for review
September 3, 2026 12:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the new Maven Central publishing limits, I'd prefer to switch to a mutable-JSON-on-GitHub model for the apps, rather than a static-JARs-on-Maven-Central one.
This PR prepares that by generating those JSON files automatically on the CI, and opening PRs that maintainers need to merge later on. That's basically the same model as coursier/jvm-index, where coursier consumes its JSON index from GitHub, and where I also disabled automated publishing on Maven Central (for the same reason as here).