Skip to content

submissions: drop scaffold placeholders from compilation_config - #267

Merged
Unisay merged 1 commit into
mainfrom
yura/metadata-placeholders
Oct 29, 2026
Merged

Unisay merged 1 commit into
mainfrom
yura/metadata-placeholders

Conversation

@Unisay

@Unisay Unisay commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

cape submission new replaced every <string> in the metadata template with the compiler name. As a result, 85 submissions record flags: ["Plinth"], ["Scalus"], ["Aiken"] or ["Plutarch"], and 88 record the compiler name as optimization_level. Neither value is a real compiler setting. This PR sets those flags to [] and removes those optimization_level fields. The submission guide now says that options set in source are covered by the pinned source, and no script reads either field.

The scaffold now fills only compiler.name and compiler.version, and starts with empty flags and no optimization_level. Before this change, compiler.version also received the compiler name.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR Preview Deployed

Preview URL: https://intersectmbo.github.io/UPLC-CAPE/pr-267/

The preview site is automatically updated on every push to this PR and will be removed when the PR is closed.

@Unisay Unisay self-assigned this Oct 29, 2026
@Unisay
Unisay marked this pull request as ready for review October 29, 2026 09:59
`cape submission new` replaced every `<string>` in the metadata template
with the compiler name, so 85 submissions record `flags: ["<Compiler>"]`
and 88 record `optimization_level: "<Compiler>"`. Neither is a real
setting. Set those flags to `[]` and remove those optimization levels;
compiler options set in source are covered by the pinned source.

Fix the scaffold so new submissions start with empty flags, no
optimization level, and the compiler version in `compiler.version`
(it used to get the compiler name too).
@Unisay
Unisay force-pushed the yura/metadata-placeholders branch from e89af6c to 02a5de1 Compare October 29, 2026 09:59
@Unisay
Unisay merged commit b0b8c46 into main Oct 29, 2026
9 of 10 checks passed
@Unisay
Unisay deleted the yura/metadata-placeholders branch October 29, 2026 10:20
github-actions Bot added a commit that referenced this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant