Commit Graph

2854 Commits

Author SHA1 Message Date
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
dependabot[bot]
68285c638d build(deps): bump google.golang.org/protobuf from 1.29.1 to 1.30.0 (#2872) 2023-03-31 15:38:35 +00:00
Julio Lopez
d5d150104f chore(build): upgrade to Go 1.20 (#2876) 2023-03-31 07:58:37 -07:00
Christoph Anderson
c624b8eece fix(general): Fixed ordering in function "isAbs" in ospath (#2850)
The special case (Windows) has to be checked before "filepath.IsAbs".
The test for internal\ospath now return success.

Co-authored-by: lupusA <lupuapps@gmail.com>
2023-03-31 04:19:14 +00:00
Jarek Kowalski
88f223c6cf fix(cli): fixed help formatting broken with recent upgrade to kingpin/v2 (#2868) 2023-03-30 01:32:28 +00:00
dependabot[bot]
d8e6273ac9 build(deps): bump github.com/fatih/color from 1.14.1 to 1.15.0 (#2874)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.14.1...v1.15.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>
2023-03-29 17:51:44 -07:00
dependabot[bot]
5c0b878de2 build(deps): bump go.uber.org/multierr from 1.10.0 to 1.11.0 (#2873)
Bumps [go.uber.org/multierr](https://github.com/uber-go/multierr) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/uber-go/multierr/releases)
- [Changelog](https://github.com/uber-go/multierr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/multierr/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: go.uber.org/multierr
  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>
2023-03-29 17:48:56 -07:00
Christoph Anderson
365f48423b docs(site): improved faq and kopiaignore section (#2864)
- Improved the wording in the FAQ section.
- Added the documentation on kopiaignore to the faqs.
- Added the faqs to the main menu
- Added a link the kopiaignore documentation in the features section
- Added a paragraph on incomplete snapshots in the faqs
2023-03-29 17:35:19 -07:00
dependabot[bot]
314af02fc4 build(deps): bump github.com/aws/aws-sdk-go from 1.44.207 to 1.44.232 (#2871) 2023-03-30 00:24:36 +00:00
dependabot[bot]
1660c900e2 build(deps): bump go.uber.org/multierr from 1.9.0 to 1.10.0 (#2829) 2023-03-29 01:48:47 +00:00
dependabot[bot]
dabce4cc1c build(deps): bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#2856) 2023-03-29 00:56:18 +00:00
dependabot[bot]
0c2a26bb2a build(deps): bump go.opentelemetry.io/otel/exporters/jaeger (#2867) 2023-03-29 00:30:56 +00:00
dependabot[bot]
b6b44eadb1 build(deps): bump cloud.google.com/go/storage from 1.29.0 to 1.30.1 (#2866) 2023-03-29 00:26:55 +00:00
Julio Lopez
f89fe39927 chore(robustness): use zero value for strings.Builder (#2863) 2023-03-28 09:46:29 -07:00
Julio Lopez
febb95262d build(deps): bump github.com/google/fswalker (#2860)
Bumps [github.com/google/fswalker](https://github.com/google/fswalker) from 0.2.1-0.20200214223026-f0e929ba4126 to 0.3.0.
- [Release notes](https://github.com/google/fswalker/releases)
- [Commits](https://github.com/google/fswalker/commits/v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/fswalker
  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>
2023-03-28 07:36:25 +00:00
Julio Lopez
7b44fd7213 chore(general): move test-only functions to _test.go file (#2859) 2023-03-28 05:55:31 +00:00
dependabot[bot]
5a25affd2a build(deps): bump actions/setup-go from 3 to 4 (#2841)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2023-03-28 04:45:19 +00:00