New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24593 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

yajl : implements github livecheck

Reported by: hashar@… Owned by: benjaminlyu@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: yajl

Description

The portfile for yajl 1.0.6 can not be used to livecheck the package. Patch below implements a regex on its github homepage.

Attachments

yajl_fix_livecheck.diff (380 bytes) - added by hashar@… 3 years ago.

Change History

Changed 3 years ago by hashar@…

comment:1 Changed 3 years ago by hashar@…

Below is the end of output for 'port -d livecheck yajl

DEBUG: Port (livecheck) version is 1.0.6
DEBUG: Fetching http://github.com/lloyd/yajl
DEBUG: The regex is ""/lloyd/yajl/tree/(.*)">\1"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.9">1.0.9", extracted "1.0.9"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.8">1.0.8", extracted "1.0.8"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.7">1.0.7", extracted "1.0.7"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.6">1.0.6", extracted "1.0.6"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.5">1.0.5", extracted "1.0.5"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.4">1.0.4", extracted "1.0.4"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.3">1.0.3", extracted "1.0.3"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.2">1.0.2", extracted "1.0.2"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.1">1.0.1", extracted "1.0.1"
DEBUG: The regex matched ""/lloyd/yajl/tree/1.0.0">1.0.0", extracted "1.0.0"
DEBUG: The regex matched ""/lloyd/yajl/tree/0.4.0">0.4.0", extracted "0.4.0"
yajl seems to have been updated (port version: 1.0.6, new version: 1.0.9)

comment:2 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to benjaminlyu@…
  • Keywords haspatch added

Please remember to cc the maintainer.

comment:3 Changed 3 years ago by benjaminlyu@…

I patched it in and tested it in my local portfile repository. It looks good.

Also, I need to update this port to 1.0.9. :)

comment:4 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

Applied in r66774.

Note: See TracTickets for help on using tickets.