Priyansh Choudhary
8d4203ee30
Refactor logging package structure and move context.go to kopialib/backend
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-08-14 11:34:16 +05:30
Priyansh Choudhary
815ae8af02
Remove redundant blank lines in repo.go
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-08-11 14:34:42 +05:30
Priyansh Choudhary
560df6edc3
Implement context-based logging utilities for UDM repositories
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-08-11 13:42:13 +05:30
Priyansh Choudhary
c8bdf07c3a
Add context logger utilities for enhanced logging support
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-08-08 17:12:46 +05:30
Lyndon-Li
34f8b73507
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 15:56:04 +08:00
Lyndon-Li
b5502330e5
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 13:40:12 +08:00
Matthieu MOREL
07ea14962c
fix require-error rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-23 15:39:54 +00:00
Matthieu MOREL
f42335c8af
fix empty rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-22 22:41:08 +02:00
Lyndon-Li
2e7d11e3b6
bump kopia v0.20.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-06-18 13:35:12 +08:00
hu-keyu
e06b62e3a8
issue8827: Pass logger in call chain ( #8875 )
...
Run the E2E test on kind / build (push) Failing after 6m42s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m4s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 56s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 57s
* Pass logger in call chain
Signed-off-by: hu-keyu <hzldd999@gmail.com >
2025-04-23 14:44:05 +08:00
Tiger Kaovilai
178b6e3db5
add more maintenance interval unit tests
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-21 14:22:11 -06:00
Tiger Kaovilai
3fb8c72b6c
empty string case
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-20 16:40:49 -06:00
Tiger Kaovilai
92617d07c5
log only if not equal
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-20 16:40:49 -06:00
Tiger Kaovilai
21ae1cbe82
Address https://github.com/vmware-tanzu/velero/pull/8581#pullrequestreview-2622445640
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-20 16:40:48 -06:00
Tiger Kaovilai
5a79e70d79
Configurable Kopia Maintenance Interval
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
comment update
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
comment
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-20 16:40:48 -06:00
Matthieu MOREL
cbba3bdde7
chore: enable use-any from revive
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-17 07:58:10 +01:00
Lyndon-Li
e79dbb8d60
change udmrepo config file location to tmp
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-13 15:53:54 +08:00
Lyndon-Li
3cd85f5b43
ping kopia to 0.18.2
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-03 13:06:26 +08:00
Lyndon-Li
82d9fe4d4d
backup repo config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-07 15:34:57 +08:00
Lyndon-Li
7b7727e808
issue 7620: backup repo config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-31 16:41:27 +08:00
Matthieu MOREL
35c90f1672
testifylint: enable error-nil rule ( #7670 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 12:23:16 -04:00
Lyndon-Li
18976c0a62
kopia: index compaction during maintenance
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-29 15:24:47 +08:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00
Lyndon-Li
5d48e36b55
open kopia with no index change
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-25 18:14:43 +08:00
Lyndon-Li
24c4eb075f
issue 7211: support concatenate objects
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-21 17:34:04 +08:00
Wenkai Yin(尹文开)
b598150cd1
Support setting CA cert for BSL
...
Support setting CA cert for BSL
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-19 11:28:05 +08:00
Wenkai Yin(尹文开)
3a291e368a
Make Kopia support Azure AD
...
This commit introduces our own Azure storage provider by wrapping Kopia's implementation rather than contributing to upstream based on the following considerations:
1. Velero needs the capability to interact with the repository concurrently while Kopia doesn't, this will increase the complexity of Kopia if we contribute to upstream
2. The configuration items provided by Velero and Kopia are conflict, e.g. Velero supports customizing storage account URI which is a full path while Kopia supports customizing storage account domain which is part of the URI. We need to consider the backward compatibility and upgrade case if we contribute to upstream which needs extra efforts
3. Contribute to upstream is a longer cycle when we need to introduce new changes. With this commit, we no longer depends on upstream for the Azure storage provider part and is easy for us to maintain
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-19 11:28:04 +08:00
lyndon
5af664d361
bump kopia to v0.14 ( #6833 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-18 21:05:21 +08:00
Tiger Kaovilai
05722876b9
Moving kopia logging to remove kopia from indirect dependency in velero plugins
...
when running `go mod why -m github.com/kopia/kopia` in velero-plugins prior to this change you will see following
```
❯ go mod why -m github.com/kopia/kopia
github.com/konveyor/openshift-velero-plugin/velero-plugins
github.com/vmware-tanzu/velero/pkg/plugin/framework
github.com/vmware-tanzu/velero/pkg/util/logging
github.com/kopia/kopia/repo/logging
```
after
```
❯ go mod why -m github.com/kopia/kopia
(main module does not need module github.com/kopia/kopia)
```
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-07-12 10:44:33 -04:00
Lyndon-Li
38d5003c6b
add ut for pkg/repository
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-29 07:40:59 +00:00
lyndon
59965af775
Merge pull request #6296 from Lyndon-Li/issue-fix-6258
...
Fix issue 6258
2023-06-01 16:03:52 +08:00
Lyndon-Li
7243efdb7c
fix issue 6258
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-01 14:27:10 +08:00
Lyndon-Li
660fbfab71
Merge branch 'main' into issue-fix-5875
2023-05-18 16:04:00 +08:00
Lyndon-Li
124e142583
fix issue 5875
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-18 15:48:08 +08:00
Lyndon-Li
725d8fb35d
fix issue 5123
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-10 12:09:16 +08:00
Lyndon-Li
9fea274fca
bump up kopia v0.13.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-10 10:26:10 +08:00
Xun Jiang/Bruce Jiang
e106bbf06b
Enable linter revive and resolve found errors: part 2. ( #6177 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-26 14:05:22 +08:00
Xun Jiang
bbc1e2e151
Enable stylecheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 14:37:02 +08:00
Fish-pro
843c70959f
Clean up unnecessary convert ( #5819 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io >
2023-02-06 14:50:31 +08:00
Lyndon-Li
6c8981b0ad
fix issue 5386
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-23 16:52:38 +08:00
Lyndon-Li
a90ba3db7c
kopia pvbr smoking test changes
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-07 13:22:49 +08:00
Lyndon-Li
3769cd218a
kopia lib
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-26 15:25:20 +08:00
Lyndon-Li
d58abb2477
repo init
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-18 19:45:49 +08:00
lyndon
775943c858
code spell check ( #5230 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-18 18:17:39 +08:00
Lyndon-Li
649c3a77df
unified repo provider impl
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-09 20:48:31 +08:00
lyndon
52fd18e9db
Kopia Integration Change - Storage Configuration ( #5142 )
...
* unified repo storge config
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* add UT
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-07-29 16:06:18 +08:00