Skip to content

Pod simple 3.45 sync 20230802 #21326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 4, 2023

Conversation

jkeenan
Copy link
Contributor

@jkeenan jkeenan commented Aug 4, 2023

This branch completes the synching into blead of Pod-Simple-3.45. This synching had to be reverted because of a side effect failure in ext/Pod-Html/t/*.t. (It's admittedly kludgy -- but so is most of Pod-Html.)

Fixes #21311

jkeenan added 3 commits August 2, 2023 19:37
Synch Pod-Simple-3.45 into blead, without (yet) correcting the two test
failures reported in Perl#21311.

There are test failures in t/porting/cmp_version.t and
ext/Pod-Html/t/anchorify.t.
Solely for the purpose of keeping t/porting/cmp_version.t happy.
I pulled code from Pod::Simple::XHMTL::idify() into anchorify().

Increment $VERSION to 1.35 to keep t/porting/cmp_version.t happy.
@jkeenan jkeenan added ext/Pod-Html issues in the blead-upstream Pod-Html distribution squash-before-merge Author must squash the commits down before merging to blead labels Aug 4, 2023
@jkeenan jkeenan requested review from haarg and khwilliamson August 4, 2023 01:54
Copy link
Contributor

@haarg haarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reviewed this again, and realized that the anchorify function only has exactly one user, the installhtml script, which uses it to generate file names for the --splithead option. The --splithead option is only used for a single file: perlipc.pod. It is not used by anything on CPAN.

Since it is generating file names, not internal anchors, I think it makes sense for it to have its own implementation, not being tied directly to what Pod::Simple::XHTML uses for anchors.

This looks like the correct solution to me.

@jkeenan jkeenan merged commit 511332a into Perl:blead Aug 4, 2023
@jkeenan
Copy link
Contributor Author

jkeenan commented Aug 4, 2023

Merged, but unfortunately I forgot to squash commits before I did the merge. (Those GH buttons are sometimes too easy and too tempting.)

@jkeenan jkeenan deleted the pod-simple-3.45-sync-20230802 branch August 4, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext/Pod-Html issues in the blead-upstream Pod-Html distribution squash-before-merge Author must squash the commits down before merging to blead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pod::Simple 3.45 breaks Pod::Html test suite
3 participants