website: add cn1playground version updates and source-based CN1 access registry generation#4658
Merged
shai-almog merged 6 commits intomasterfrom Mar 30, 2026
Merged
Conversation
Cloudflare Preview
|
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.
Motivation
cn1.versionhandling as other site artifacts and allow opting into bootstrapped local CN1 snapshots.Description
Website CN1 Version PRand update the job name, commit message, PR title, labels, and paths to includescripts/cn1playgroundin/.github/workflows/initializr-cn1-version-pr.yml.scripts/cn1playground/update-cn1-version.shwhich determines a CN1 plugin version from an optional tag or Maven Central metadata and updatesscripts/cn1playground/pom.xml.scripts/cn1playground/pom.xmlto set<cn1.plugin.version>${cn1.version}</cn1.plugin.version>, provide a default<cn1.version>7.0.230</cn1.version>, and add acn1-local-workspaceprofile that activates8.0-SNAPSHOTwhen-Dcn1.localWorkspace=true.scripts/cn1playground/tools/generate-cn1-access-registry.shto resolve and unpack CN1 source jars for the configuredcn1.versionand invoke the generator withCN1_SOURCE_ROOTS.GenerateCN1AccessRegistry.javato accept configured CN1 source roots from theCN1_SOURCE_ROOTSenvironment variable and fall back to locating a local CN1 root if none are provided.scripts/cn1playground/tools/README.mdto document the new source-jar based registry generation behavior.scripts/website/build.shto detectWEBSITE_CN1_VERSIONfromscripts/cn1playground/pom.xml, callscripts/cn1playground/update-cn1-version.shwhen building the playground, and pass thecn1.localWorkspaceflag into the playground Maven invocation when bootstrapping snapshots.Testing
Codex Task