Commit Graph

3723 Commits

Author SHA1 Message Date
dependabot[bot]
a16376cb2b build(deps): bump the common-golang-dependencies group with 2 updates (#4646)
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.54.0 to 1.55.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/spanner/v1.54.0...spanner/v1.55.0)

Updates `google.golang.org/api` from 0.234.0 to 0.235.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.234.0...v0.235.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-version: 1.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
  dependency-version: 0.235.0
  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>
2025-06-02 18:30:19 -07:00
Kopia Builder [bot]
026ee517aa feat(ui): upgraded htmlui to the latest version (#4642) 2025-06-02 08:12:18 -07:00
dependabot[bot]
c94dfd688a build(deps): bump the telemetry-dependencies group with 4 updates (#4608)
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.35.0 to 1.36.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.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.35.0 to 1.36.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.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/sdk` from 1.35.0 to 1.36.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.35.0...v1.36.0)

Updates `go.opentelemetry.io/otel/trace` from 1.35.0 to 1.36.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.35.0...v1.36.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  dependency-version: 1.36.0
  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-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: telemetry-dependencies
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: telemetry-dependencies
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-version: 1.36.0
  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>
2025-06-02 07:24:19 +00:00
Kopia Builder [bot]
73dcd297f8 feat(ui): upgraded htmlui to the latest version (#4641) 2025-06-01 23:47:15 -07:00
Kopia Builder [bot]
521c473ca1 feat(ui): upgraded htmlui to the latest version (#4639) 2025-06-02 06:18:14 +00:00
Kopia Builder [bot]
1dd2439ed7 feat(ui): upgraded htmlui to the latest version (#4637) 2025-06-01 22:47:37 -07:00
Kopia Builder [bot]
d51c4b64cf feat(ui): upgraded htmlui to the latest version (#4636) 2025-06-01 21:46:57 -07:00
Kopia Builder [bot]
d58be31e04 feat(ui): upgraded htmlui to the latest version (#4635) 2025-06-02 03:18:50 +00:00
jlssmt
ccbdaf8d05 add sshfs to enable pull based backups (#4392) 2025-06-01 18:29:21 -07:00
dependabot[bot]
6a72d3e996 build(deps): bump the github-actions group with 2 updates (#4632)
Bumps the github-actions group with 2 updates: [actions/setup-go](https://github.com/actions/setup-go) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-go` from 5.4.0 to 5.5.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

Updates `github/codeql-action` from 3.28.16 to 3.28.18
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](28deaeda66...ff0a06e83c)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 3.28.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 01:11:54 +00:00
dependabot[bot]
658a9cb34a build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4634)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](ad3126e916...18283e04ce)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.3
  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>
