fix(deps): update module github.com/spf13/afero to v1.7.0 #1078

Merged
konrad merged 2 commits from renovate/github.com-spf13-afero-1.x into main 2021-12-25 20:56:06 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/spf13/afero require minor v1.6.0 -> v1.7.0

Release Notes

spf13/afero

v1.7.0

Compare Source

Add experimental GCS support in Afero. Experimental because the CI infra of afero does not test with real GCS buckets.

Limitations:

  • 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.
  • No Chtimes support - Could be simulated with attributes (gcs a/m-times are set implicitly) but that's is left for another version.
  • 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.

Performance implications

  • Sequential reads are performant
  • Sequential writes are performant.
  • Seek + Read or ReadAt is performant after the initial seek. (produces a warning)
  • 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).
  • 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.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/afero](https://github.com/spf13/afero) | require | minor | `v1.6.0` -> `v1.7.0` | --- ### Release Notes <details> <summary>spf13/afero</summary> ### [`v1.7.0`](https://github.com/spf13/afero/releases/v1.7.0) [Compare Source](https://github.com/spf13/afero/compare/v1.6.0...v1.7.0) Add experimental GCS support in Afero. Experimental because the CI infra of afero does not test with real GCS buckets. **Limitations:** - 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. - No Chtimes support - Could be simulated with attributes (gcs a/m-times are set implicitly) but that's is left for another version. - 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. **Performance implications** - Sequential reads are performant - Sequential writes are performant. - Seek + Read or ReadAt is performant after the initial seek. (produces a warning) - 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). - 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. </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2021-12-22 11:01:14 +00:00
renovate force-pushed renovate/github.com-spf13-afero-1.x from 8082e810ae to 0df6ce8503 2021-12-23 09:01:00 +00:00 Compare
konrad force-pushed renovate/github.com-spf13-afero-1.x from 19b40b9fe6 to 85fd781445 2021-12-25 20:22:35 +00:00 Compare
konrad merged commit fbf271978d into main 2021-12-25 20:56:06 +00:00
konrad deleted branch renovate/github.com-spf13-afero-1.x 2021-12-25 20:56:06 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1078
No description provided.