fix(uudoc): Correctly parse version string for documentation (#8600)#9115
fix(uudoc): Correctly parse version string for documentation (#8600)#9115mikenu-jp wants to merge 3 commits into
Conversation
|
GNU testsuite comparison: |
9936503 to
fd29275
Compare
fd29275 to
781b00c
Compare
|
GNU testsuite comparison: |
781b00c to
493ef2d
Compare
|
GNU testsuite comparison: |
493ef2d to
7d80855
Compare
|
GNU testsuite comparison: |
ace72ff to
02ffc6b
Compare
|
GNU testsuite comparison: |
bb7c8e6 to
6eb4583
Compare
|
GNU testsuite comparison: |
|
Hello Sylvestre, I've pushed the final updates after resolving the merge conflicts and all the cascading doc link errors (tail, split, csplit). This PR is now ready for your final review. All code-related issues on this branch are complete:
The only remaining failure is due to a CI Logic Issue:
I request you update the CI test logic to reflect the current clean output. Thank you very much for your patience and assistance! |
|
could you please fix the failing job? thanks |
|
Got it. I'm working on the CI fix and will push the update once it's tested. Thanks! |
|
GNU testsuite comparison: |
|
I've updated the CI logic in |
66f0195 to
3c74b13
Compare
|
GNU testsuite comparison: |
…8600) Fixes uutils#8600 The version parsing logic in `src/bin/uudoc.rs` was not fully accounting for the version string format generated by `clap`, which includes the application metadata (e.g., `b2sum (uutils coreutils) 0.3.0`). This change modifies the version extraction logic to strip the application metadata and reliably retain only the clean version number string, ensuring that documentation links are correctly generated as `v0.3.0`.
The version format in ls.md has changed from plain text to HTML tags. This update ensures the CI correctly identifies the version number. Fixes uutils#8600
Restore the 'v' prefix on the rendered version div (v0.5.0), so the output matches the documented format. Assert the exact <div class="version">v<ver></div> string in the documentation workflow instead of a loose version substring, so a malformed version string is caught again. Drop the stale panic doc and the unrelated tail doc-comment tweak.
3c74b13 to
8d8522a
Compare
Fixes #8600
The version parsing logic in
src/bin/uudoc.rswas not fully accounting for the version string format generated byclap, which includes the application metadata (e.g.,b2sum (uutils coreutils) 0.3.0).This change modifies the version extraction logic to strip the application metadata and reliably retain only the clean version number string, ensuring that documentation links are correctly generated as
v0.3.0.