Weird lint behavior
Mark E Anderson
mark at macports.org
Fri Sep 20 21:22:01 UTC 2024
I just kinda check to make sure the ones I maintain don’t have it and move on, but there was one that confused me, must have been a different one. But yeah, I’m not super worried about it. Especially with a warning that harmless.
—Mark
On Fri, Sep 20, 2024, at 5:12 PM, Joshua Root wrote:
> 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?
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240920/061018ee/attachment.htm>
More information about the macports-dev
mailing list