Opened 13 years ago

Closed 13 years ago

#27296 closed defect (fixed)

perl5 group: new livecheck.regex pattern (recent CPAN changes break existing pattern)

Reported by: larry+macports@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: ghosthound
Port:

Description

For reasons as yet unknown to me, CPAN has changed their HTML so that many plaintext strings are now encoded using numeric character entities. This breaks the existing livecheck.regex pattern because the module name it looks for is now in encoded form.

Here is a patch that uses some new(?) JavaScript code in each page as the target for the regex pattern. Since it's a simpler pattern, this may be preferable even in the case where CPAN reverts back to the unencoded strings.

Attachments (1)

perl5-group-livecheck-regex.patch (826 bytes) - added by larry+macports@… 13 years ago.
New livecheck.regex for perl5 group

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by larry+macports@…

New livecheck.regex for perl5 group

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: ricci@… added
Component: baseports

comment:2 Changed 13 years ago by larry+macports@…

Please be aware that livecheck is broken for roughly 800 ports until this problem is fixed.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thank you, committed in r73611.

Note: See TracTickets for help on using tickets.