Weird lint behavior
Joshua Root
jmr at macports.org
Fri Sep 20 21:12:11 UTC 2024
That one does have 'platforms darwin' on line 63 of the Portfile.
Of course, lint is imperfect and I could see this check giving an
incorrect result if for example there's a shared platforms line setting
something other than 'darwin' for most subports, but one subport has to
change it back to 'darwin'. In general, lint warnings (as opposed to
lint errors) should not be assumed to mean that something is definitely
wrong. It's more like a suggestion to double check.
- Josh
On 21/9/2024 05:02, Mark E Anderson wrote:
> Yep, here is one from a recent PR: https://github.com/macports/macports-
> ports/pull/25825/files <https://github.com/macports/macports-ports/
> pull/25825/files> no platforms line, but a bunch of warnings.
>
> —Mark
>
> On Fri, Sep 20, 2024, at 2:54 PM, Ryan Carsten Schmidt wrote:
>>
>> On Sep 20, 2024, at 13:49, Mark E Anderson wrote:
>>
>>
>> > Yeah, but that's the thing, I'm getting it on ports that don't have
>> a platforms line at all, and it shows up in CI.
>>
>> Can you give an example?
>>
>
More information about the macports-dev
mailing list