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

alltransports: ostree is linux only #408

Merged
merged 1 commit into from
Mar 8, 2018
Merged

Conversation

vbatts
Copy link
Contributor

@vbatts vbatts commented Jan 23, 2018

Signed-off-by: Vincent Batts vbatts@hashbangbash.com

@mtrmac
Copy link
Collaborator

mtrmac commented Jan 23, 2018

Please update ostree_stub.go in the same directory as well.

@vbatts
Copy link
Contributor Author

vbatts commented Jan 23, 2018 via email

@vbatts
Copy link
Contributor Author

vbatts commented Jan 23, 2018

let me just double check that a comma here means AND

@vbatts
Copy link
Contributor Author

vbatts commented Jan 23, 2018

@mtrmac
Copy link
Collaborator

mtrmac commented Jan 23, 2018

The idea is that the stub is compiled in exactly when the true registration isn’t, so shouldn’t the negation of (!containers_image_ostree_stub and linux) be (containers_image_ostree_stub or !linux)?

@vbatts
Copy link
Contributor Author

vbatts commented Jan 29, 2018

@mtrmac yea, i think you're right. Updated. PTAL

@vbatts
Copy link
Contributor Author

vbatts commented Jan 29, 2018

@mtrmac off-topic of this PR, but similar needs to be done between ./signature/mechanism_gpgme.go and ./signature/mechanism_openpgp.go but there is something more tricky in that arrangement, including undefined functions like:

vendor/github.com/containers/image/signature/mechanism.go:48:9: undefined: newGPGSigningMechanismInDirectory
vendor/github.com/containers/image/signature/mechanism.go:56:9: undefined: newEphemeralGPGSigningMechanism

@mtrmac
Copy link
Collaborator

mtrmac commented Jan 29, 2018

👍 Thanks!

Approved with PullApprove

@mtrmac
Copy link
Collaborator

mtrmac commented Jan 29, 2018

@mtrmac off-topic of this PR, but similar needs to be done between ./signature/mechanism_gpgme.go and ./signature/mechanism_openpgp.go

Not exactly the same thing; GpgME can be installed on macOS (and we do use it there by default). Maybe we might want to disable GpgME on Windows, or autodetect its availability.

but there is something more tricky in that arrangement, including undefined functions like:

vendor/github.com/containers/image/signature/mechanism.go:48:9: undefined: newGPGSigningMechanismInDirectory
vendor/github.com/containers/image/signature/mechanism.go:56:9: undefined: newEphemeralGPGSigningMechanism

That looks like you have disabled both of the mechanisms, which is not supported; at least one of them must be enabled. (The openpgp one does not require cgo, so it should be an acceptable universal fallback.)

@vbatts
Copy link
Contributor Author

vbatts commented Jan 30, 2018 via email

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
@vbatts
Copy link
Contributor Author

vbatts commented Feb 27, 2018

updated. PTAL

@rhatdan
Copy link
Member

rhatdan commented Feb 28, 2018

LGTM

@mtrmac
Copy link
Collaborator

mtrmac commented Feb 28, 2018

@runcom ping

@vbatts
Copy link
Contributor Author

vbatts commented Feb 28, 2018

@runcom review please?

@runcom
Copy link
Member

runcom commented Mar 8, 2018

lgtm

Approved with PullApprove

@runcom runcom merged commit 184cc9c into containers:master Mar 8, 2018
vbatts added a commit to vbatts/cri-o that referenced this pull request Mar 8, 2018
cri-o#1435

containers/image#408

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
vbatts added a commit to vbatts/cri-o that referenced this pull request Mar 8, 2018
cri-o#1435

containers/image#408

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
vbatts added a commit to vbatts/cri-o that referenced this pull request Mar 8, 2018
cri-o#1435

containers/image#408

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
@vbatts vbatts deleted the platform branch April 3, 2018 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants