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

compare: correctly use .Prefix() during comparisons #141

Merged
merged 1 commit into from
Sep 29, 2017
Merged

compare: correctly use .Prefix() during comparisons #141

merged 1 commit into from
Sep 29, 2017

Conversation

cyphar
Copy link
Contributor

@cyphar cyphar commented Sep 29, 2017

During the rework of how xattr fields are handled, the comparison code
was not correctly updated. As a result, changes to xattrs would not be
detected in any form. This was detected in the umoci integration suite.

Fixes #140
Fixes: ed464af ("*: xattr can Update()")
Signed-off-by: Aleksa Sarai asarai@suse.de

@cyphar
Copy link
Contributor Author

cyphar commented Sep 29, 2017

It'd also be nice if I could get a patch release for this, so I don't have to vendor a commit ID. 😉

During the rework of how xattr fields are handled, the comparison code
was not correctly updated. As a result, changes to xattrs would not be
detected in any form. This was detected in the umoci integration suite.
In addition, fix the dh.UsedKeywords logic so auto-detection works
correctly with prefix-based xattrs.

Fixes: ed464af ("*: xattr can Update()")
Signed-off-by: Aleksa Sarai <asarai@suse.de>
@vbatts
Copy link
Owner

vbatts commented Sep 29, 2017

good stuff. Thanks Aleksa
LGTM

@vbatts vbatts merged commit 6fec2c6 into vbatts:master Sep 29, 2017
@cyphar cyphar deleted the xattr-correct-prefix-handling branch September 29, 2017 17:03
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.

2 participants