2025-06-02 00:20:49 +00:00
dependabot[bot]
6923cb57ce build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4633) 2025-06-01 17:08:23 -07:00
dependabot[bot]
242b18e017 build(deps-dev): bump electron (#4631) 2025-06-01 17:07:22 -07:00
Kopia Builder [bot]
611d99370c feat(ui): upgraded htmlui to the latest version (#4630) 2025-06-01 17:06:46 -07:00
Kopia Builder [bot]
5ef04c436c feat(ui): upgraded htmlui to the latest version (#4629) 2025-06-01 13:47:20 -07:00
Kopia Builder [bot]
afc6449fec feat(ui): upgraded htmlui to the latest version (#4627) 2025-06-01 11:37:02 -07:00
Kopia Builder [bot]
97f514ff5b feat(ui): upgraded htmlui to the latest version (#4626) 2025-05-31 23:54:49 -07:00
Kopia Builder [bot]
1156d2f4b6 feat(ui): upgraded htmlui to the latest version (#4625) 2025-05-31 23:18:18 -07:00
Julio Lopez
d91a5a8f94 chore(general): enable forcetypeassert linter (#4624)
- enable `forcetypeassert` linter in non-test files
- add `//nolint` annotations
- add `testutil.EnsureType` helper for type assertions
- enable `forcetypeassert` linter in test files
2025-05-31 23:17:38 -07:00
Kopia Builder [bot]
44566ec50c feat(ui): upgraded htmlui to the latest version (#4620) 2025-05-30 23:18:50 -07:00
Julio Lopez
d5f23be119 refactor(general): minor cleanups (#4621)
- add assertion messages to help troubleshooting upload tests.
- fix typo
- fix debug log message
2025-05-30 23:06:53 -07:00
Julio Lopez
3f01b0c578 refactor(general): upload tests (#4619)
- use 'require/assert'
- refactor TestUploadMetadataCompression as a table test
- allow tests to run in parallel
- use t.Cleanup and add a missing cleanup
- use maps.Clone
2025-05-30 10:22:06 -07:00
Jarek Kowalski
021d8a5ad2 chore(repository): create minimal cache.Storage interface (#4618)
Extracted blob.Lister interface
2025-05-29 17:58:42 -07:00
Julio Lopez
ab1f62e3ad refactor(general): misc cleanups (#4615)
- nit: rename var to packCountByPrefix
- leverage impossible package
- use maps.Clone
- unexport indirectObjectID
- unexport compressed
- rename function to flushBufferLocked
- add checklocks annotations to functions that must be called under w.mu
2025-05-29 08:26:55 -07:00
Julio Lopez
afc635c9c3 refactor(general): minor cleanups in snapshot GC (#4612)
Cleanups in snapshot GC:
- add findUnreferencedAndRepairRereferenced
- moves logging from snapshotgc.Run to findUnreferencedAndRepairRereferenced
- removes returning collected stats, simplifies signature
- simplifies caller (snapshotgc.Run)
- removes now unused snapshotgc.Stats

Changes in behavior:
- logs before flushing to get info even if flush fails
- new: logs undeleted content stats
2025-05-29 07:46:43 -07:00
Jarek Kowalski
dc1342e117 fix(snapshots): completely ignore unsupported entries instead of reporting them as ignored errors to avoid snapshot warnings (#4613) 2025-05-29 06:53:50 -07:00
Julio Lopez
dc1be13d85 chore(general): convenience make targets to install tools (#4616)
Convenience targets:
- install-gotestsum
- install-linter
2025-05-29 00:57:15 -07:00
Julio Lopez
3d4c5f8f9e refactor(general): s/interface{}/any/ (#4614) 2025-05-29 06:07:49 +00:00
Julio Lopez
eadcdc753d test(general): fix TestSnapshotNoLeftoverCheckpoints slowness (#4611)
Avoid allocating 1GB of RAM to write a test file.
Exclude test from race detector.

- Fixes: #4610
- Ref: #4439

nits:
- use `require.Greater`.
- add types to constants to used them with `require.*`.
- factor out function to write file with random data.
2025-05-28 19:01:01 -07:00
dependabot[bot]
11049fd3ae build(deps): bump the common-golang-dependencies group with 2 updates (#4607)
Bumps the common-golang-dependencies group with 2 updates: [google.golang.org/api](https://github.com/googleapis/google-api-go-client) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).


Updates `google.golang.org/api` from 0.233.0 to 0.234.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.233.0...v0.234.0)

Updates `google.golang.org/grpc` from 1.72.1 to 1.72.2
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.1...v1.72.2)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.234.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.2
  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>
2025-05-26 17:43:02 -07:00
Jarek Kowalski
1ee24977ce fix(notifications): fixed notification severities on snapshot creation (#4604) v0.20.1 2025-05-25 16:25:35 -07:00
Jarek Kowalski
e9e73e6c3c fix(snapshots): fixed snapshotting of \\server\share (#4603)
* fix(snapshots): fixed snapshotting of \\server\share

* fixed linter
2025-05-25 12:43:51 -07:00
Jarek Kowalski
fec575bd90 fix(server): fixed server-based notifications (#4598)
* fix(server): fixed server-based notifications

Used TypedEventArgs instead of `any` to ensure all notification data
carries type information, allowing the server to property deserialize it.

* fix
2025-05-24 08:15:45 -07:00
shniubobo
dd664b5554 fix(snapshots): Remove checkpoints after a complete snapshot (#4439)
* fix(snapshots): Remove checkpoints after a complete snapshot

... by setting start time of checkpoints one nanosecond earlier than
that of the snapshot.

* test(snapshots): Test for leftover checkpoints

* fix linter issues

* removed stray curly brace

---------

Co-authored-by: Jarek Kowalski <jaak@jkowalski.net>
2025-05-24 15:10:40 +00:00
Kopia Builder [bot]
8371bad281 feat(ui): upgraded htmlui to the latest version (#4597) 2025-05-24 07:10:36 -07:00
Kopia Builder [bot]
42aefb5e8d feat(ui): upgraded htmlui to the latest version (#4596) 2025-05-24 06:25:16 +00:00
Julio Lopez
2910801f0e test(cli): minor cleanups in diff tests (#4594)
Minor cleanups in diff tests: helper to generate (direct) object ids.
- nit: rename variables for consistency
- nit: Use `k` prefix in oids where appropriate
- nit: remove unnecessary intermediate vars
- nit: specify known map length
2025-05-23 20:27:13 -07:00
Jarek Kowalski
2e16917518 chore(ci): enforce consistent formatting of KopiaUI code (#4586)
* chore(ci): enforce consistent formatting of KopiaUI code

* fix htmlui_changelog.sh

* fix
2025-05-20 22:33:54 -07:00
Kopia Builder [bot]
aed5872c38 feat(ui): upgraded htmlui to the latest version (#4587) 2025-05-21 04:46:24 +00:00
dependabot[bot]
7788c4abeb build(deps): bump the common-golang-dependencies group with 4 updates (#4582)
Bumps the common-golang-dependencies group with 4 updates: [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), [google.golang.org/api](https://github.com/googleapis/google-api-go-client) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).


Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/go-mgmt-sdk-release-guideline.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.9.0...sdk/azcore/v1.10.0)

Updates `github.com/minio/minio-go/v7` from 7.0.91 to 7.0.92
- [Release notes](https://github.com/minio/minio-go/releases)
- [Commits](https://github.com/minio/minio-go/compare/v7.0.91...v7.0.92)

Updates `google.golang.org/api` from 0.232.0 to 0.233.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.232.0...v0.233.0)

Updates `google.golang.org/grpc` from 1.72.0 to 1.72.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.0...v1.72.1)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: common-golang-dependencies
- dependency-name: github.com/minio/minio-go/v7
  dependency-version: 7.0.92
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/api
  dependency-version: 0.233.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: common-golang-dependencies
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.1
  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>
2025-05-19 21:07:31 -07:00
dependabot[bot]
6d34ca8688 build(deps): bump github.com/prometheus/common (#4583) 2025-05-20 00:56:26 +00:00
Jarek Kowalski
496f2d5d96 build(deps): updated all dependencies of KopiaUI app (#4580) v0.20.0 2025-05-18 18:56:17 -07:00
Jarek Kowalski
ba29f2cb00 fix(ci): fix HTMLUI changelog (#4579) 2025-05-17 18:53:50 -07:00
Jarek Kowalski
c4f38ea728 chore(ci): auto-generate clean htmlui changelog (#4578) 2025-05-17 18:17:34 -07:00
Kopia Builder [bot]
ccf2621133 feat(ui): upgraded htmlui to the latest version (#4577) 2025-05-17 15:41:37 -07:00
remigius42
36a68abc45 fix(kopiaui): adjust handling of default repository (#4561)
- Only create the default repository if no repositories are
  configured.
- Don't open repository window at startup if repositories are
  configured.

This introduces an additional env variable `KOPIA_CUSTOM_APPDATA`
which is used in the tests but could be used in other scenarios as
well.
2025-05-17 21:50:51 +00:00
Kopia Builder [bot]
db71fc3ba7 feat(ui): upgraded htmlui to the latest version (#4575) 2025-05-17 10:49:02 -07:00
Kopia Builder [bot]
9c853b2d41 feat(ui): upgraded htmlui to the latest version (#4574) 2025-05-16 04:59:22 +00:00
Rohit-BM18
dbf5bacdc8 feat(cli): helper functions to get preceding snapshots for diff (#4559)
Add helper functions and relevant tests for fetching previous snapshot manifests
2025-05-13 04:14:33 +00:00
Julio Lopez
0520e17294 chore(ci): upgrade Go toolchain to 1.23.9 (#4568) 2025-05-12 18:03:52 -07:00