Opened 15 years ago

Closed 15 years ago

#24593 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by hashar@…

Attachment: yajl_fix_livecheck.diff added

comment:1 Changed 15 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 15 years ago by jmroot (Joshua Root)

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

Please remember to cc the maintainer.

comment:3 Changed 15 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 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Applied in r66774.

Note: See TracTickets for help on using tickets.