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
dependabot[bot]
781d2241e0
Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 20:01:25 +00: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
Alexander Neumann
543d313f7e
Fix Changelog file
2023-04-26 21:08:58 +02:00
Alexander Neumann
a98ed25c7b
Rename changelog
2023-04-24 21:02:21 +02:00
Alexander Neumann
efe070c66d
Add changelog, fix VERSION
v0.12.0
2023-04-24 20:59:03 +02:00
Leo R. Lundgren
834a3378e9
doc: Polish changelogs
2023-04-24 13:15:03 +02:00
Heiko Schlittermann (HS12-RIPE)
9f074d8b3a
feat: allow logging to stdout
...
The --log option accepts "-" as filename. This prevents rest-server from
opening the log file, it simply writes to the STDOUT stream provided by
the caller.
**BREAKING** in case use really used "-" to specify a file named "-"
you'll need to update your rest-server invocation to use "./-".
2023-04-24 11:15:38 +02:00
Leo R. Lundgren
94d5861c50
doc: Polish changelogs
2023-04-23 22:28:14 +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
dependabot[bot]
399f7f1d49
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-17 20:04:17 +00: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
dependabot[bot]
f97c48d92e
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-11 20:39:21 +00: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
dependabot[bot]
d795b70b9f
Bump golang.org/x/crypto from 0.7.0 to 0.8.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 20:04:10 +00: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
dependabot[bot]
f2f2d29064
Bump actions/setup-go from 3 to 4
...
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 >
2023-03-27 20:04:09 +00:00
dependabot[bot]
dd0f03c9bb
Bump golang.org/x/crypto from 0.6.0 to 0.7.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-13 20:06:54 +00: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
dependabot[bot]
40ad68bc5f
Bump golang.org/x/crypto from 0.5.0 to 0.6.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 20:09:40 +00: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
Aron Heinecke
fb6a3a62cf
warn about SystemCallArchitectures
...
Running 32bit on a 64bit host with SystemCallArchitectures will fail without much information
2023-02-01 00:10:46 +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
ph818
091e70d903
add MemoryHigh to systemd example
2023-01-21 21:43:56 -05: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