Skip to content
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

Spell "build linux darwin" as "build !windows". #11434

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

coypoop
Copy link
Contributor

@coypoop coypoop commented Sep 3, 2021

Equivalent for supported platforms, and makes it easier to support
additional unix-like OSes.

Equivalent for supported platforms, and makes it easier to support
additional unix-like OSes.

[NO TESTS NEEDED]

Signed-off-by: Maya Rashish <[email protected]>
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work correctly. The files in https://github.com/containers/podman/tree/main/pkg/machine/qemu get the build tags via file name. Since there are no build files for the other OSes this will not compile.

@coypoop
Copy link
Contributor Author

coypoop commented Sep 3, 2021

Hi Luap99,
I am running podman-remote successfully on netbsd :)

$ ./bin/netbsd/podman run alpine ping -c 1 google.com
PING google.com (172.217.18.110): 56 data bytes
64 bytes from 172.217.18.110: seq=0 ttl=42 time=3.746 ms

--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 3.746/3.746/3.746 ms

This patch is the easiest to digest one of all the changes I needed.
The other changes require some more thought and maybe cleanup.
I hope it is harmless.

@Luap99
Copy link
Member

Luap99 commented Sep 3, 2021

Does podman machine ls work?

@coypoop
Copy link
Contributor Author

coypoop commented Sep 3, 2021

yes, but only with the other patches included :)

@mheon
Copy link
Member

mheon commented Sep 3, 2021

Hm. All the cross-builds passed, so I think we're good to merge this - it doesn't break anything we're testing/using.

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 3, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coypoop, mheon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2021
@Luap99
Copy link
Member

Luap99 commented Sep 3, 2021

I think it is great to enable this for other OSes but without any testing this will break easily. We only test the compile for linux, windows, macos.

@mheon
Copy link
Member

mheon commented Sep 3, 2021

I'd be OK with adding a note in the readme that Windows, OS X, and Linux are the only supported OSes, and while Podman may work elsewhere, it does not receive official testing on those architectures.

@mheon
Copy link
Member

mheon commented Sep 3, 2021

s/architectures/architectures and operating systems

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that you left pkg/machine/libvirt/machine.go the same?

@coypoop
Copy link
Contributor Author

coypoop commented Sep 3, 2021

Is it intentional that you left pkg/machine/libvirt/machine.go the same?

That might be dead code :-) I don't think anything else is importing it
Opened #11439 if you want it gone.

@rhatdan
Copy link
Member

rhatdan commented Sep 4, 2021

LGTM

@mheon
Copy link
Member

mheon commented Sep 7, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2021
@openshift-merge-robot openshift-merge-robot merged commit b07e735 into containers:main Sep 7, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants