blenderfreaky
6cd728394d
fix(site): escape flags with backticks ( #4479 )
...
* fix(site): escape flags with backticks
In the generated markdown docs, flags like `--foo` inside
help texts currently get pretty-printed as `–foo` with an em-dash.
This change applies backticks via a regex replacement, so that
they appear as `--foo` in the docs but remain as --foo in the
CLI output.
---------
Co-authored-by: Julio Lopez <1953782+julio-lopez@users.noreply.github.com >
2025-04-23 23:42:29 -07:00
Julio López
5150b92334
fix(build): correct command to get commit date ( #4508 )
...
Fixes issue introduced in #4506
2025-04-16 23:14:25 -07:00
Julio López
eb2e301b73
chore(ci): utc commit date ( #4506 )
2025-04-16 23:06:30 -07:00
Matthieu MOREL
675e958877
chore(ci): bump golangci-lint to v2.1.2 ( #4500 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-15 22:49:13 -07:00
Jarek Kowalski
83c8d0b99c
chore(ci): upgrade Go to 1.23 ( #4248 )
...
* chore(ci): upgrade Go to 1.23.3
* also upgrade checklocks
* specify Go toolchain version in go.mod
---------
Co-authored-by: Julio López <1953782+julio-lopez@users.noreply.github.com >
2025-01-23 21:21:30 -08:00
Jarek Kowalski
b60cac4860
fix(cli): fixed v0.18.0 failures using v0.17.0-generated config ( #4255 )
...
This was caused by the client using key derivation algorithm
from a config file (which did not have it when it was generated
using old version of Kopia).
Fixes #4254
2024-11-17 10:15:00 -08:00
Jarek Kowalski
68c5308e4e
chore(ci): use 'npm ci' when building on CI ( #4253 )
2024-11-16 14:09:48 -08:00
Jarek Kowalski
eb1cf64c27
chore(ci): upgraded linter to 1.62.0 ( #4250 )
2024-11-16 07:16:50 -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
Julio López
961a39039b
refactor(general): use errors.New where appropriate ( #4160 )
...
Replaces 'errors.Errorf\("([^"]+)"\)' => 'errors.New("\1")'
2024-10-05 19:05:00 -07:00
Jarek Kowalski
ac446a2d16
chore(ci): upgraded linter to 1.60.3 ( #4086 )
...
* silenced several 'gosec' findings
2024-09-03 21:29:56 -07:00
Jarek Kowalski
ed3268b469
feat(general): upgraded rclone to 1.67 in the Docker image ( #3995 )
2024-07-22 08:37:39 -07:00
Jarek Kowalski
d9fd912c8d
chore(ci): upgrade NodeJS to 20.15.1 LTS ( #3993 )
2024-07-21 11:27:21 -07:00
Jarek Kowalski
c7206800ab
chore(ci): fix RPM publishing ( #3971 )
2024-07-11 07:13:39 -07:00
Jarek Kowalski
fcb8197f3f
chore(ci): upgraded linter to 1.59.0 ( #3883 )
2024-05-29 20:31:57 -07:00
Jarek Kowalski
09415e0c7d
chore(ci): upgraded to go 1.22 ( #3746 )
...
Upgrades go to 1.22 and switches to new-style for loops
---------
Co-authored-by: Julio López <1953782+julio-lopez@users.noreply.github.com >
2024-04-08 09:52:47 -07:00
Jarek Kowalski
7278f570e2
chore(ci): upgraded linter to 1.57.1 ( #3753 )
2024-03-25 22:20:38 -07:00
Jarek Kowalski
29cd545c33
chore(ci): upgrade linter to 1.56.2 ( #3714 )
2024-03-09 10:39:11 -08:00
Jarek Kowalski
a8e4d50600
build(deps): upgraded linter to v1.55.2, fixed warnings ( #3611 )
...
* build(deps): upgraded linter to v1.55.2, fixed warnings
* removed unsafe hacks with better equivalents
* test fixes
2024-02-02 23:34:34 -08:00
Christoph Anderson
7b89fe173c
Removed summary in command section ( #3590 )
...
Co-authored-by: lupusA <lupuapps@gmail.com >
2024-01-26 11:06:24 -08:00
Julio Lopez
7a0a68ecc1
chore(ci): upgrade gotestsum to 1.11.0 ( #3534 )
...
It seems that version 1.10.0 is no longer available for some platforms,
such as Windows.
Release notes:
https://github.com/gotestyourself/gotestsum/releases/tag/v1.11.0
2023-12-21 16:27:44 -08:00
Jarek Kowalski
916daf0a4f
chore(ci): auto-delete old RPM and DEB packages ( #3310 )
...
This was previously done in `unstable` track, now doing it everywhere.
At the same time bumped the count 2=>3.
2023-09-16 12:16:50 -07:00
Jarek Kowalski
64a0df6f4e
fix(ui): changed default tab to Snapshots ( #3308 )
2023-09-16 10:01:13 -07:00
Jarek Kowalski
abb5922085
chore(ci): switched back to LTS version of Ubuntu for Docker image ( #3295 )
2023-09-12 22:32:27 -07:00
Jarek Kowalski
20f2900eee
chore(ci): upgrade rclone to 1.63.1 ( #3278 )
2023-09-06 20:14:39 -07:00
Jarek Kowalski
af7b97f70a
chore(ci): added exponential back-off to gettool ( #3267 )
2023-09-04 09:07:48 -07:00
Jarek Kowalski
1120e4f629
chore(ci): reenable check-locks after the fix was merged upstream ( #3245 )
2023-08-22 19:41:03 -07:00
Jarek Kowalski
a12f81bb6f
chore(ci): upgraded linter to 1.54.0 ( #3239 )
2023-08-20 17:00:32 -07:00
Redge
0d2a7c83a0
Update Dockerfile to install tzdata ( #3191 )
...
This patch the issue #2311
The package tzdata is missing in the Docker image.
2023-08-04 20:37:14 -07:00
Jarek Kowalski
3eef67d2dc
chore(ci): bump gotestsum to v1.10.0 ( #3083 )
2023-06-18 13:26:24 -07:00
Jarek Kowalski
cbc66f936d
chore(ci): upgraded linter to 1.53.3 ( #3079 )
...
* chore(ci): upgraded linter to 1.53.3
This flagged a bunch of unused parameters, so the PR is larger than
usual, but 99% mechanical.
* separate lint CI task
* run Lint in separate CI
2023-06-18 13:26:01 -07:00
Jarek Kowalski
5cf54906ec
chore(site): upgraded site to latest hugo and removed vendored files ( #3078 )
...
* chore(site): upgraded site to latest hugo and removed vendored files
This switches to using github.com/google/docsy as a Hugo module,
so we don't need to vendor the theme anymore or its dependencies.
* layout
* more style, edit MD support
* style
* style
* fixed linter errors
* update text
2023-06-18 11:41:01 -07:00
Kopia Builder [bot]
7ce65add79
build(deps): switch to ubuntu:kinetic in tools/docker/Dockerfile to reduce vulnerabilities ( #3076 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU2204-LIBCAP2-5538282
- https://snyk.io/vuln/SNYK-UBUNTU2204-LIBCAP2-5538296
- https://snyk.io/vuln/SNYK-UBUNTU2204-NCURSES-5423142
- https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-5661537
- https://snyk.io/vuln/SNYK-UBUNTU2204-PERL-5499877
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-06-18 11:22:25 -07: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
Julio Lopez
cb2d117533
build(tests): fix mc installation ( #2910 )
2023-04-10 01:36:53 +00:00
YFdyh000
fed807f20e
fix(repository): fixed connect broken since rclone v1.61.0 ( #2853 )
...
* fix(repository): fixed connect broken since rclone v1.61.0
4444d2d102 (diff-3bfe93b28218b8e93a7480a5684d21ac566795a0fa8e540ec1bc6cbe7028439eR295)
* build(deps): bumped rclone binary to 1.62.2
2023-03-28 01:55:13 +00:00
Jarek Kowalski
939152cfda
chore(ci): upgraded linter to 1.51.1, minor style fixes ( #2748 )
2023-02-09 06:47:36 +00:00
Jarek Kowalski
f69424961f
chore(ci): upgrade golang to 1.19.2 and linter to 1.50.1 ( #2526 )
...
Lack of generics support is blocking various dependency upgrades,
so this unblocks that.
Temporarily disabled `checklocks` linter until it is fixed upstream.
2022-10-28 11:02:47 -07:00
Yanik39
7cb57d4b6b
docs(site): example docker-compose.yml ( #2253 )
2022-10-01 20:19:11 -07:00
Jarek Kowalski
704c07178e
fix(ci): fixed git working directory cleanup issue ( #2383 )
...
https://github.com/kopia/kopia/runs/8243012442?check_suite_focus=true
This is caused by weird permissions set on files by `go install`
which makes it hard to remove the entire directory using `rm -rf`.
The solution is to clean (local) module cache after `go install` which
makes subsequent `rm -rf` work without a problem.
2022-09-08 07:39:56 -07:00
Jarek Kowalski
afdfad6691
feat(general): move kopia binary in Docker container to /bin/kopia ( #2368 )
2022-09-04 21:02:15 +00:00
s-h-a-r-d
63257d9537
feat(general): add curl to Docker container image ( #2363 )
2022-09-03 21:30:13 +00:00
chaitalisg
b61a7627e9
test(general): Add test for snapshot fix command ( #2018 )
...
* add robustness test for snapshot fix commands
* temporary change to see if plumbing works
* add robustness test for snapshot fix commands
* temporary change to see if plumbing works
* debug
* revert changes to robustness main_test
* Move recovery tests to a new package
* Revert unwanted changes
* Updated make target
* Temporary change for a pipeline run
* Resolve go package issues
* Remove local path used for debugging
* Debugging
* Debugging
* Add new orchestration script for recovery test
* Add comments
* Add comments
* Revert changes to robustness job script
* Remove unawanted files
* Change permissions for the orchestration script
* Fix typo
* Executable
* Update orchestration script
* Fix linter errors
* Fix linter errors
* Fix linter errors
* fix: linter grouping issue
* Fix linter errors
* Fix linter errors
* Update tests/recovery/blobmanipulator/blobmanipulator.go
Co-authored-by: Aaron Alpar <55999015+aaron-kasten@users.noreply.github.com >
* Implement feedback
* Implement feedback
* Fix linter errors
* Address feedback
* Add maintenance functions
* Added mechanism to interrupt kopia operation during the test run
* Fix linter errors
* Revert debugging changes
* Fix linter errors
* Fix linter errors
* Replace syscall
* Skip test when KOPIA_EXE is not set
* Remove debugging changes
* Add kopia command interruption to simulate corruption
* Check if command is running before killing
* Delete a snapshot before calling maintenance
* Remove nil check for the process
Co-authored-by: Shikhar Mall <small@kopia.io >
Co-authored-by: Aaron Alpar <55999015+aaron-kasten@users.noreply.github.com >
2022-08-09 09:44:18 -07:00
Jarek Kowalski
51dcaa985d
chore(ci): upgraded linter to 1.48.0 ( #2294 )
...
Mechanically fixed all issues, added `lint-fix` make target.
2022-08-09 06:07:54 +00:00
Jarek Kowalski
21a0e4c1f6
fix(general): install missing ca-certificates in Docker ( #2280 )
...
Fixes #2278
2022-08-05 07:24:30 -07:00
Yanik39
93ede2844b
feat(general): container image based on Ubuntu ( #2252 )
2022-07-31 10:03:46 -07:00
Jarek Kowalski
31c5bd94bc
build(deps): bumped rclone binary to 1.59.0 ( #2221 )
2022-07-23 06:50:43 +00:00
Jarek Kowalski
1a82061e49
chore(ci): upgraded linter to 1.47.0, added 15s ReadHeaderTimeout in web server ( #2206 )
2022-07-18 22:47:36 -07:00
Jarek Kowalski
d25e2ad026
feat(infra): added make kopia-ui-with-local-htmlui-changes ( #2062 )
...
This allows building of KopiaUI with local changes make to htmlui/
repository.
In order for this to work you must have 3 repositories checked out
side-by-side:
* https://github.com/kopia/kopia
* https://github.com/kopia/htmlui
* https://github.com/kopia/htmluibuild
2022-06-18 22:49:39 +00:00
Jarek Kowalski
1ffad15069
chore(ci): upgraded linter to 1.46.2 ( #2027 )
2022-06-10 05:30:07 +00:00