<div dir="ltr">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?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 31, 2024 at 8:35 AM Joshua Root <<a href="mailto:jmr@macports.org">jmr@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 31/5/2024 21:22, Sergio Had wrote:<br>
> Otherwise we get this: <br>
> <a href="https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed</a> <<a href="https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/commit/6e2c1e19a4ffce5d59a9cdf8147022ad176dffed</a>><br>
> <br>
> While LimeChat has existed for 4 years in MacPorts: <br>
> <a href="https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile</a> <<a href="https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/commits/8c30b0e9fd88d94c115b38c92809b909c4eac9aa/aqua/LimeChat/Portfile</a>><br>
> <br>
> And now two conflicting ports for the same thing.<br>
<br>
I greatly doubt that this (or any other addition of a duplicate port) <br>
was deliberate, so having a specific rule against it wouldn't have <br>
changed anything. Yes, it's a problem that needs to be fixed.<br>
<br>
- Josh<br>
</blockquote></div>