Commit Graph

2870 Commits

Author SHA1 Message Date
Jarek Kowalski
f4dae8dea4 chore(ci): trigger CI rebuild after signing key update (#2950) 2023-04-16 22:34:42 -07:00
Jarek Kowalski
cbc204a2c7 fix(repository): remove metrics.Registry from repo.Repository (#2944) 2023-04-14 19:16:10 -07:00
Denis Voytyuk
5d8e1134c1 test(general): added unit tests for diff (#2931) 2023-04-14 19:05:54 -07:00
dependabot[bot]
3fee62b31b build(deps): bump github.com/aws/aws-sdk-go from 1.44.243 to 1.44.244 (#2943) 2023-04-15 00:34:02 +00:00
Denis Voytyuk
2063a343f3 test(general): added tests for iocopy (#2932) 2023-04-14 16:57:57 -07:00
Denis Voytyuk
36e2b9ff89 test(general): added tests for tlsutil (#2933) 2023-04-14 16:56:46 -07:00
dependabot[bot]
a8b3e870f1 build(deps-dev): bump concurrently from 7.6.0 to 8.0.1 in /app (#2880)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.6.0 to 8.0.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.6.0...v8.0.1)

---
updated-dependencies:
- dependency-name: concurrently
  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>
2023-04-13 22:25:47 -07:00
dependabot[bot]
7cb4b378ac build(deps-dev): bump electron from 23.1.3 to 24.1.1 in /app (#2940)
Bumps [electron](https://github.com/electron/electron) from 23.1.3 to 24.1.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/v23.1.3...v24.1.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>
2023-04-13 21:19:36 -07:00
Jarek Kowalski
2568eebc6e chore(general): fixed remaining checklocks violations (#2939)
We can't enable checklocks on CI yet until
https://github.com/google/gvisor/pull/8807 is merged upstream.

This was tested with private build of checklocks with this patch
applied and the results were clean.
2023-04-13 20:11:36 -07:00
dependabot[bot]
e006f99565 build(deps-dev): bump electron-builder from 24.0.0 to 24.2.0 in /app (#2922)
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) from 24.0.0 to 24.2.0.
- [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/v24.2.0/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>
2023-04-13 20:09:27 -07:00
Denis Voytyuk
bfeef01d23 test(general): added unit tests for freepool (#2930) 2023-04-13 18:58:16 -07:00
dependabot[bot]
4734788dd1 build(deps): bump github.com/prometheus/client_golang (#2938) 2023-04-14 01:34:41 +00:00
dependabot[bot]
de02a2ae0b build(deps): bump google.golang.org/api from 0.117.0 to 0.118.0 (#2935) 2023-04-14 00:57:25 +00:00
dependabot[bot]
4d1ec516e3 build(deps): bump github.com/aws/aws-sdk-go from 1.44.241 to 1.44.243 (#2937) 2023-04-14 00:26:29 +00:00
dependabot[bot]
7b12ec94e9 build(deps): bump github.com/minio/minio-go/v7 from 7.0.51 to 7.0.52 (#2927) 2023-04-12 01:03:50 +00:00
dependabot[bot]
7b5f4774af build(deps): bump github.com/aws/aws-sdk-go from 1.44.240 to 1.44.241 (#2926) 2023-04-12 00:28:44 +00:00
Julio Lopez
efae8eee46 chore(infra): do not remove branches on stale workflow (#2925)
That requires repo content write access.
2023-04-11 19:27:40 -04:00
Julio Lopez
eac7d51371 deps(infra): upgrade actions/stale to v8 (#2924)
Also, specify 'stale' label
2023-04-11 19:16:13 -04:00
Aaron Alpar
ac8446b028 fix(deps-dev): fixup mutex for make check-locks (#2920) 2023-04-11 15:58:20 -04:00
Julio Lopez
8f2499b94b breaking(cli): remove deprecated 'snapshot gc' command (#2862)
* remove deprecated `snapshot gc` command
* run `maintenance` instead of `snapshot gc` in robustness
* use `maintenance` command instead of `gc` alias for clarity
* use `maintenance run` in `TestSnapshotDeleteRestore`
2023-04-10 23:17:32 -04:00
Julio Lopez
cfe352f9d5 build(infra): manage stale issues and pull requests (#2916) 2023-04-10 22:31:01 -04:00
dependabot[bot]
48f5816312 build(deps): bump github.com/aws/aws-sdk-go from 1.44.239 to 1.44.240 (#2915) 2023-04-11 01:45:27 +00:00
dependabot[bot]
6f5ef930f5 build(deps): bump google.golang.org/api from 0.116.0 to 0.117.0 (#2914) v0.13.0-rc1 2023-04-11 00:27:19 +00:00
dependabot[bot]
c14f4a3f9a build(deps): bump github.com/minio/minio-go/v7 from 7.0.50 to 7.0.51 (#2911) 2023-04-10 16:35:52 +00:00
Julio Lopez
aabf183cca Revert "build(tests): fix mc installation (#2910)" (#2912)
This reverts commit cb2d117.

The issue was fixed upstream in minio/mc#4541

Fixes #2908
2023-04-10 16:00:44 +00:00
dependabot[bot]
f63f0ed4e9 build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#2904) 2023-04-10 02:14:06 +00:00
Julio Lopez
cb2d117533 build(tests): fix mc installation (#2910) 2023-04-10 01:36:53 +00:00
Julio Lopez
9a9048c121 breaking(cli): remove default behavior for CLI command (#2861)
* breaking(cli): remove default behavior for `snapshot` command

command: snapshot
default-subcommand: create

* breaking(cli): remove default behavior for `cache` command

command: cache
default-subcommand: info

* breaking(cli): remove default behavior for `index` command

command: index
default-subcommand: list

* breaking(cli): remove default behavior for `maintenance` command

command: maintenance
default-subcommand: run

* breaking(cli): remove default behavior for `manifest` command

command: manifest
default-subcommand: list

* breaking(cli): remove default behavior for `repository upgrade` command

command: repository upgrade
default-subcommand: begin

* breaking(cli): remove default behavior for `server` command

command: server
default-subcommand: start
2023-04-09 01:34:36 +00:00
Shikhar Mall
9f9309ad2a feat(repository): live cache eviction of expired BLOBs in persistent LRU content cache (#2879)
* feat(repository): live cache eviction for persistent lru content cache

* Update internal/cache/persistent_lru_cache.go

Co-authored-by: Ali Dowair <adowair@umich.edu>

* merge the mutex cache into list cache

---------

Co-authored-by: Shikhar Mall <small@kopia.io>
Co-authored-by: Ali Dowair <adowair@umich.edu>
2023-04-08 04:30:45 +00:00
dependabot[bot]
5a95fffb5f build(deps): bump github.com/aws/aws-sdk-go from 1.44.238 to 1.44.239 (#2906) 2023-04-08 01:00:32 +00:00
dependabot[bot]
67aa039f1d build(deps): bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 (#2905) 2023-04-08 00:24:27 +00:00
Julio Lopez
8706239a9f build(infra): checkout repo before setting up Go (#2903)
This way GH caching for Go packages has a chance to work.
See https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs

* build(providers): checkout repo before setting up Go
* build(infra): checkout repo before setting up Go: apply to other workflows as well.
2023-04-07 17:22:05 -04:00
Julio Lopez
9fc39b95c0 build(deps): upgrade github.com/hashicorp/golang-lru to 0.6.0 (#2901)
v1.0.1 is unusable

v2.x.x has incompatible API due to generics. Requires additional work.
2023-04-06 22:40:30 +00:00
dependabot[bot]
6a05b18097 build(deps): bump github.com/klauspost/compress from 1.16.3 to 1.16.4 (#2896)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.16.3 to 1.16.4.
- [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.16.3...v1.16.4)

---
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>
2023-04-06 17:50:57 -04:00
dependabot[bot]
e7cbba2f25 build(deps): bump github.com/aws/aws-sdk-go from 1.44.237 to 1.44.238 (#2900) 2023-04-06 21:04:11 +00:00
dependabot[bot]
0cafa794d0 build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 (#2898) 2023-04-06 20:36:37 +00:00
dependabot[bot]
ca47c6c828 build(deps): bump github.com/aws/aws-sdk-go from 1.44.236 to 1.44.237 (#2897) 2023-04-06 20:00:45 +00:00
dependabot[bot]
7c174b5f4c build(deps): bump google.golang.org/api from 0.115.0 to 0.116.0 (#2895) 2023-04-06 00:27:53 +00:00
dependabot[bot]
b90908c755 build(deps): bump google.golang.org/api from 0.114.0 to 0.115.0 (#2891) 2023-04-05 02:52:58 +00:00
dependabot[bot]
98e8859570 build(deps): bump github.com/aws/aws-sdk-go from 1.44.235 to 1.44.236 (#2892) 2023-04-05 02:10:32 +00:00
dependabot[bot]
aac1e644ed build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 (#2893) 2023-04-05 01:30:28 +00:00
dependabot[bot]
839fbe3d62 build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 (#2890) 2023-04-05 00:59:07 +00:00
dependabot[bot]
02313d4ce4 build(deps): bump golang.org/x/mod from 0.9.0 to 0.10.0 (#2889) 2023-04-05 00:29:05 +00:00
dependabot[bot]
d2545a647b build(deps): bump github.com/aws/aws-sdk-go from 1.44.234 to 1.44.235 (#2887) 2023-04-04 00:29:46 +00:00
dependabot[bot]
0be749d40e build(deps-dev): bump playwright from 1.31.1 to 1.32.1 in /app (#2883) 2023-04-02 01:24:16 +00:00
dependabot[bot]
40708355f2 build(deps-dev): bump playwright-core from 1.31.1 to 1.32.1 in /app (#2882) 2023-04-02 00:34:58 +00:00
Julio Lopez
58d0e84fb8 build(deps): bump minimist from 1.2.7 to 1.2.8 in /app (#2820)
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.7...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  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>
2023-04-01 01:26:14 +00:00
dependabot[bot]
6276061601 build(deps): bump github.com/aws/aws-sdk-go from 1.44.233 to 1.44.234 (#2878) 2023-04-01 00:28:36 +00:00
Damien Degois
f17daee9ea feat(repository): Add Custom Root CA option for S3 (#2845)
* Add Custom Root CA option

example:

```bash
kopia repository connect s3 \
  --access-key the-access-key \
  --secret-access-key the-secret-key \
  --bucket my-backup-bucket \
  --endpoint localhost:9000 \
  --rootca=$(cat public.crt|base64 -w0)
```

* Handle CA as file too
* Lower case JSON option
* Handle file as well as inline
* Add env variable
* Standardize options names
2023-03-31 14:32:34 -07:00
dependabot[bot]
7e9b3dc8b2 build(deps): bump github.com/aws/aws-sdk-go from 1.44.232 to 1.44.233 (#2875) 2023-03-31 17:58:02 +00:00