Jarek Kowalski
51dcaa985d
chore(ci): upgraded linter to 1.48.0 ( #2294 )
...
Mechanically fixed all issues, added `lint-fix` make target.
2022-08-09 06:07:54 +00:00
Jarek Kowalski
419c7acb11
fix(repository): fixed V1 key derivation bug from previous refactoring ( #2286 )
...
See 23299c3451
2022-08-08 21:45:08 -07:00
dependabot[bot]
5fce956853
build(deps-dev): bump electron from 19.0.8 to 20.0.1 in /app ( #2288 )
...
Bumps [electron](https://github.com/electron/electron ) from 19.0.8 to 20.0.1.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v19.0.8...v20.0.1 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 21:24:38 -07:00
dependabot[bot]
087758556c
build(deps): bump github.com/aws/aws-sdk-go from 1.44.70 to 1.44.71 ( #2292 )
2022-08-08 23:38:58 +00:00
dependabot[bot]
07ec981a25
build(deps-dev): bump asar from 3.1.0 to 3.2.0 in /app ( #2258 )
...
Bumps [asar](https://github.com/electron/asar ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/electron/asar/releases )
- [Changelog](https://github.com/electron/asar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/electron/asar/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: asar
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-07 15:36:37 -07:00
dependabot[bot]
3c63203eee
build(deps): bump electron-updater from 5.0.5 to 5.2.1 in /app ( #2259 )
...
Bumps [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater ) from 5.0.5 to 5.2.1.
- [Release notes](https://github.com/electron-userland/electron-builder/releases )
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md )
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-updater@5.2.1/packages/electron-updater )
---
updated-dependencies:
- dependency-name: electron-updater
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-07 15:36:24 -07:00
Jarek Kowalski
03159a1ff3
chore(ci): add logging to identify the cause of test flakes ( #2287 )
2022-08-07 09:56:14 -07:00
Jarek Kowalski
23299c3451
refactor(repository): ensure MutableParameters are never cached ( #2284 )
2022-08-06 18:11:32 -07:00
Ricardo Pescuma Domenecci
46697a69ae
feat(cli): allow to profile benchmarks ( #2281 )
2022-08-06 00:54:55 +00:00
Jarek Kowalski
21a0e4c1f6
fix(general): install missing ca-certificates in Docker ( #2280 )
...
Fixes #2278
2022-08-05 07:24:30 -07:00
dependabot[bot]
b24d53419c
build(deps): bump github.com/aws/aws-sdk-go from 1.44.69 to 1.44.70 ( #2277 )
2022-08-04 23:34:41 +00:00
dependabot[bot]
8b8a222180
build(deps): bump github.com/aws/aws-sdk-go from 1.44.68 to 1.44.69 ( #2276 )
2022-08-03 23:33:13 +00:00
dependabot[bot]
7a4b31a3c1
build(deps-dev): bump electron-builder from 23.1.0 to 23.3.3 in /app ( #2257 )
...
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder ) from 23.1.0 to 23.3.3.
- [Release notes](https://github.com/electron-userland/electron-builder/releases )
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md )
- [Commits](https://github.com/electron-userland/electron-builder/commits/v23.3.3/packages/electron-builder )
---
updated-dependencies:
- dependency-name: electron-builder
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 21:13:46 -07:00
dependabot[bot]
75421efd1f
build(deps): bump go.opentelemetry.io/otel/sdk from 1.8.0 to 1.9.0 ( #2264 )
...
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 21:11:26 -07:00
dependabot[bot]
57656a1c7d
build(deps): bump github.com/aws/aws-sdk-go from 1.44.67 to 1.44.68 ( #2268 )
2022-08-03 00:13:27 +00:00
dependabot[bot]
70915c3c9e
build(deps): bump google.golang.org/api from 0.90.0 to 0.91.0 ( #2265 )
2022-08-02 23:38:02 +00:00
dependabot[bot]
83a4304f7a
build(deps): bump github.com/aws/aws-sdk-go from 1.44.66 to 1.44.67 ( #2261 )
2022-08-02 00:08:39 +00:00
dependabot[bot]
959389feee
build(deps): bump github.com/minio/minio-go/v7 from 7.0.32 to 7.0.33 ( #2260 )
2022-08-02 00:02:51 +00:00
dependabot[bot]
72c5716476
build(deps-dev): bump concurrently from 7.2.2 to 7.3.0 in /app ( #2255 )
2022-08-01 23:22:42 +00:00
Yanik39
93ede2844b
feat(general): container image based on Ubuntu ( #2252 )
2022-07-31 10:03:46 -07:00
Jarek Kowalski
6160ee5668
refactor(repository): moved format blob management to separate package ( #2245 )
...
* refactor(repository): moved format blob management to separate package
This is completely mechanical, no behavior changes, only:
- moved types and functions to a new package
- adjusted visibility where needed
- added missing godoc
- renamed some identifiers to align with current usage
- mechanically converted some top-level functions into member functions
- fixed some mis-named variables
* refactor(repository): moved content.FormatingOptions to format.ContentFormat
2022-07-30 14:13:52 -07:00
basldfalksjdf
b8c4e23115
docs(site): Updating storage class information ( #2210 )
...
* docs(site): Updating storage class information
* Update _index.md
* Update _index.md
* Delete site/content/docs/Advanced/Amazon S3 directory
Was redundant with the storage tiers page. Combined the two and redirected this page to storage tiers.
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
2022-07-30 14:59:01 +00:00
Jarek Kowalski
30456d13e7
refactor(repository): refactored Crypter to an unexported interface ( #2251 )
2022-07-30 14:57:56 +00:00
dependabot[bot]
80dd5a7f7e
build(deps): bump github.com/aws/aws-sdk-go from 1.44.64 to 1.44.66 ( #2250 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.64 to 1.44.66.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.64...v1.44.66 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 03:22:55 +00:00
Jarek Kowalski
b9be9632a2
feat(repository): added required features to the repository ( #2220 )
...
* feat(repository): added `required features` to the repository
This is intended for future compatibility to be able to reliably
stop old kopia client from being able to open a repository when
the old code does not understand new `required feature`.
Required features are checked on startup and periodically using the
same method as upgrade lock, where they will return errors during blob
operations.
* pr feedback
2022-07-29 09:31:17 -07:00
Jarek Kowalski
a759e097f5
skip TestS3Connect() until we fix the S3 regression ( #2246 )
2022-07-28 22:35:43 -07:00
dependabot[bot]
bfcdc0372b
build(deps): bump google.golang.org/api from 0.89.0 to 0.90.0 ( #2244 )
2022-07-29 01:58:31 +00:00
dependabot[bot]
d17eed472a
build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.28.1 ( #2242 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 18:24:24 -07:00
Jarek Kowalski
03da9b1f0e
feat(cli): improved safety of v1->v2 index format upgrade ( #2223 )
...
When upgrading from legacy to epoch manager-based index, we will write
an intentionally-corrupted index blob, such that old clients won't be
able to understand it when they read the repository index using legacy
format.
The error message emitted by very old clients is not great, but it's
safer to do that rather than corrupt the repository.
Note that this additional safety has a delay of up to 15 minutes
which is the time required for old clients to stop relying on index list
cache in case of very long-running snapshots, server or KopiaUI.
2022-07-28 17:32:31 -07:00
Jarek Kowalski
56f3046d8a
refactor(repository): introduce interface for reading FormattingOptions ( #2235 )
...
Instead of passing static content.FormattingOptions (and caching it)
we now introduce an interface to provide its values.
This will allow the values to dynamically change at runtime in the
future to support cases like live migration.
2022-07-28 17:27:04 -07:00
dependabot[bot]
71ebf14de2
build(deps): bump actions/checkout from 2 to 3 ( #2241 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 14:48:01 -07:00
Julio Lopez
ce8c73c7df
Revert "build(deps): bump actions/checkout from 2 to 3 ( #2093 )" ( #2240 )
...
This reverts commit ab8793f845 .
2022-07-28 12:41:59 -07:00
dependabot[bot]
ab8793f845
build(deps): bump actions/checkout from 2 to 3 ( #2093 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 19:41:31 +00:00
dependabot[bot]
708074f14c
build(deps): bump google.golang.org/api from 0.88.0 to 0.89.0 ( #2233 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.88.0 to 0.89.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.88.0...v0.89.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 17:22:57 -07:00
dependabot[bot]
b074bf098a
build(deps): bump github.com/aws/aws-sdk-go from 1.44.61 to 1.44.64 ( #2239 )
2022-07-27 23:34:03 +00:00
Shikhar Mall
26e6f59b2b
feat(cli): New Upgrade CLI / Switch to Format Version 3 (upgrade coordination) ( #1818 )
...
* kopia format upgrade lock
* Update cli/command_repository_set_parameters_test.go
Co-authored-by: Ali Dowair <adowair@umich.edu >
* Update cli/command_repository_upgrade.go
Co-authored-by: Ali Dowair <adowair@umich.edu >
* Update cli/command_repository_upgrade.go
Co-authored-by: Ali Dowair <adowair@umich.edu >
* pr feedback
* pr feedback
* add a min drain time check
* env var for io-drain-timeout
* fix: add more doctext around upgrade phases
* build: wrap with EnvName
* add experimental warning
* protect upgrade cli behind env varible
* fix conflicts after relocating the upgrade lock
* generalize the command args
* drop certain features as per feedback
* sub-divide the upgrade command into begin and rollback
* Update cli/command_repository_upgrade.go
Co-authored-by: Julio Lopez <1953782+julio-lopez@users.noreply.github.com >
* Update cli/command_repository_upgrade.go
Co-authored-by: Julio Lopez <1953782+julio-lopez@users.noreply.github.com >
* missing return
* rename force flag to allow-unsafe-upgrade
Co-authored-by: Shikhar Mall <shikhar@kasten.io >
Co-authored-by: Ali Dowair <adowair@umich.edu >
Co-authored-by: Shikhar Mall <small@kopia.io >
Co-authored-by: Julio Lopez <1953782+julio-lopez@users.noreply.github.com >
2022-07-27 16:23:45 -07:00
nunotexbsd
c3d9347932
docs(site): Add FreeBSD port/package installation instructions ( #2237 )
...
* Update _index.md
Add FreeBSD port installation instructions
Co-authored-by: Ali Dowair <adowair@umich.edu >
2022-07-27 14:48:51 +03:00
dependabot[bot]
42ba517a83
build(deps): bump google.golang.org/api from 0.87.0 to 0.88.0 ( #2207 )
2022-07-26 00:02:46 +00:00
dependabot[bot]
f25872970c
build(deps): bump github.com/chromedp/chromedp from 0.8.2 to 0.8.3 ( #2229 )
2022-07-25 23:36:05 +00:00
dependabot[bot]
a709135432
build(deps): bump github.com/minio/minio-go/v7 from 7.0.31 to 7.0.32 ( #2228 )
2022-07-25 23:35:38 +00:00
Jarek Kowalski
0e62d64576
feat(providers): add AWS IAM as a credential provider for s3 storage ( #2213 ) ( #2222 )
...
* add AWS IAM as a credential provider for s3 storage
* Update s3_storage.go
Co-authored-by: Jarek Kowalski <jaak@jkowalski.net >
Co-authored-by: Sidhartha Mani <wlan0@users.noreply.github.com >
2022-07-23 15:23:13 +00:00
Jarek Kowalski
31c5bd94bc
build(deps): bumped rclone binary to 1.59.0 ( #2221 )
2022-07-23 06:50:43 +00:00
dependabot[bot]
676a81f6fa
build(deps): bump cloud.google.com/go/storage from 1.23.0 to 1.24.0 ( #2212 )
2022-07-23 06:19:54 +00:00
dependabot[bot]
a57c02ddca
build(deps): bump github.com/aws/aws-sdk-go from 1.44.60 to 1.44.61 ( #2217 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.60 to 1.44.61.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.60...v1.44.61 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-23 06:13:25 +00:00
Jarek Kowalski
7eb2f915a8
fix(providers): disabled rclone write-back behavior ( #2218 ) ( #2219 )
...
There are many solutions floating online intended to help speed up
`rclone` performance with high-latency backends, such as Google Drive or
OneDrive.
One of the often-suggested ones is `--vfs-cache-mode`, which creates
an on-disk cache and performs uploads in the background
(asynchronous write-back).
This is not necessarily wrong when a single client is used, but may
cause problems when multiple Kopia clients share repository and
some of the writes are reordered or never happen, in particular in
case of crashes.
Fixes #2216
2022-07-23 01:21:50 +00:00
dependabot[bot]
58c0e9d76d
build(deps): bump github.com/klauspost/compress from 1.15.8 to 1.15.9 ( #2214 )
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.15.8 to 1.15.9.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.15.8...v1.15.9 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 18:13:04 -07:00
dependabot[bot]
bb705ccd2a
build(deps): bump github.com/aws/aws-sdk-go from 1.44.59 to 1.44.60 ( #2215 )
2022-07-21 23:37:33 +00:00
dependabot[bot]
caee5a7f96
build(deps): bump github.com/aws/aws-sdk-go from 1.44.58 to 1.44.59 ( #2211 )
2022-07-20 23:49:06 +00:00
stpr-dev
70792de138
fix(cli): content sizes are already suffixed, so 'bytes' in the string is redundant ( #2209 )
2022-07-20 04:57:54 +00:00
dependabot[bot]
2bd704d250
build(deps): bump github.com/aws/aws-sdk-go from 1.44.57 to 1.44.58 ( #2208 )
2022-07-19 23:32:46 +00:00