Michael Eischer
8ad7cfa60a
bump minimum go version to 1.23
2025-04-14 20:44:28 +02:00
Michael Eischer
10a06dcbf1
Merge pull request #325 from restic/dependabot/go_modules/golang.org/x/crypto-0.33.0
...
Bump golang.org/x/crypto from 0.32.0 to 0.33.0
2025-02-17 21:46:52 +01:00
Michael Eischer
a976a2145b
Merge pull request #326 from restic/dependabot/go_modules/github.com/spf13/cobra-1.9.1
...
Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
2025-02-17 21:43:11 +01:00
Michael Eischer
5938f9aacd
Merge pull request #323 from MichaelEischer/update-issue-templates
...
Sync issue and pr templates with restic
2025-02-17 21:38:35 +01:00
Michael Eischer
376392a89c
Merge pull request #322 from MichaelEischer/bump-go-version
...
Bump minimum go version to 1.22
2025-02-17 21:37:02 +01:00
Michael Eischer
13f461740d
sync issue and pr template with restic
2025-02-07 23:47:46 +01:00
Michael Eischer
e9e6529345
update dependencies
2025-02-07 22:44:58 +01:00
Michael Eischer
a0110bb902
add changelog
2025-02-07 22:44:58 +01:00
Michael Eischer
82c5a314f9
CI: sync pipeline with restic
2025-02-07 22:44:58 +01:00
Michael Eischer
9fc5066fc4
fix most linter errors
2025-02-07 22:34:40 +01:00
Michael Eischer
3e0737a8bd
sync golangci config with restic
2025-02-07 22:34:40 +01:00
Michael Eischer
9195526406
bump minimum go version to 1.22
2025-02-02 22:32:12 +01:00
Michael Eischer
2513a698f3
Merge pull request #302 from restic/dependabot/go_modules/golang.org/x/crypto-0.27.0
...
test / Go ${{ matrix.go }} (1.18.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.19.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.20.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.21.x) (push) Has been cancelled
test / lint (push) Has been cancelled
Bump golang.org/x/crypto from 0.25.0 to 0.27.0
2024-12-01 17:59:35 +01:00
Michael Eischer
e35c6e39d9
Merge pull request #295 from restic/append-only-status
...
test / Go ${{ matrix.go }} (1.18.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.19.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.20.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.21.x) (push) Has been cancelled
test / lint (push) Has been cancelled
Output status of append only mode on startup
2024-07-29 19:36:59 +02:00
Michael Eischer
e8a9fbc88f
Merge pull request #290 from MichaelEischer/bump-dependencies
...
test / Go ${{ matrix.go }} (1.18.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.19.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.20.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.21.x) (push) Has been cancelled
test / lint (push) Has been cancelled
Bump dependencies and replace deprecated goreleaser option
2024-07-10 21:11:49 +02:00
Michael Eischer
7b2639b21e
replace deprecated goreleaser options
2024-07-06 17:40:45 +02:00
Michael Eischer
40fd34e7c8
bump dependencies
2024-07-06 17:40:45 +02:00
Michael Eischer
a6323b5e98
Merge pull request #288 from restic/dependabot/go_modules/github.com/spf13/cobra-1.8.1
...
test / Go ${{ matrix.go }} (1.18.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.19.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.20.x) (push) Has been cancelled
test / Go ${{ matrix.go }} (1.21.x) (push) Has been cancelled
test / lint (push) Has been cancelled
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1
2024-06-26 19:26:28 +02:00
Michael Eischer
add9b066f9
Merge pull request #285 from restic/dependabot/github_actions/golangci/golangci-lint-action-6
...
Bump golangci/golangci-lint-action from 5 to 6
2024-06-11 22:19:04 +02:00
Michael Eischer
e35f649f07
Merge pull request #287 from restic/dependabot/go_modules/golang.org/x/crypto-0.24.0
...
Bump golang.org/x/crypto from 0.22.0 to 0.24.0
2024-06-11 22:15:24 +02:00
Michael Eischer
d3fedbefe5
Merge pull request #281 from restic/dependabot/github_actions/golangci/golangci-lint-action-5
...
Bump golangci/golangci-lint-action from 4 to 5
2024-05-06 21:22:34 +02:00
Michael Eischer
d8cbfd1f63
Merge pull request #280 from restic/dependabot/go_modules/golang.org/x/crypto-0.22.0
...
Bump golang.org/x/crypto from 0.21.0 to 0.22.0
2024-05-06 21:22:20 +02:00
Michael Eischer
705c83a714
Merge pull request #278 from benjamonnguyen/update-compose-with-grafana-example
...
fix docker-compose.yml for compose-with-grafana example
2024-03-27 18:59:33 +01:00
Michael Eischer
421c542e31
Merge pull request #279 from restic/dependabot/go_modules/google.golang.org/protobuf-1.33.0
...
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
2024-03-27 18:49:14 +01:00
Michael Eischer
a2b39539a3
Merge pull request #277 from restic/dependabot/go_modules/golang.org/x/crypto-0.21.0
...
Bump golang.org/x/crypto from 0.19.0 to 0.21.0
2024-03-07 13:31:29 +01:00
Michael Eischer
0c735187ba
Merge pull request #272 from ae-govau/unixsocket
...
Enhancement: add support for unix socket listen
2024-02-23 18:39:47 +01:00
Michael Eischer
55f43b815c
Merge pull request #274 from restic/dependabot/go_modules/golang.org/x/crypto-0.19.0
...
Bump golang.org/x/crypto from 0.18.0 to 0.19.0
2024-02-18 12:11:33 +01:00
Michael Eischer
b3522ae2ac
Merge pull request #275 from restic/dependabot/github_actions/golangci/golangci-lint-action-4
...
Bump golangci/golangci-lint-action from 3 to 4
2024-02-18 12:11:27 +01:00
Michael Eischer
13083acc1a
Merge pull request #273 from ae-govau/gracefulshutdown
...
fix: shutdown gracefully on TERM or INT signals
2024-02-08 19:30:39 +01:00
Michael Eischer
b28bea1de4
Merge pull request #271 from ae-govau/printlistenaddr
...
fix: print the actual address listened on
2024-02-05 20:52:01 +01:00
Michael Eischer
4bfb2eaa81
simplify changelog for listen address
2024-02-05 20:50:09 +01:00
Michael Eischer
3ce6aaf2b6
Merge pull request #268 from restic/dependabot/go_modules/golang.org/x/crypto-0.18.0
...
Bump golang.org/x/crypto from 0.17.0 to 0.18.0
2024-01-13 19:47:30 +01:00
Michael Eischer
e388fcddde
Merge pull request #270 from pagdot/patch-1
...
Update rest-server.socket with correct default rest-server port
2024-01-13 19:47:14 +01:00
Michael Eischer
29753193ac
Merge pull request #266 from restic/dependabot/go_modules/github.com/prometheus/client_golang-1.18.0
...
Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0
2024-01-06 22:20:52 +01:00
Michael Eischer
f36b6504fc
Merge pull request #267 from MichaelEischer/require-go-1.18
...
Bump require go version to 1.18
2024-01-06 22:15:52 +01:00
Michael Eischer
04418c721f
require go 1.18
2024-01-06 22:11:49 +01:00
Michael Eischer
c615b9dbdd
Merge pull request #264 from restic/dependabot/github_actions/actions/setup-go-5
...
Bump actions/setup-go from 4 to 5
2024-01-06 22:00:39 +01:00
Michael Eischer
292556a8bc
Merge pull request #265 from restic/dependabot/go_modules/golang.org/x/crypto-0.17.0
...
Bump golang.org/x/crypto from 0.15.0 to 0.17.0
2024-01-06 21:56:30 +01:00
Michael Eischer
45f71173c8
Merge pull request #262 from restic/dependabot/go_modules/golang.org/x/crypto-0.15.0
...
Bump golang.org/x/crypto from 0.14.0 to 0.15.0
2023-11-13 22:08:05 +01:00
Michael Eischer
6f91a8638d
Merge pull request #261 from restic/dependabot/go_modules/github.com/spf13/cobra-1.8.0
...
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
2023-11-11 21:45:21 +01:00
Michael Eischer
59d9e20cbd
Merge pull request #260 from restic/dependabot/go_modules/github.com/gorilla/handlers-1.5.2
...
Bump github.com/gorilla/handlers from 1.5.1 to 1.5.2
2023-11-11 21:32:21 +01:00
Michael Eischer
2dbad90967
Merge pull request #257 from restic/dependabot/go_modules/golang.org/x/crypto-0.14.0
...
Bump golang.org/x/crypto from 0.13.0 to 0.14.0
2023-10-15 00:22:26 +02:00
Michael Eischer
8b90047951
Merge pull request #250 from restic/dependabot/go_modules/golang.org/x/crypto-0.12.0
...
Bump golang.org/x/crypto from 0.11.0 to 0.12.0
2023-08-13 18:59:15 +02:00
Michael Eischer
0bb8cd41d1
Merge pull request #246 from eriksjolund/adjust_restrict_address_families
...
Improve security of systemd service rest-server.service by restricting network access
2023-07-23 12:16:34 +02:00
Michael Eischer
c38e18b708
Let goreleaser use custom release notes
...
If the changelog generation is disabled in goreleaser, this also ignores
custom release notes passed in via the command line. Thus keep the
default changelog configuration.
2023-07-09 21:32:35 +02:00
Michael Eischer
fdf65f66e7
Merge pull request #243 from MichaelEischer/upgrade-dependencies
...
upgrade dependencies
2023-07-09 14:22:35 +02:00
Michael Eischer
32ab845151
upgrade dependencies
2023-07-09 14:12:47 +02:00
Michael Eischer
4bf4b62379
Merge pull request #242 from restic/dependabot/go_modules/github.com/prometheus/client_golang-1.16.0
...
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0
2023-07-01 18:40:04 +02:00
Michael Eischer
38b712c714
Merge pull request #241 from restic/dependabot/go_modules/golang.org/x/crypto-0.10.0
...
Bump golang.org/x/crypto from 0.9.0 to 0.10.0
2023-07-01 18:13:27 +02:00
Michael Eischer
d6a268ca01
Merge pull request #240 from MichaelEischer/update-changelog-template
...
Update changelog template with changes from restic
2023-06-17 22:15:39 +02:00
Michael Eischer
d890dbad69
update changelog template with changes from restic
2023-06-17 22:08:58 +02:00
Michael Eischer
3130a4bcdf
Merge pull request #239 from MichaelEischer/empty-list
...
Return empty array if there are no objects to list
2023-06-17 22:07:57 +02:00
Michael Eischer
ff81311a98
add changelog
2023-06-17 22:03:01 +02:00
Michael Eischer
9557efad55
Fix TestListWithUnexpectedFiles test
...
The test should test both API versions.
2023-06-17 21:57:58 +02:00
Michael Eischer
84a8b210f5
return empty array if there are no objects to list
...
Previously "null" was returned, which does not match the REST backend
specification.
2023-06-17 21:57:41 +02:00
Michael Eischer
ab45fb59ff
Merge pull request #236 from restic/dependabot/go_modules/github.com/minio/sha256-simd-1.0.1
...
Bump github.com/minio/sha256-simd from 1.0.0 to 1.0.1
2023-05-30 23:13:31 +02:00
Michael Eischer
0cd077f4ab
Merge pull request #231 from MichaelEischer/fix-fsync-warning
...
Fix inverted condition for fsync warning
2023-05-18 16:36:04 +02:00
Michael Eischer
64ab92761c
Merge pull request #234 from restic/dependabot/go_modules/golang.org/x/crypto-0.9.0
...
Bump golang.org/x/crypto from 0.8.0 to 0.9.0
2023-05-18 16:33:54 +02:00
Michael Eischer
420c4c6683
Add changelog for fsync warning
2023-05-13 22:05:18 +02:00
Michael Eischer
be14687a9c
Print fsync warning only once
...
The repo.Handler is freshly instantiated for every request such that it
forget that the fsync warning was already printed. Use a single instance
in the Server instead.
2023-05-13 21:50:39 +02:00
Michael Eischer
dbb2d4690c
Merge pull request #232 from restic/dependabot/go_modules/github.com/prometheus/client_golang-1.15.1
...
Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
2023-05-13 21:43:53 +02:00
Michael Eischer
0a09c8d633
Improve reproducibility of built archives
...
The binaries and generate archives should be reproducible now. Note that
this does not apply to the source tarball.
2023-05-10 06:42:01 +02:00
Michael Eischer
dedcb846df
Enable multi-platform container builds in goreleaser
...
This requires `docker-buildx` and `qemu-user-static-binfmt`
2023-05-10 06:42:01 +02:00
Michael Eischer
b2e8044fbd
Fix inverted condition for fsync warning
...
The warning should only be printed if fsync is _not_ supported and not
the other way around.
2023-05-08 21:40:23 +02:00
Michael Eischer
30ec84fcb7
Merge pull request #228 from MichaelEischer/update-ci
...
Update CI configuration and verify changelog entries
2023-05-05 23:05:22 +02:00
Michael Eischer
2a3bca1633
Fix type of changelog entry
2023-04-30 15:21:16 +02:00
Michael Eischer
aeb5e2982f
CI: Automatically check changelog entries
2023-04-30 15:18:44 +02:00
Michael Eischer
20c4cdedfc
CI: Sync tests with restic
2023-04-30 15:18:28 +02:00
Michael Eischer
c064e4c1ed
Merge pull request #217 from HeikoSchlittermann/feat-log-to-stdout
...
feat: allow logging to stdout, stderr
2023-04-30 14:56:29 +02:00
Michael Eischer
66fe4afb7d
Make changelog less technical
2023-04-30 14:51:46 +02:00
Michael Eischer
4576e1bc12
Fix docker container setup for goreleaser
...
The expected approach is that the binary built by goreleaser is added to
the docker container.
2023-04-28 20:41:30 +02:00
Michael Eischer
e8a839673f
Set development version for 0.12.0
2023-04-27 21:41:32 +02:00
Michael Eischer
b34b9f0780
create folder for unreleased changelogs
2023-04-26 21:09:55 +02:00
Michael Eischer
253bebb096
Merge pull request #225 from restic/dependabot/go_modules/github.com/prometheus/client_golang-1.15.0
...
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
2023-04-22 11:23:51 +02:00
Michael Eischer
337035c414
Merge pull request #221 from MichaelEischer/skip-files-in-intermediate-directories
...
Ignore unexpected files in intermediate directories
2023-04-22 11:20:11 +02:00
Michael Eischer
afcdb2f312
Merge pull request #224 from restic/dependabot/go_modules/github.com/spf13/cobra-1.7.0
...
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0
2023-04-11 22:42:58 +02:00
Michael Eischer
da9ce53a95
Merge pull request #223 from restic/dependabot/go_modules/golang.org/x/crypto-0.8.0
...
Bump golang.org/x/crypto from 0.7.0 to 0.8.0
2023-04-11 22:38:43 +02:00
Michael Eischer
3a23555594
Merge pull request #202 from deajan/patch-1
...
Make dashboard portable
2023-04-08 21:22:22 +02:00
Michael Eischer
22a6412b81
Ignore unexpected files in intermediate directories
...
Listing the data/ folder in a repository no longer fails if it contains
files in the data/ folder. This also ignore .DS_Store files created by
macOS.
2023-04-08 20:17:44 +02:00
Michael Eischer
11c5a548e8
Merge pull request #216 from restic/dependabot/go_modules/golang.org/x/crypto-0.7.0
...
Bump golang.org/x/crypto from 0.6.0 to 0.7.0
2023-04-08 19:34:33 +02:00
Michael Eischer
c3d3bfbc12
Merge pull request #218 from restic/dependabot/github_actions/actions/setup-go-4
...
Bump actions/setup-go from 3 to 4
2023-04-07 12:35:13 +02:00
Michael Eischer
ea461a2d76
Merge pull request #214 from restic/dependabot/go_modules/golang.org/x/crypto-0.6.0
...
Bump golang.org/x/crypto from 0.5.0 to 0.6.0
2023-02-19 13:54:43 +01:00
Michael Eischer
8f3b92325f
Merge pull request #213 from 0xpr03/patch-1
...
warn about SystemCallArchitectures in the systemd service
2023-02-10 21:44:18 +01:00
Michael Eischer
667ce6e26b
Merge pull request #210 from ph818/patch-1
...
add MemoryHigh to systemd example
2023-01-26 22:36:29 +01:00
Michael Eischer
f5c06a2e45
Merge pull request #208 from MichaelEischer/upgrade-dependencies
...
Upgrade dependencies
2023-01-20 22:42:58 +01:00
Michael Eischer
40e2a8b1e4
add changelog and update readme
2023-01-20 22:36:40 +01:00
Michael Eischer
fa795cc66a
upgrade go-systemd to latest major version
2023-01-14 21:00:32 +01:00
Michael Eischer
99ec5e2dbb
CI: update and sync ci tasks with restic
2023-01-14 20:39:32 +01:00
Michael Eischer
f299c735df
bump minimum go version to 1.17
2023-01-14 19:22:08 +01:00
Michael Eischer
8ce88b24e7
enable dependabot
2023-01-14 19:18:10 +01:00
Michael Eischer
2eae8c9266
update transitive dependencies
2023-01-14 19:17:53 +01:00
Michael Eischer
30fbd043b9
update direct dependencies
2023-01-14 19:09:42 +01:00
Michael Eischer
7f29dcbd69
Merge pull request #207 from MichaelEischer/err-on-args
...
Error out on unexpected command line argument
2023-01-12 22:00:36 +01:00
Michael Eischer
43c96fb6f2
Error out on unexpected command line argument
...
rest-server doesn't accept arguments. Thus, error out to prevent wrong
usage.
2023-01-11 21:47:25 +01:00
Michael Eischer
a8cd3f218d
Merge pull request #199 from MichaelEischer/support-macos-ventura
...
Ignore fsync errors
2022-12-16 23:13:43 +01:00
Michael Eischer
80babf98e7
add fsync warning
2022-12-02 21:08:15 +01:00
Michael Eischer
408dcab92e
Port fsync error handling from restic
...
This ignores several different combinations of errnos which are returned
if the storage destination is not able to fsync correctly.
See also https://github.com/restic/restic/pull/4021
2022-11-11 22:37:02 +01:00
Michael Eischer
f763db8934
Deduplicate handler initialization in tests
2022-09-02 23:41:05 +02:00
Michael Eischer
a8fdca3b9f
make deleting idempotent
2022-09-02 23:32:52 +02:00
Michael Eischer
b562edefd1
add changelog for not found error handling
2022-08-31 22:29:14 +02:00