Problems with github & livecheck

Mojca Miklavec mojca at macports.org
Thu Oct 29 09:17:48 PDT 2015


On Thu, Oct 29, 2015 at 4:55 PM, Jeremy Lavergne wrote:
> On Thu, October 29, 2015 11:47, Mojca Miklavec wrote:
>>
>> I'm getting some weird results with the livecheck with respect to gate:
>>
>>> port info gate
>> gate @7.1_4 (science) ...
>>
>>> port -v livecheck gate
>> gate seems to have been updated (port version: e657ed0c, new version:
>> v7.0)
>>
>> This is the relevant part of the code that apparently confuses the
>> livecheck:
>>
>>
>> PortGroup           github 1.0
>> set git_sha         e657ed0c github.setup        OpenGATE Gate ${git_sha}
>> name                gate version             7.1 revision            4
>>
>> Does anyone have any idea how to overcome this?
>
> Livecheck likely also has a version variable, separate from the
> non-livecheck version.
>
> github.setup probably sets both version variables, so I'd recommend
> reading the github.setup proc in dports/_resources/

Ah, thank you. It makes sense now.

I can add
    livecheck.version   ${version}
and then it at least becomes more human-readable (even if not really useful).

Mojca


More information about the macports-dev mailing list