Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bump github.com/spf13/afero to v1.8.1 (#3251)
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.6.0 to 1.8.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/afero/releases">github.com/spf13/afero's releases</a>.</em></p> <blockquote> <h2>v1.8.1: memfs: add modTime on folder creation</h2> <p>No release notes provided.</p> <h2>v1.7.1: Move GCS into its own package</h2> <p>No release notes provided.</p> <h2>v1.7.0: Add experimental GCS support</h2> <p>Add experimental GCS support in Afero. Experimental because the CI infra of afero does not test with real GCS buckets.</p> <p><strong>Limitations:</strong></p> <ul> <li>No Chmod support - The GCS ACL could probably be mapped to *nix style permissions but that would add another level of complexity and is ignored in this version.</li> <li>No Chtimes support - Could be simulated with attributes (gcs a/m-times are set implicitly) but that's is left for another version.</li> <li>NOTE: Not thread safe - Also assumes all file operations are done through the same instance of the GcsFs. File operations between different GcsFs instances are not guaranteed to be consistent.</li> </ul> <p><strong>Performance implications</strong></p> <ul> <li>Sequential reads are performant</li> <li>Sequential writes are performant.</li> <li>Seek + Read or ReadAt is performant after the initial seek. (produces a warning)</li> <li>Alternating reads/writes to the same file handler are highly inefficient. To get consistent FS behavior using an API that separates readers and writers we close any open readers before an write as well close open writers before a read (ensure the data is committed).</li> <li>Seek + Write such as WriteAt, Truncate, Seek+Write will work as expected but with significant overhead. Doing a seek + write will in effect download the old file/object, overlay it with the new writes and save it back. This is done in a streaming fashion so large files will not clog the memory but will trigger a full download and upload of the file/object.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/afero/commit/450b30f2bfc09acd88c31d66c28cb814a14b192b"><code>450b30f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/spf13/afero/issues/334">#334</a> from KastenMike/add-modTime-to-folders</li> <li><a href="https://github.com/spf13/afero/commit/94409215e40b4f08b4f286b854adf4285cea284c"><code>9440921</code></a> fix actual value in test</li> <li><a href="https://github.com/spf13/afero/commit/c2c1d1206ec18b6220c62cb67189ce8a86b20708"><code>c2c1d12</code></a> add modTime on folder creation</li> <li><a href="https://github.com/spf13/afero/commit/cd35605009e0f43ac1123133549379e6143bcb42"><code>cd35605</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/spf13/afero/issues/332">#332</a> from pojntfx/master</li> <li><a href="https://github.com/spf13/afero/commit/8298014bef817bc82eda85ded6069a07e395de0b"><code>8298014</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/spf13/afero/issues/306">#306</a> from lixiangzhong/master</li> <li><a href="https://github.com/spf13/afero/commit/4806203f283e455cb258b3b8b60917fe02c28d74"><code>4806203</code></a> Merge branch 'master' into master</li> <li><a href="https://github.com/spf13/afero/commit/d8a4ef9d0539711f2bb78720df97f9332f3b6799"><code>d8a4ef9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/spf13/afero/issues/333">#333</a> from drakkan/gcsfs</li> <li><a href="https://github.com/spf13/afero/commit/165e3dc3a506e9c3f5871a897aa33ac2c5ced99b"><code>165e3dc</code></a> GCS fs: move all gcsfs related implementations to its own package</li> <li><a href="https://github.com/spf13/afero/commit/039e386d52a0510def8628127bb53fbdb4486ba9"><code>039e386</code></a> Call <code>OpenFile</code> instead of <code>Open</code> in <code>CacheOnReadFs</code> (fixes <a href="https://github-redirect.dependabot.com/spf13/afero/issues/193">#193</a>)</li> <li><a href="https://github.com/spf13/afero/commit/d70f944720bbf76b4f152dbe1b175ec4c03a3e83"><code>d70f944</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/spf13/afero/issues/331">#331</a> from kargakis/gcs</li> <li>Additional commits viewable in <a href="https://github.com/spf13/afero/compare/v1.6.0...v1.8.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/afero&package-manager=go_modules&previous-version=1.6.0&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information