Replace docker/pkg/fileutils with github.com/moby/patternmatcher#136
Replace docker/pkg/fileutils with github.com/moby/patternmatcher#136tonistiigi merged 4 commits intotonistiigi:masterfrom
Conversation
|
@tonistiigi @aaronlehmann @cpuguy83 PTAL (I haven't tagged a release yet, but can do if we're all happy with the current state) |
|
hm.. something is failing; let me check |
|
Ah; linter is still running go 1.17; need to update github actions to go 1.18/1.19; let me open a PR |
|
opened #137 |
|
Thanks for doing this! |
|
It kept dropping off my list to do. Not entirely out of the woods yet; see moby/moby#44227, but we can temporarily depend on the aliases I created in docker/docker for that (until the buildkit version we use there is compatible with the latest tonistiigi/fsutil. |
c688f5e to
9dc8db5
Compare
|
Ah, dang... and more to do; looks like we're still using |
9dc8db5 to
f892529
Compare
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
f892529 to
8669910
Compare
| t3, err := ioutil.TempDir("", "test") | ||
| require.NoError(t, err) | ||
| defer os.RemoveAll(t2) | ||
| t3 := t.TempDir() |
There was a problem hiding this comment.
I saw a couple of these, and I guess those were copy/paste errors; we create t3, but add a defer to remove t2 (I guess CI will show if it was not intentional 😂)
|
Nice; all green now; I'll tag v0.5.0, and update this PR 👍 |
The pkg/fileutils package was moved to a separate module / repository. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8669910 to
d38ad66
Compare
|
done; should all be good now |
The file matching functions were extracted to https://github.com/moby/patternmatcher
Also updating docker to the latest 20.10 patch release in the bench module, and updating the go.mod syntax to 1.18