-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openssh: Restore "platforms any" to ssh-copy-id subport #26053
Conversation
The "platforms any" line was inappropriately removed from the 'ssh-copy-id' subport by commit 11c25bb to get rid of a spurious lint warning. But "platforms any" is not the same as "platforms darwin", is not the default, and may be useful for non-Mac installs. The lint warning in this case is just a bug that should be ignored. This only affects the 'ssh-copy-id' subport, and does not require a revbump. TESTED: The spurious lint warning is back as expected, but both ports build successfully on all platforms.
Notifying maintainers: |
Good catch! That lint warning was a relatively recent change to port lint --nitpick and I guess it doesn't surprise me that attempting to ameliorate it maybe wasn't the wisest move. |
Aside from the fact that the warning is bogus in general, it's weird that it only appears when linting the main port and not the subport, even though that line only appears in the subport. BTW, is it intentional that the main port and subport have different maintainers? If you approve, you probably need to say so explicitly to get this merged. |
Yeah, I decided to ignore the warning with my PR on LibreSSl 4.0.0 just now too, maybe I am being too paranoid? Regarding the maintainer differences, I don't think that's intentional? The main OpenSSH Portfile portion was just openmaintainer for a while, but since I found myself submitting various update PRs (along with other OpenBSD related projects I have been trying to keep up to date downstream) I decided to add myself along with openmaintainer; the subport maintainer/ssh-copy-id I think was already there and I wasn't involved with MacPorts when OpenSSH and ssh-copy-id were subdivided into subports. Since you're l2dy if you would prefer to co-maintain or remove me as a maintainer, either way is OK by me since I think you were listed in the subport before I added myself to the main portion of the Portfile. ^_^ My apologies if I inadvertently stepped on your toes. |
I'm not l2dy; I'll let him comment. |
Ah weird. When I went to @ l2dy it GitHub auto-completed to you for some reason. |
What I see here is that as soon as I enter "@", a suggestion menu pops up with myself as the first (and default) choice, which of course makes no sense when I'm the one that's posting. I'm not sure what GitHub's algorithm is for populating the suggestion menu, but the main thing is to look at what's highlighted before selecting it. If you literally put a space between the "@" and the "l2dy", that might explain it. |
@artkiver Feel free to take over maintenance of ssh-copy-id, i.e. delete the line with me as maintainers. The ssh-copy-id port was split out because older version of macOS did not have it bundled, and there were users who need the script but don't want to override the system |
The "platforms any" line was inappropriately removed from the 'ssh-copy-id' subport by commit 11c25bb to get rid of a spurious lint warning. But "platforms any" is not the same as "platforms darwin", is not the default, and may be useful for non-Mac installs. The lint warning in this case is just a bug that should be ignored.
This only affects the 'ssh-copy-id' subport, and does not require a revbump.
TESTED:
The spurious lint warning is back as expected, but both ports build successfully on all platforms.
Description
Type(s)
Tested on
Verification
Have you
port lint --nitpick
?sudo port test
?*
sudo port -vst install
?*
Tests require a special server setup.