There should be a requirement to check if a port exists before committing something right into the master
Herby G
herby.gillot at gmail.com
Fri May 31 17:45:53 UTC 2024
Is it a guarantee that the PortIndex is available to `port` everytime `port
lint` is run? If so, would it be possible for us to use the port index to
verify that one and only one port exists for the current port name?
On Fri, May 31, 2024 at 8:35 AM Joshua Root <jmr at macports.org> wrote:
> On 31/5/2024 21:22, Sergio Had wrote:
> > Otherwise we get this:
> >
> https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed
> <
> https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed
> >
> >
> > While LimeChat has existed for 4 years in MacPorts:
> >
> https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile
> <
> https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile
> >
> >
> > And now two conflicting ports for the same thing.
>
> I greatly doubt that this (or any other addition of a duplicate port)
> was deliberate, so having a specific rule against it wouldn't have
> changed anything. Yes, it's a problem that needs to be fixed.
>
> - Josh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240531/07d89d89/attachment.htm>
More information about the macports-dev
mailing list