forked from earthly/fsutil
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: merge tonistiigi upstream (586307ad452fadb42e28be16d2b995b2eb6755e9) #2
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
Merged
Merged
Changes from 126 commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
d88f617
Fix to respect special bit specified in the mode of copier
musaprg 0db3c1f
Add tests
musaprg 03de04d
Add support for always overwriting existing paths
sipsma bea810c
Migrate off of gogo/protobuf
kzys d22c3fa
Merge pull request #171 from kzys/bye-gogo
tonistiigi 797bd68
Merge pull request #169 from sipsma/allow-replace
tonistiigi 8bcf9db
Fix to use internal representation for setting special bits
musaprg 9ff8718
Fix cross-device copy failing on macOS
slonopotamus b3997ab
followlinks: sanitize root path
crazy-max b6cfc0f
chore: fix typos in NewFilterFS docstring
jedevc 9f6e333
Merge pull request #175 from jedevc/filter-fs-typos
crazy-max c402261
Merge pull request #174 from crazy-max/toslash
tonistiigi 6ec7d91
Revert "Migrate off of gogo/protobuf"
crazy-max 424e516
Merge pull request #176 from crazy-max/revert-rm-gogo
tonistiigi d9b0ef8
Merge pull request #170 from slonopotamus/darwin-cross-device-copy
tonistiigi 1e7f306
Merge pull request #168 from musaprg/fix-to-respect-special-bits
tonistiigi 9193209
chore: run once on vagrant init
crazy-max 152fee1
ci: increase vm boot time to 15m
crazy-max c586cb2
ci: switch to macos-13 runner for freebsd job
crazy-max 30180b0
ci: retry logic for freebsd test step
crazy-max a7e6995
Merge pull request #172 from crazy-max/ci-fix-freebsd
tonistiigi 330b1ff
ci: add windows to test matrix
crazy-max b843da9
diskwriter: fix test scope
crazy-max 3d01fa5
fix file path separator
crazy-max 3e13e95
test with coverage and send to codecov
crazy-max e5c2801
ci: align events
crazy-max 5bc2346
readme badges
crazy-max d68510a
Merge pull request #173 from crazy-max/ci-windows
tonistiigi 6f63746
Merge pull request #177 from crazy-max/test-coverage
tonistiigi bf5b720
ci: fix test step for windows
crazy-max 2865225
Merge pull request #178 from crazy-max/ci-fix-windows
tonistiigi fb90e5f
ci: bump actions to latest stable
crazy-max 7f115c2
chore: dependabot to keep gha up to date
crazy-max cb7e6e6
update to go 1.21
crazy-max 59183f0
update golangci-lint to 1.54.2
crazy-max ca0190e
dockerfile: update xx to 1.4.0
crazy-max 35e1166
Merge pull request #180 from crazy-max/go121
tonistiigi ab7803b
filter: allow SkipDir return with lazy parents
jedevc d9cfebb
filter: ensure MapResult is followed for parent directories
jedevc b98da8a
chore: codecov config
crazy-max 34ca0de
ci: set codecov token
crazy-max b847aa4
Merge pull request #183 from jedevc/fix-parent-interactions
tonistiigi 7579271
ci: set workflow_dispatch event
crazy-max 3092598
send: ensure file path to unix form when sending files
crazy-max a340b4b
Merge pull request #187 from crazy-max/send-unix-path
tonistiigi 6773e0e
Merge pull request #181 from crazy-max/bump-gha
tonistiigi 4631d49
Merge pull request #184 from crazy-max/codecov-token
tonistiigi 7a889f5
Merge pull request #185 from crazy-max/ci-dispatch
tonistiigi 216a08f
fix data race in progressCb
7525a1a
Merge pull request #164 from alexcb/acb/progressCurrent-race
crazy-max 78f10b4
receive: ensure callback errors are propagated
jedevc e719253
receive: translate unix-paths off the wire to native
jedevc 86c9caf
chore: remove old windows todo comments
jedevc 9c5337f
Merge pull request #195 from jedevc/fix-disk-writer-ephemeral-err
tonistiigi 423880f
chore: add fsutil protocol description
jedevc d38951d
Merge pull request #196 from jedevc/fix-unclean-windows-paths
jedevc 0c628a7
recv: translate linkname to wire format
jedevc 497d33b
Merge pull request #197 from jedevc/translate-linkname-to-wire-format
tonistiigi 16fccd4
fix hardlink filter regression
tonistiigi 91a3fc4
Merge pull request #198 from tonistiigi/tonistiigi/fix-hardlink-filter
jedevc e89f52e
chore(deps): Bump docker/bake-action from 4 to 5
dependabot[bot] a6d502a
Fixup fallout with new FS changed API
nileshpatra c117dd1
Merge pull request #204 from nileshpatra/fix-new-fs
jedevc 43b9329
Merge pull request #202 from tonistiigi/dependabot/github_actions/doc…
crazy-max 43c7566
ci: switch to ubuntu runner for freebsd job
crazy-max 536d613
Merge pull request #208 from crazy-max/ci-fix-freebsd-vagrant
crazy-max a340068
deps: remove deprecated gogo proto
jsternberg 7189060
Merge pull request #206 from jsternberg/gogoproto-remove
tonistiigi 069baf6
types: stat clone drops hidden proto fields
jsternberg 8754824
Merge pull request #209 from jsternberg/stat-clone
tonistiigi 1876fbf
update Go to 1.23
tonistiigi 556fa96
update golangci-lint to 1.61.0
tonistiigi 078d9fe
Merge pull request #211 from tonistiigi/tonistiigi/go-1.23
tonistiigi dca3d5b
update xx to v1.5.0
tonistiigi aca4ca6
Merge pull request #212 from tonistiigi/tonistiigi/xx-1.5.0
tonistiigi 3a8c87e
add support for non-octal mode setting
tonistiigi e98dfb6
Merge pull request #210 from tonistiigi/tonistiigi/mode-non-octal
crazy-max f653bda
protobuf: add vtproto to supplement protobuf marshaling
jsternberg 3f140a1
Merge pull request #213 from jsternberg/vtproto
tonistiigi 26c6de6
fix correcting timestamps for created destination dir after copy
tonistiigi 397af53
Merge pull request #214 from tonistiigi/tonistiigi/copy-parent-utimes
tonistiigi f4d5b37
Fixed build on OpenBSD
catap 2406230
Merge pull request #215 from catap/openbsd-copy
tonistiigi 8df6b82
build and test openbsd
crazy-max daab4c1
bench: bump modules
crazy-max c057952
Merge pull request #216 from crazy-max/test-openbsd
tonistiigi 9c89a74
enable golangci-lint for supported platforms
crazy-max d70a986
fix issues in .golangci.yml
crazy-max 312907a
fix lint issues
crazy-max 8d32dbd
Merge pull request #218 from crazy-max/lint-multi-platform
tonistiigi bdba6e6
fixes for netbsd
crazy-max a5af7e4
build and test netbsd
crazy-max d379a0e
chore(deps): Bump codecov/codecov-action from 4 to 5
dependabot[bot] 31cf1f4
Merge pull request #220 from crazy-max/netbsd
crazy-max 211ad80
ci: fix deprecated input for codecov-action
crazy-max 0789dc5
Merge pull request #221 from tonistiigi/dependabot/github_actions/cod…
crazy-max 5b2dd0f
update xx to v1.6.1 for compatibility with alpine 3.21 and file 5.46+
thaJeztah b986b7b
Merge pull request #222 from thaJeztah/bump_xx
crazy-max bec5f0e
Merge pull request #217 from crazy-max/bench-bump-deps
tonistiigi f8467f1
fix error message for invalid includepatterns
tonistiigi 6de9584
ci: update bake-action to v6
crazy-max de08827
Merge pull request #225 from crazy-max/bake-v6
tonistiigi b14e27f
Merge pull request #223 from tonistiigi/tonistiigi/fix-includepattern…
tonistiigi 183e7fb
copy: fix custom chmod for parent directories
tonistiigi c0f1a45
chore(deps): Bump nick-fields/retry from 3.0.0 to 3.0.2
dependabot[bot] 4a39469
add gopls linter fixes
tonistiigi 9d92d55
Merge pull request #228 from tonistiigi/tonistiigi/dir-chmod-fix
tonistiigi 5ca2d8d
Merge pull request #230 from tonistiigi/tonistiigi/gopls-linter
tonistiigi a97d8e3
fix linter after merge conflict
tonistiigi 1360432
Merge pull request #231 from tonistiigi/tonistiigi/win-lint-fix
tonistiigi 6f3e554
copy: support for linux X mode
tonistiigi d73a4b3
Merge pull request #232 from tonistiigi/tonistiigi/copy-linux-X
tonistiigi 65a7c63
Merge pull request #229 from tonistiigi/dependabot/github_actions/nic…
crazy-max c877f9b
ci: install latest vagrant
crazy-max 1fdb882
ci: infer go version from workflow for bsd tests
crazy-max e9e49a2
ci: fix freebsd package repository
crazy-max 5512fa1
Merge pull request #234 from crazy-max/fix-freebsd-repo
tonistiigi bdef6d1
Allow metadata-only receivers
tonistiigi 26f1dff
receive: add parent memory for metadata transfers
tonistiigi 5b74a7a
Merge pull request #233 from tonistiigi/tonistiigi/receive-metadata
tonistiigi 2072196
stat: ignore apple extended attributes
jsternberg 3f76f81
Merge pull request #235 from jsternberg/ignore-apple-xattrs
tonistiigi a5256fc
fix: send: use platform-specific root path
profnandaa 586307a
Merge pull request #238 from profnandaa/fix-use-platform-specific-sep…
tonistiigi 28ce175
Merge remote-tracking branch 'tonistiigi/master' into 11-merge-tonist…
janishorsts 2d9f321
ci: add CODEOWNERS
janishorsts 3c193d8
Merge branch 'master' into 11-merge-tonistiigi-upstream
janishorsts 7850716
chore: tidy ci.yml
janishorsts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # PRs require approval from the EarthBuild admin team | ||
| * @EarthBuild/fork-admins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "github-actions" | ||
| open-pull-requests-limit: 10 | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| labels: | ||
| - "dependencies" | ||
| - "bot" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,5 @@ | ||
| # if you want to ignore files created by your editor/tools, consider using a | ||
| # global .gitignore or .git/info/exclude see https://help.github.com/articles/ignoring-files | ||
| .* | ||
| !.github | ||
| !.gitignore | ||
| !.travis.yml | ||
| *.prof | ||
| bin/ | ||
| # support running go modules in vendor mode for local development | ||
| vendor/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,30 @@ | ||
| module github.com/tonistiigi/fsutil/bench | ||
|
|
||
| go 1.19 | ||
| go 1.21 | ||
|
|
||
| require ( | ||
| github.com/containerd/continuity v0.4.1 | ||
| github.com/docker/docker v20.10.18+incompatible | ||
| github.com/containerd/continuity v0.4.4 | ||
| github.com/docker/docker v27.3.1+incompatible | ||
| github.com/pkg/errors v0.9.1 | ||
| github.com/tonistiigi/fsutil v0.0.0-00010101000000-000000000000 | ||
| golang.org/x/sync v0.1.0 | ||
| golang.org/x/sync v0.8.0 | ||
| ) | ||
|
|
||
| require ( | ||
| github.com/Microsoft/go-winio v0.5.2 // indirect | ||
| github.com/Microsoft/hcsshim v0.8.17 // indirect | ||
| github.com/containerd/cgroups v1.0.1 // indirect | ||
| github.com/containerd/containerd v1.5.2 // indirect | ||
| github.com/docker/go-units v0.4.0 // indirect | ||
| github.com/gogo/protobuf v1.3.2 // indirect | ||
| github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect | ||
| github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect | ||
| github.com/Microsoft/go-winio v0.6.2 // indirect | ||
| github.com/containerd/log v0.1.0 // indirect | ||
| github.com/klauspost/compress v1.11.13 // indirect | ||
| github.com/moby/patternmatcher v0.5.0 // indirect | ||
| github.com/moby/sys/mount v0.2.0 // indirect | ||
| github.com/moby/sys/mountinfo v0.4.1 // indirect | ||
| github.com/moby/sys/sequential v0.6.0 // indirect | ||
| github.com/moby/sys/user v0.3.0 // indirect | ||
| github.com/moby/sys/userns v0.1.0 // indirect | ||
| github.com/opencontainers/go-digest v1.0.0 // indirect | ||
| github.com/opencontainers/image-spec v1.0.1 // indirect | ||
| github.com/opencontainers/runc v1.0.0-rc93 // indirect | ||
| github.com/sirupsen/logrus v1.8.1 // indirect | ||
| go.opencensus.io v0.22.3 // indirect | ||
| golang.org/x/sys v0.1.0 // indirect | ||
| google.golang.org/protobuf v1.26.0 // indirect | ||
| github.com/planetscale/vtprotobuf v0.6.0 // indirect | ||
| github.com/sirupsen/logrus v1.9.3 // indirect | ||
| golang.org/x/sys v0.26.0 // indirect | ||
| google.golang.org/protobuf v1.35.1 // indirect | ||
| gotest.tools/v3 v3.0.3 // indirect | ||
| ) | ||
|
|
||
| replace github.com/tonistiigi/fsutil => ../ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.