Skip to content

release: prepare mwrap-1.92.0 (archive without the non-ASCII path, index tool without a CN mirror, README links) - #14

Merged
ZheFeng7110 merged 2 commits into
mcpplibs:mainfrom
ZheFeng7110:release/mwrap-1.92.0-prep
Dec 1, 2026
Merged

ZheFeng7110 merged 2 commits into
mcpplibs:mainfrom
ZheFeng7110:release/mwrap-1.92.0-prep

Conversation

@ZheFeng7110

Copy link
Copy Markdown
Collaborator

Preparation for the first mwrap release, mwrap-1.92.0. No wrapper source, generated file or vendored byte changes.

Changes

  • Release archive: .gitattributes leaves upstream/boost/libs/wave/test/testwave/testfiles/utf8-test-ßµ™∃/ out of git archive (export-ignore). It is the only non-ASCII path in the archive, and after installation on Windows its name is garbled (it looks like UTF-8 decoded as an OEM code page). Only Boost.Wave's own tests (t_9_025–t_9_028) refer to it. The vendored tree keeps the file; the archive goes from 41,587 to 41,586 files.
  • tools/ci/update_mcpp_index.py: --cn-url is optional. Without it the descriptor gets a plain string url, the form the index documents for a package without a CN mirror. Rerunning with --cn-url replaces the block.
  • README.zh.md, README.zh.hant.md: the navigation says [Upstream], as the mwrap README specification asks.

Verification

Real archive, cold MCPP_HOME, complete mcpp-index plus a candidate descriptor, archive served over local HTTP: mcpp new, build --strict and run of the unmodified default template, then a byte comparison of every installed file with the archive.

Host mcpp Archive of Result
Windows x86_64, llvm@22.1.8, LongPathsEnabled 0 and 1 2026.11.27.1, 2026.11.23.1 this branch pass, 0 missing, 0 differing
Linux x86_64, gcc@16.1.0 2026.11.27.1, 2026.11.23.1 daca032 pass, 0 missing, 0 differing
  • Windows runs, from a temporary workflow in the fork that is not part of this PR: before the archive fix (one file missing under its name; the template still built and ran), after.
  • The longest installed path on Windows was 279 characters in the default home and installed with LongPathsEnabled 0 as well. A deeper custom MCPP_HOME was not tested.
  • Linux, gcc, mcpp 2026.11.27.1: mcpp pack output runs after relocation, and the six runtime.deploy notices match their sources by SHA-256.
  • update_mcpp_index.py: checked by hand for insertion without a mirror, idempotence, replacement with a mirror and refusal of a wrong CN URL; no unit test is added.
  • check_mwrap_release.py passes on the final commit; check_docs.py passed on the first commit's content (the second only touches .gitattributes).

Not covered: archive installation on macOS, Linux arm64 and Linux LLVM, the GitHub download itself, and the git-dep example, which is skipped until the tag exists.

@ZheFeng7110
ZheFeng7110 merged commit 42fd885 into mcpplibs:main Dec 1, 2026
20 checks passed
@ZheFeng7110
ZheFeng7110 deleted the release/mwrap-1.92.0-prep branch December 1, 2026 10:27
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