Jarek Kowalski
eb1cf64c27
chore(ci): upgraded linter to 1.62.0 ( #4250 )
2024-11-16 07:16:50 -08:00
Jarek Kowalski
32b9b43a4a
fix(ci): fix kopia-ui-test race ( #4251 )
...
* fix(test): fix kopia-ui-test race
* fix htmlui_e2e_test
2024-11-15 23:40:36 -08:00
Jarek Kowalski
f73887f4d6
feat(cli): improved snapshot reports ( #4244 )
2024-11-15 22:09:07 -08:00
Jarek Kowalski
91d00e8256
feat(providers): upgraded rclone to 1.68.2, fixed Google Drive rclone compatibility ( #4249 )
...
* chore(ci): upgrade rclone to 1.68.2
* fix(providers): fixed Google Drive rclone compatibility
2024-11-15 20:02:08 -08:00
Jarek Kowalski
b874bb8b9b
feat(cli): send general error notifications only if the standard output is not a terminal ( #4245 )
2024-11-15 18:00:09 -08:00
dependabot[bot]
282af80146
build(deps): bump the telemetry-dependencies group with 4 updates ( #4237 )
...
Bumps the telemetry-dependencies group with 4 updates: [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go ), [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ), [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) and [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ).
Updates `go.opentelemetry.io/otel` from 1.31.0 to 1.32.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.31.0...v1.32.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.31.0 to 1.32.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.31.0...v1.32.0 )
Updates `go.opentelemetry.io/otel/sdk` from 1.31.0 to 1.32.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.31.0...v1.32.0 )
Updates `go.opentelemetry.io/otel/trace` from 1.31.0 to 1.32.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.31.0...v1.32.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: telemetry-dependencies
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: telemetry-dependencies
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: telemetry-dependencies
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: telemetry-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 02:49:32 +00:00
Linus
a0c5e57e4a
Add logging of failed and successful login attempts ( #4234 )
...
for monitoring, troubleshooting, and to allow using tools like crowdsec or fail2ban
2024-11-11 18:46:07 -08:00
Jarek Kowalski
afb85cbb34
feat(cli): send error notifications and snapshot reports ( #4233 )
...
* feat(cli): send error notifications and snapshot reports
Notifications will be sent to all configured notification profiles
according to their severity levels.
The following events will trigger notifications:
- Snapshot is created (CLI only, severity >= report)
- Server Maintenance error occurs (CLI, server and UI, severity >= error)
- Any other CLI error occurs (CLI only, severity >= error).
A flag `--no-error-notifications` can be used to disable error notifications.
* added template tests
* improved time formatting in templates
* plumb through notifytemplate.Options
* more testing for formatting options
* fixed default date format to RFC1123
2024-11-11 17:53:50 -08:00
dependabot[bot]
a332eff5b2
build(deps): bump the common-golang-dependencies group with 10 updates ( #4236 )
...
Bumps the common-golang-dependencies group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.28.0` | `0.29.0` |
| [golang.org/x/mod](https://github.com/golang/mod ) | `0.21.0` | `0.22.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.30.0` | `0.31.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2 ) | `0.23.0` | `0.24.0` |
| [golang.org/x/sync](https://github.com/golang/sync ) | `0.8.0` | `0.9.0` |
| [golang.org/x/sys](https://github.com/golang/sys ) | `0.26.0` | `0.27.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.25.0` | `0.26.0` |
| [golang.org/x/text](https://github.com/golang/text ) | `0.19.0` | `0.20.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) | `0.204.0` | `0.205.0` |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go ) | `1.67.1` | `1.68.0` |
Updates `golang.org/x/crypto` from 0.28.0 to 0.29.0
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.29.0 )
Updates `golang.org/x/mod` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/mod/compare/v0.21.0...v0.22.0 )
Updates `golang.org/x/net` from 0.30.0 to 0.31.0
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0 )
Updates `golang.org/x/oauth2` from 0.23.0 to 0.24.0
- [Commits](https://github.com/golang/oauth2/compare/v0.23.0...v0.24.0 )
Updates `golang.org/x/sync` from 0.8.0 to 0.9.0
- [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.9.0 )
Updates `golang.org/x/sys` from 0.26.0 to 0.27.0
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.27.0 )
Updates `golang.org/x/term` from 0.25.0 to 0.26.0
- [Commits](https://github.com/golang/term/compare/v0.25.0...v0.26.0 )
Updates `golang.org/x/text` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.19.0...v0.20.0 )
Updates `google.golang.org/api` from 0.204.0 to 0.205.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.204.0...v0.205.0 )
Updates `google.golang.org/grpc` from 1.67.1 to 1.68.0
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 00:58:58 +00:00
dependabot[bot]
500fd41af4
build(deps): bump the kopia-ui-npm-dependencies group ( #4223 )
...
Bumps the kopia-ui-npm-dependencies group in /app with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater ) | `6.3.4` | `6.3.9` |
| [uuid](https://github.com/uuidjs/uuid ) | `10.0.0` | `11.0.2` |
| [@playwright/test](https://github.com/microsoft/playwright ) | `1.47.2` | `1.48.2` |
| [electron](https://github.com/electron/electron ) | `32.1.2` | `33.0.2` |
| [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder ) | `25.0.5` | `25.1.8` |
| [playwright](https://github.com/microsoft/playwright ) | `1.47.2` | `1.48.2` |
| [playwright-core](https://github.com/microsoft/playwright ) | `1.47.2` | `1.48.2` |
Updates `electron-updater` from 6.3.4 to 6.3.9
- [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@6.3.9/packages/electron-updater )
Updates `uuid` from 10.0.0 to 11.0.2
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v10.0.0...v11.0.2 )
Updates `@playwright/test` from 1.47.2 to 1.48.2
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.47.2...v1.48.2 )
Updates `electron` from 32.1.2 to 33.0.2
- [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/v32.1.2...v33.0.2 )
Updates `electron-builder` from 25.0.5 to 25.1.8
- [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/electron-builder@25.1.8/packages/electron-builder )
Updates `playwright` from 1.47.2 to 1.48.2
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.47.2...v1.48.2 )
Updates `playwright-core` from 1.47.2 to 1.48.2
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.47.2...v1.48.2 )
---
updated-dependencies:
- dependency-name: electron-updater
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: kopia-ui-npm-dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: kopia-ui-npm-dependencies
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
- dependency-name: electron
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: kopia-ui-npm-dependencies
- dependency-name: electron-builder
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
- dependency-name: playwright
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
- dependency-name: playwright-core
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: kopia-ui-npm-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 23:02:45 -08:00
Kopia Builder [bot]
0ed3cc48f6
feat(ui): upgraded htmlui to the latest version ( #4232 )
2024-11-05 06:18:43 +00:00
dependabot[bot]
21e37b1643
build(deps): bump github.com/hanwen/go-fuse/v2 from 2.6.2 to 2.6.3 ( #4226 )
...
Bumps [github.com/hanwen/go-fuse/v2](https://github.com/hanwen/go-fuse ) from 2.6.2 to 2.6.3.
- [Commits](https://github.com/hanwen/go-fuse/compare/v2.6.2...v2.6.3 )
---
updated-dependencies:
- dependency-name: github.com/hanwen/go-fuse/v2
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>
2024-11-04 22:15:36 -08:00
dependabot[bot]
b4d52de18b
build(deps): bump dawidd6/action-homebrew-bump-formula from 3.11.0 to 4 ( #4222 )
...
Bumps [dawidd6/action-homebrew-bump-formula](https://github.com/dawidd6/action-homebrew-bump-formula ) from 3.11.0 to 4.
- [Release notes](https://github.com/dawidd6/action-homebrew-bump-formula/releases )
- [Commits](baf2b60c51...8d494330bc )
---
updated-dependencies:
- dependency-name: dawidd6/action-homebrew-bump-formula
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>
2024-11-04 22:11:15 -08:00
Kopia Builder [bot]
73124b0fad
feat(ui): upgraded htmlui to the latest version ( #4230 )
2024-11-04 21:55:38 -08:00
dependabot[bot]
ead9fcbc8b
build(deps): bump docker/setup-buildx-action in the docker group ( #4221 )
...
Bumps the docker group with 1 update: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ).
Updates `docker/setup-buildx-action` from 3.6.1 to 3.7.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](988b5a0280...c47758b77c )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docker
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 17:36:59 -08:00
Eugene Sumin
f0541ab67e
feat(cli): introduce adaptive estimation mechanism ( #4218 )
...
* Add rough estimation mechanism
* Extract data size estimation scan to standalone function
* Introduce estimation type flag
* Change signature of EstimatedDataSize
* Extract estimation logic and test it
* Adjust err handling in GetVolumeSizeInfo
* Make GetVolumeSizeInfo reusable
* Fix type issue for windows platform
* Use adaptive estimation with threshold
2024-11-04 17:31:09 -08:00
dependabot[bot]
2cd3afed42
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #4227 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
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>
2024-11-04 17:23:44 -08:00
dependabot[bot]
d4b7332d6f
build(deps): bump the common-golang-dependencies group with 2 updates ( #4225 )
...
Bumps the common-golang-dependencies group with 2 updates: [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
Updates `cloud.google.com/go/storage` from 1.45.0 to 1.46.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.45.0...spanner/v1.46.0 )
Updates `google.golang.org/api` from 0.203.0 to 0.204.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.203.0...v0.204.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 16:54:21 -08:00
dependabot[bot]
cf0a09ca3e
build(deps): bump the github-actions group with 4 updates ( #4220 )
...
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [actions/setup-go](https://github.com/actions/setup-go ), [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/checkout` from 4.2.0 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...11bd71901b )
Updates `actions/setup-go` from 5.0.2 to 5.1.0
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0a12ed9d6a...41dfa10bad )
Updates `actions/upload-artifact` from 4.4.0 to 4.4.3
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](50769540e7...b4b15b8c7c )
Updates `github/codeql-action` from 3.26.10 to 3.27.0
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](e2b3eafc8d...662472033e )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 16:53:32 -08:00
dependabot[bot]
814375f873
build(deps): bump github.com/pkg/sftp from 1.13.6 to 1.13.7 ( #4216 )
...
Bumps [github.com/pkg/sftp](https://github.com/pkg/sftp ) from 1.13.6 to 1.13.7.
- [Release notes](https://github.com/pkg/sftp/releases )
- [Commits](https://github.com/pkg/sftp/compare/v1.13.6...v1.13.7 )
---
updated-dependencies:
- dependency-name: github.com/pkg/sftp
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>
2024-10-31 04:59:21 +00:00
dependabot[bot]
0dc6046d48
build(deps): bump github.com/tg123/go-htpasswd from 1.2.2 to 1.2.3 ( #4215 )
...
Bumps [github.com/tg123/go-htpasswd](https://github.com/tg123/go-htpasswd ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/tg123/go-htpasswd/releases )
- [Commits](https://github.com/tg123/go-htpasswd/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: github.com/tg123/go-htpasswd
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>
2024-10-31 04:51:37 +00:00
dependabot[bot]
3821da19d9
build(deps): bump github.com/minio/minio-go/v7 ( #4214 )
...
Bumps the common-golang-dependencies group with 1 update: [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ).
Updates `github.com/minio/minio-go/v7` from 7.0.79 to 7.0.80
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.79...v7.0.80 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 04:51:24 +00:00
Julio López
9aadd9114c
fix(cli): avoid memory bloat in benchmark encryption command ( #4213 )
...
Avoid memory bloat in `benchmark encryption` and `benchmark crypto` commands
Reuse the output buffer by resetting it between iterations.
Fixes #4210
2024-10-30 09:18:12 -07:00
Kürşat Aktaş
fb2e3c988e
Introducing Kopia Guru on Gurubase.io ( #4196 )
2024-10-28 17:12:21 -07:00
dependabot[bot]
52fb49132d
build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 ( #4206 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
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>
2024-10-28 23:42:57 +00:00
dependabot[bot]
9da07087ca
build(deps): bump github.com/zalando/go-keyring from 0.2.5 to 0.2.6 ( #4205 )
...
Bumps [github.com/zalando/go-keyring](https://github.com/zalando/go-keyring ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/zalando/go-keyring/releases )
- [Commits](https://github.com/zalando/go-keyring/compare/v0.2.5...v0.2.6 )
---
updated-dependencies:
- dependency-name: github.com/zalando/go-keyring
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>
2024-10-28 23:40:41 +00:00
dependabot[bot]
183d0fcdf3
build(deps): bump the common-golang-dependencies group with 2 updates ( #4203 )
...
Bumps the common-golang-dependencies group with 2 updates: [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
Updates `github.com/minio/minio-go/v7` from 7.0.78 to 7.0.79
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.78...v7.0.79 )
Updates `google.golang.org/api` from 0.201.0 to 0.203.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.201.0...v0.203.0 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 16:38:57 -07:00
dependabot[bot]
9b75add98b
build(deps): bump github.com/prometheus/common ( #4204 )
2024-10-28 23:35:20 +00:00
Julio López
0e91261c3e
fix(cli): allow running quick maintenance with epoch manager ( #4198 )
...
* allow running quick maintenance with epoch manager
* run full maintenance to cleanup logs
* separate logs maintenance set params test
2024-10-28 16:04:29 -07:00
Julio López
a3c570d264
refactor(providers): simplify GCS client construction ( #4120 )
...
Changes:
* simplify GCS client creation;
* early parameter validation in `gcs.New()`;
* remove GCS internal tests;
* remove no-longer used GCS creds helpers.
2024-10-27 18:39:45 -07:00
blenderfreaky
a9e178edff
feat(cli): add policy import/export commands to im-/export policies from/to json ( #4020 )
...
* feat(cli): add policy export command
* feat(cli): add policy import command
* chore(cli): remove unused policyTargetFlags in commandPolicyImport
* feat(cli): allow limiting which policies to import
* docs(cli): document policy import and export commands
* feat(cli): add policy import/export commands
* fix(cli): apply suggestions
* fix(general): unintentional commit
* feat(cli: add policy export tests
* feat(cli): add policy import tests
* feat(cli): add deleteOtherPolicies option for policy import
* docs(cli): stdin/stdout in policy import/export and --delete-other-policies flag
* chore(cli): fix linter issues
* fix(cli): fix newly introduced errors
* fix(cli): fix failing windows tests
* chore(cli): more test coverage for policy import/export
* fixed windows test
---------
Co-authored-by: Jarek Kowalski <jaak@jkowalski.net >
2024-10-28 01:36:12 +00:00
Julio López
ccc84fb00d
test(cli): prefer require in cli_test_env ( #4200 )
...
Facilitates troubleshooting test failures.
2024-10-25 13:21:59 -07:00
Julio López
c90495d809
fix(cli): hashing benchmark repeat ( #4199 )
...
Ref:
- #4181
2024-10-25 00:18:33 -07:00
Julio López
966bb3db94
test(general): cleanup index builder tests ( #4197 )
...
Objective: make it easier to understand the tests
Changes:
- Introduce helpers to simplify the tests and increase clarity.
* verifySortedEntries
* addDeterministicContents
* addContentIDsWithDifferentPrefixes
* addIntsAsDeterministicContent
- Rename tests to better convey what they are testing.
- Use rand.Perm for simplicity
Ref: #4139
2024-10-24 18:57:54 -07:00
chavacava
60496829d0
removes unreachable code ( #4195 )
2024-10-24 17:33:17 -07:00
Prasad Ghangal
3bf947d746
feat(repository): Metadata compression config support for directory and indirect content ( #4080 )
...
* Configure compressor for k and x prefixed content
Adds metadata compression setting to policy
Add support to configure compressor for k and x prefixed content
Set zstd-fastest as the default compressor for metadata in the policy
Adds support to set and show metadata compression to kopia policy commands
Adds metadata compression config to dir writer
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Pass concatenate options with ConcatenateOptions struct
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Move content compression handling to caller
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Move handling manifests to manifest pkg
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Correct const in server_test
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Remove unnecessary whitespace
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
* Disable metadata compression for < V2 format
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
---------
Signed-off-by: Prasad Ghangal <prasad.ganghal@veeam.com >
2024-10-23 23:28:23 -07:00
Mike McKay-Dirden
e20ec3d290
fix(repository): Allow extending blob retentions ( #4151 )
2024-10-23 18:46:51 -07:00
Mike McKay-Dirden
9587d982a8
list all required permissions for GCS ( #4193 )
2024-10-23 10:36:48 -07:00
Julio López
f5b023a5a4
test(general): add helpers to simplify tests ( #4191 )
...
* move common functionality into `verifyEpochTaskRanInQuickMaintenance` helper
* add `verifyEpochManagerIsEnabled` helper
* add `setRepositoryOwner` helper
* rename helper
2024-10-22 12:26:58 -07:00
Julio López
90c4a3c978
fix(general): run epoch maintenance for quick maintenance ( #4185 )
...
Changes:
* test that quick maintenance runs when epoch manager is enabled
* fix(general): run epoch maintenance for quick maintenance
Change based on a known-to-be-safe portion of the changes proposed in #3901
* cleanup: pass epoch manager to `runTaskEpochMaintenanceQuick`
The caller needs to get the epoch manager to determine
whether or not the epoch manager is enabled. The caller
now passes the epoch manager to `runTaskEpochMaintenanceQuick`
* wrap the error inside runTaskEpochMaintenanceQuick
2024-10-21 12:06:50 -07:00
dependabot[bot]
d494feedf3
build(deps): bump github.com/hanwen/go-fuse/v2 from 2.6.1 to 2.6.2 ( #4189 )
...
Bumps [github.com/hanwen/go-fuse/v2](https://github.com/hanwen/go-fuse ) from 2.6.1 to 2.6.2.
- [Commits](https://github.com/hanwen/go-fuse/compare/v2.6.1...v2.6.2 )
---
updated-dependencies:
- dependency-name: github.com/hanwen/go-fuse/v2
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>
2024-10-19 21:49:46 -07:00
dependabot[bot]
816ed372c1
build(deps): bump the common-golang-dependencies group with 2 updates ( #4187 )
...
Bumps the common-golang-dependencies group with 2 updates: [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) and [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go ).
Updates `cloud.google.com/go/storage` from 1.44.0 to 1.45.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.44.0...spanner/v1.45.0 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.15.0 to 1.16.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.15.0...sdk/azcore/v1.16.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 21:48:33 -07:00
dependabot[bot]
61af42443b
build(deps): bump github.com/prometheus/client_golang ( #4188 )
2024-10-20 00:31:20 +00:00
Julio López
65b48433db
refactor(general): include clock skew in error message ( #4186 )
...
* nit: include clock skew in error message
* nit: un-capitalize error message.
2024-10-18 22:28:12 -07:00
Julio López
98290b9ed7
refactor: make toJSON a test helper ( #4184 )
2024-10-18 16:12:18 -07:00
Julio López
d7a26b3499
test(general): prefer require ( #4183 )
...
No functional changes to the tests
2024-10-18 10:15:10 -07:00
Mike McKay-Dirden
5edc81b9a6
docs(site): Clarify ransomware requirements for Google/Azure ( #4180 )
2024-10-16 11:43:19 -07:00
dependabot[bot]
1fe15495a5
build(deps): bump the common-golang-dependencies group across 1 directory with 4 updates ( #4178 )
...
Bumps the common-golang-dependencies group with 4 updates in the / directory: [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go ), [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ), [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client ).
Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.14.0...sdk/azcore/v1.15.0 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.7.0 to 1.8.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.7.0...sdk/azcore/v1.8.0 )
Updates `github.com/minio/minio-go/v7` from 7.0.77 to 7.0.78
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.77...v7.0.78 )
Updates `google.golang.org/api` from 0.199.0 to 0.201.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.199.0...v0.201.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: common-golang-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 04:58:14 +00:00
Julio López
723583552a
refactor(server): handle ErrServerClosed where it occurs ( #4165 )
...
Checks whether any of the `httpServer.Serve*()` calls returns
`ErrServerClosed`.
Handles `ErrServerClosed` inside the `startServerWithOptionalTLS` function
instead of propagating it up. This means that `startServerWithOptionalTLS`
returns a nil error when the HTTP server is closed, so the caller does not need
to check for `ErrServerClosed`
No functional changes otherwise.
2024-10-15 21:40:19 -07:00
dependabot[bot]
a1a14a46a5
build(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11 ( #4176 )
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.10 to 1.17.11.
- [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.17.10...v1.17.11 )
---
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>
2024-10-16 04:39:47 +00:00