Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from restic:master #201

Open
wants to merge 1,106 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1106 commits
Select commit Hold shift + click to select a range
d8be8f1
Merge pull request #5024 from MichaelEischer/move-node-to-fs
MichaelEischer Aug 31, 2024
6f9513d
chore: fix some function names
dropbigfish Aug 31, 2024
5d658f2
doc: Polish unreleased changelogs
rawtaz Aug 31, 2024
ebd8f0c
docs: make s3-compatible section standalone
MichaelEischer Aug 31, 2024
154ca4d
build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0
dependabot[bot] Sep 1, 2024
daf156a
build(deps): bump github.com/ncw/swift/v2 from 2.0.2 to 2.0.3
dependabot[bot] Sep 1, 2024
790dbd4
build(deps): bump google.golang.org/api from 0.191.0 to 0.195.0
dependabot[bot] Sep 1, 2024
05a8b05
Merge pull request #5030 from restic/changelogs
MichaelEischer Sep 1, 2024
9a6059e
Merge pull request #5032 from dropbigfish/master
MichaelEischer Sep 1, 2024
07a8b73
Merge pull request #5037 from restic/dependabot/go_modules/github.com…
MichaelEischer Sep 1, 2024
daa6448
Merge pull request #5034 from restic/dependabot/go_modules/golang.org…
MichaelEischer Sep 1, 2024
a6490fe
build(deps): bump github.com/minio/minio-go/v7 from 7.0.74 to 7.0.76
dependabot[bot] Sep 1, 2024
3023b2f
Merge pull request #5033 from MichaelEischer/s3-clarify-docs
MichaelEischer Sep 1, 2024
0a22504
Merge pull request #5035 from restic/dependabot/go_modules/github.com…
MichaelEischer Sep 1, 2024
8a0edde
Merge pull request #5038 from restic/dependabot/go_modules/google.gol…
MichaelEischer Sep 1, 2024
00ca0b3
docs: Recommend to setup B2 versions lifecycle rules
solracsf Sep 4, 2024
17e54b0
Prepare changelog for 0.17.1
fd0 Sep 5, 2024
d8870a2
Generate CHANGELOG.md for 0.17.1
fd0 Sep 5, 2024
a98370c
Update manpages and auto-completion
fd0 Sep 5, 2024
975aa41
Add version for 0.17.1
fd0 Sep 5, 2024
76a647f
Set development version for 0.17.1
fd0 Sep 5, 2024
3df8337
Fix indentation of blockquotes in github release notes
MichaelEischer Sep 5, 2024
4f0affd
Merge branch 'patch-release'
MichaelEischer Sep 6, 2024
87f30bc
forget: indicate why the oldest snapshot in a group is kept
konidev20 Sep 1, 2024
d656a50
forget: update tests to reflect specific reasons for keeping oldest s…
konidev20 Sep 1, 2024
b69c640
forget: make oldest snapshot marker more strict
konidev20 Sep 7, 2024
5468e85
docs: mention that the oldest snapshot is marked `oldest` in the reas…
konidev20 Sep 7, 2024
113439c
fix: shorten sentence
solracsf Sep 7, 2024
7b1a159
Merge pull request #5039 from konidev20/fix-gh-4806-forget-add-reason…
MichaelEischer Sep 7, 2024
37d5bd6
Merge pull request #5042 from solracsf/patch-1
MichaelEischer Sep 7, 2024
34fe73e
fs: retry preallocate on Linux if interrupted by signal
MichaelEischer Sep 7, 2024
c153217
Merge pull request #5043 from MichaelEischer/fix-github-release-note-…
MichaelEischer Sep 7, 2024
6f08dbb
list: add subcommand completion
rominf Sep 13, 2024
a84e65b
list: validate subcommand
rominf Sep 13, 2024
4795143
cache: fix race condition in cache cleanup
damoclark Sep 10, 2024
6ec2b62
fuse: cache fs.Node instances
MichaelEischer Sep 9, 2024
e9940f3
fuse: add missing type assertion for optional interfaces
MichaelEischer Sep 9, 2024
51173c5
fuse: forget fs.Node instances on request by the kernel
MichaelEischer Sep 9, 2024
5ce6ca2
fuse: test that the same fs.Node is used for the same file
MichaelEischer Sep 11, 2024
ccf5be2
add changelog for fuse fix
MichaelEischer Sep 11, 2024
4105e4a
Merge pull request #5047 from damoclark/patch-1
MichaelEischer Sep 14, 2024
cab6b15
tag: fix swallowed error if repository cannot be opened
MichaelEischer Sep 14, 2024
bd2c986
Merge pull request #5051 from rominf/rominf-list-subcommands
MichaelEischer Sep 14, 2024
efec1a5
Merge pull request #5045 from MichaelEischer/fix-preallocate-eintr
MichaelEischer Sep 14, 2024
7680f48
Changelogs should omit problem if it duplicates the new behavior
MichaelEischer Sep 14, 2024
bad6c54
dump: add --compress-zip flag to compress zip archives
phillipp Sep 13, 2024
4469fe1
fs: fix restoring timestamps on Windows for long paths
MichaelEischer Aug 29, 2024
1a7fafc
dump: compress zip archives
phillipp Sep 15, 2024
3d97656
generate: allow passing `-` for stdout output
rominf Sep 13, 2024
8c7a6da
dump: Simplify writeNode and use fewer goroutines
greatroar Sep 30, 2024
3f08dee
build(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0
dependabot[bot] Oct 1, 2024
e90085b
build(deps): bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0
dependabot[bot] Oct 1, 2024
f3f629b
build(deps): bump github.com/minio/minio-go/v7 from 7.0.76 to 7.0.77
dependabot[bot] Oct 1, 2024
b5c28a7
internal/restic: Use IDSet.Clone + use maps package
greatroar Sep 30, 2024
e10e2bb
fs: Include filename in mknod errors
greatroar Oct 3, 2024
19653f9
fs: Simplify NodeCreateAt
greatroar Oct 3, 2024
2b609d3
errors, fs: Replace CombineErrors with stdlib Join
greatroar Oct 3, 2024
ddf65b0
Merge pull request #5076 from restic/dependabot/go_modules/golang.org…
MichaelEischer Oct 9, 2024
8d7f457
Merge pull request #5077 from restic/dependabot/go_modules/go.uber.or…
MichaelEischer Oct 9, 2024
96c1c1a
Merge pull request #5075 from greatroar/idset
MichaelEischer Oct 9, 2024
eac00eb
build(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
dependabot[bot] Oct 9, 2024
7839017
Merge pull request #5056 from MichaelEischer/fix-tag-error-handling
MichaelEischer Oct 9, 2024
888abff
Merge pull request #5058 from MichaelEischer/clarify-changelog
MichaelEischer Oct 9, 2024
7c12bd5
Merge pull request #5053 from rominf/rominf-generate-stdout
MichaelEischer Oct 9, 2024
0ada0b5
Merge pull request #5078 from restic/dependabot/go_modules/github.com…
MichaelEischer Oct 9, 2024
7cfd8a6
Merge pull request #5080 from restic/dependabot/go_modules/golang.org…
MichaelEischer Oct 9, 2024
221fa0f
build(deps): bump google.golang.org/api from 0.195.0 to 0.199.0
dependabot[bot] Oct 9, 2024
60cba55
Merge pull request #5079 from restic/dependabot/go_modules/google.gol…
MichaelEischer Oct 9, 2024
0c0d8b8
Merge pull request #5083 from greatroar/errors
MichaelEischer Oct 16, 2024
e21496f
Merge pull request #5074 from greatroar/dump
MichaelEischer Oct 16, 2024
e91a456
Merge pull request #5061 from MichaelEischer/fix-timestamp-restore-wi…
MichaelEischer Oct 16, 2024
f44b7cd
backup: exclude irregular files from backup
MichaelEischer Sep 14, 2024
012cb06
repair snapshots: remove irregular files
MichaelEischer Sep 14, 2024
55c1500
add irregular files bug changelog
MichaelEischer Oct 16, 2024
da3c024
dump/zip: only compress regular files
MichaelEischer Oct 16, 2024
e29d38f
dump/zip: test that files are compressed
MichaelEischer Oct 16, 2024
c3b3120
Merge pull request #5057 from MichaelEischer/fix-backup-irregular
MichaelEischer Oct 16, 2024
7571144
fs: move NodeFromFileInfo into FS interface
MichaelEischer Aug 28, 2024
618f306
Merge pull request #5054 from phillipp/dump-compress-zip
MichaelEischer Oct 16, 2024
bcd5ac3
Merge pull request #5060 from MichaelEischer/proper-nodefromfileinfo
MichaelEischer Oct 16, 2024
5838896
doc: document safety feature for --target / --delete
MichaelEischer Oct 17, 2024
2e704c6
backend/azure: Handle Container SAS/SAT
Oct 17, 2024
7bdfcf1
changelog: Add changes in issue-4004
Oct 17, 2024
b434f56
backend/azure: Add tests for both token types
Oct 17, 2024
7c02141
Merge pull request #5093 from Seefin/fix-containerSAS
MichaelEischer Oct 17, 2024
60960d2
fs/vss: properly create node from vss path
MichaelEischer Oct 18, 2024
b988754
fs/vss: reuse functions from underlying FS
MichaelEischer Oct 18, 2024
26b77a5
archiver: use correct filepath in fileSaver for vss
MichaelEischer Oct 18, 2024
352605d
fs: remove file.Name() from interface
MichaelEischer Oct 18, 2024
ca79cb9
fs/vss: test that vss functions actually read from snapshot
MichaelEischer Oct 18, 2024
9f20660
backup: test that vss backups work if underlying data was removed
MichaelEischer Oct 18, 2024
fc6f1b4
redirect test log output to t.Log()
MichaelEischer Oct 18, 2024
8056181
docs: Recommend to setup B2 versions lifecycle rules
solracsf Sep 4, 2024
5b60d49
fix: shorten sentence
solracsf Sep 7, 2024
9386acc
Fix indentation of blockquotes in github release notes
MichaelEischer Sep 5, 2024
8c1d6a5
cache: fix race condition in cache cleanup
damoclark Sep 10, 2024
491cc65
list: add subcommand completion
rominf Sep 13, 2024
49ccb77
list: validate subcommand
rominf Sep 13, 2024
0df2fa8
fs: retry preallocate on Linux if interrupted by signal
MichaelEischer Sep 7, 2024
986d981
tag: fix swallowed error if repository cannot be opened
MichaelEischer Sep 14, 2024
3c82fe6
fs: Include filename in mknod errors
greatroar Oct 3, 2024
fc1fc00
backup: exclude irregular files from backup
MichaelEischer Sep 14, 2024
fe269c7
repair snapshots: remove irregular files
MichaelEischer Sep 14, 2024
e3a022f
add irregular files bug changelog
MichaelEischer Oct 16, 2024
d6e76a2
backend/azure: Handle Container SAS/SAT
Oct 17, 2024
048c3bb
changelog: Add changes in issue-4004
Oct 17, 2024
9553d87
backend/azure: Add tests for both token types
Oct 17, 2024
e1faf7b
backup: work around file deletion error in test
MichaelEischer Oct 18, 2024
11c1fbc
Merge pull request #5098 from MichaelEischer/prepare-patch-release
MichaelEischer Oct 18, 2024
4df2e33
archiver: properly create node for vss backups
MichaelEischer Oct 18, 2024
0c711f5
archiver: use correct filepath in fileSaver for vss
MichaelEischer Oct 18, 2024
a7b13bd
fs: remove file.Name() from interface
MichaelEischer Oct 18, 2024
ec43594
add vss metadata changelog
MichaelEischer Oct 18, 2024
1f57912
backup: test that vss backups work if underlying data was removed
MichaelEischer Oct 18, 2024
841f8bf
redirect test log output to t.Log()
MichaelEischer Oct 18, 2024
46dce1f
backup: work around file deletion error in test
MichaelEischer Oct 18, 2024
ee9a5cd
add vss metadata changelog
MichaelEischer Oct 18, 2024
f967a33
fs: Use AT_FDCWD in Linux nodeRestoreSymlinkTimestamps
greatroar Oct 4, 2024
8f20d5d
fs: Refactor UtimesNano replacements
greatroar Oct 4, 2024
5fe6607
Merge pull request #5084 from greatroar/utimesnano
MichaelEischer Oct 19, 2024
bff3341
azure: add support for hot, cool, or cool access tiers
konidev20 Oct 20, 2024
db68659
debug: azure add debug log to show access-tier
konidev20 Oct 20, 2024
821000c
Merge pull request #5097 from MichaelEischer/fix-vss-metadata
MichaelEischer Oct 22, 2024
f72febb
Merge pull request #5099 from MichaelEischer/hackport-fix-vss-metadata
MichaelEischer Oct 22, 2024
2ce4850
polish changelogs
MichaelEischer Oct 22, 2024
d8d955e
Tweak wording
MichaelEischer Oct 22, 2024
3a4a5a8
Merge pull request #5102 from MichaelEischer/polish-changelogs
MichaelEischer Oct 23, 2024
e320edd
Merge pull request #5048 from MichaelEischer/fix-macos-fuse
MichaelEischer Oct 23, 2024
dbb5fb9
Prepare changelog for 0.17.2
fd0 Oct 27, 2024
44968c7
Generate CHANGELOG.md for 0.17.2
fd0 Oct 27, 2024
5dcee7f
Update manpages and auto-completion
fd0 Oct 27, 2024
2fb07dc
Add version for 0.17.2
fd0 Oct 27, 2024
7eec85b
Set development version for 0.17.2
fd0 Oct 27, 2024
ca4bd1b
Merge pull request #5094 from MichaelEischer/document-restore-delete-…
MichaelEischer Oct 27, 2024
1f0f6ad
Merge branch 'patch-release'
MichaelEischer Oct 27, 2024
cd44b2b
doc: Clarify number of blobs are added
joram-berger Oct 27, 2024
33da501
Merge pull request #5105 from joram-berger/patch-2
rawtaz Oct 27, 2024
15b7fb7
fs: cleanup fixpath
MichaelEischer Oct 31, 2024
03aad74
fs: add correct vss support to fixpath
MichaelEischer Oct 31, 2024
1d0d5d8
fs: fix error in fillGenericAttributes for vss volumes
MichaelEischer Oct 31, 2024
cb92475
backup: run test with absolute path
MichaelEischer Oct 31, 2024
62af5f0
restic: test path handling of volume shadow copy root path
MichaelEischer Oct 31, 2024
14370fb
add vss metadata changelog
MichaelEischer Oct 31, 2024
51cd1c8
backup: log error if test backup fails
MichaelEischer Oct 31, 2024
f77e670
fs: add correct vss support to fixpath
MichaelEischer Oct 31, 2024
e38f679
restic: fix error in fillGenericAttributes for vss volumes
MichaelEischer Oct 31, 2024
4380627
backup: run test with absolute path
MichaelEischer Oct 31, 2024
0aee70b
restic: test path handling of volume shadow copy root path
MichaelEischer Oct 31, 2024
9622794
add vss metadata changelog
MichaelEischer Oct 31, 2024
a494bf6
build(deps): bump golang.org/x/time from 0.6.0 to 0.7.0
dependabot[bot] Nov 1, 2024
ae9268d
build(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0
dependabot[bot] Nov 1, 2024
53cb620
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore
dependabot[bot] Nov 1, 2024
a32c98a
Merge pull request #5114 from restic/dependabot/go_modules/golang.org…
MichaelEischer Nov 1, 2024
d1d8ae7
Merge pull request #5113 from restic/dependabot/go_modules/golang.org…
MichaelEischer Nov 1, 2024
de847a4
build(deps): bump google.golang.org/api from 0.199.0 to 0.204.0
dependabot[bot] Nov 1, 2024
2b36721
Merge pull request #5115 from restic/dependabot/go_modules/github.com…
MichaelEischer Nov 1, 2024
d8bf327
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependabot[bot] Nov 1, 2024
2f698d1
Merge pull request #5117 from restic/dependabot/go_modules/google.gol…
MichaelEischer Nov 1, 2024
fc92a04
Merge pull request #5116 from restic/dependabot/go_modules/github.com…
MichaelEischer Nov 1, 2024
74c783b
retry load or creating repository config
MichaelEischer Oct 17, 2024
58dc4a6
backend/retry: hide final log for `stat()` method
MichaelEischer Oct 17, 2024
b5bc76c
test retry on repo opening
MichaelEischer Nov 1, 2024
3be2b8a
add config retry changelog
MichaelEischer Nov 1, 2024
868efe4
prune: allow dry-run without taking a lock
MichaelEischer Oct 17, 2024
71c1853
sftp: check for broken connection in Load/List operation
MichaelEischer Oct 21, 2024
1eea41c
Merge pull request #5095 from MichaelEischer/retry-load-config
MichaelEischer Nov 1, 2024
e18a2a0
Merge pull request #5096 from MichaelEischer/prune-allow-dry-run
MichaelEischer Nov 1, 2024
b3b173a
fs: use non existing vss path to avoid flaky test
MichaelEischer Nov 1, 2024
ded9fc7
Merge pull request #5101 from MichaelEischer/sftp-load-error
MichaelEischer Nov 1, 2024
bcf5fbe
prepare-release: improve handling of release from non-master branch
MichaelEischer Nov 1, 2024
e65f4e2
backup: include start and end time in json output
MichaelEischer Nov 1, 2024
f5b1f9c
CI: bump golangci-lint to latest version
MichaelEischer Nov 1, 2024
3eb9556
CI: add go 1.23
MichaelEischer Nov 1, 2024
41fa41b
fix double printf usage
MichaelEischer Nov 1, 2024
569a117
improve fprintf related error handling
MichaelEischer Nov 1, 2024
d3c3390
ls: proper error handling if output is not possible
MichaelEischer Nov 1, 2024
4052a59
fs: move getVolumePathName function
MichaelEischer Nov 1, 2024
289159b
fs: remove redundant fixpath in vss code
MichaelEischer Nov 1, 2024
f9a90aa
fs: fallback to low privilege security descriptors on access denied
MichaelEischer Nov 1, 2024
62222ed
Merge pull request #5110 from MichaelEischer/fix-vss-root-volume-patch
MichaelEischer Nov 3, 2024
d5bd3fc
Merge pull request #5112 from MichaelEischer/fix-vss-root-volume
MichaelEischer Nov 3, 2024
97f3e15
Merge pull request #5121 from MichaelEischer/improve-release-helper
MichaelEischer Nov 3, 2024
270e7b7
Merge pull request #5122 from restic/bump-golangci-lint
MichaelEischer Nov 3, 2024
408ec41
Merge pull request #5123 from MichaelEischer/fix-removable-media-hand…
MichaelEischer Nov 3, 2024
d8e0384
doc: document safety feature for --target / --delete
MichaelEischer Oct 17, 2024
75ec7d3
fuse: cache fs.Node instances
MichaelEischer Sep 9, 2024
de4f8b3
fuse: add missing type assertion for optional interfaces
MichaelEischer Sep 9, 2024
0e9716a
fuse: forget fs.Node instances on request by the kernel
MichaelEischer Sep 9, 2024
8aebea7
fuse: test that the same fs.Node is used for the same file
MichaelEischer Sep 11, 2024
d0c5b5a
add changelog for fuse fix
MichaelEischer Sep 11, 2024
b8b7896
doc: Clarify number of blobs are added
joram-berger Oct 27, 2024
b8527f4
prune: allow dry-run without taking a lock
MichaelEischer Oct 17, 2024
75f317e
sftp: check for broken connection in Load/List operation
MichaelEischer Oct 21, 2024
3800eac
prepare-release: improve handling of release from non-master branch
MichaelEischer Nov 1, 2024
d46525a
fix double printf usage
MichaelEischer Nov 1, 2024
7bfe3d9
fs: fallback to low privilege security descriptors on access denied
MichaelEischer Nov 1, 2024
fb4d9b3
Merge pull request #5125 from restic/patch-release-cherrypicks
MichaelEischer Nov 3, 2024
06ba4af
doc: Polish changelogs before release
rawtaz Nov 3, 2024
c3f5748
Merge pull request #5126 from restic/polish-changelogs
MichaelEischer Nov 4, 2024
8348024
Prepare changelog for 0.17.3
fd0 Nov 8, 2024
633883b
Generate CHANGELOG.md for 0.17.3
fd0 Nov 8, 2024
bc64921
Add version for 0.17.3
fd0 Nov 8, 2024
e2a98aa
Set development version for 0.17.3
fd0 Nov 8, 2024
bd16804
Merge branch 'patch-release'
MichaelEischer Nov 9, 2024
a73ae7b
restore: improve error if timestamp fails to restore
MichaelEischer Nov 11, 2024
82c5043
Reduce checkboxes in PR checklist (#5120)
MichaelEischer Nov 11, 2024
9c75831
Merge pull request #5119 from MichaelEischer/backup-json-start-end-time
MichaelEischer Nov 11, 2024
1133498
Merge pull request #5046 from konidev20/fix-gh-4521-azure-blob-storag…
MichaelEischer Nov 11, 2024
dfbd4fb
Error if AZURE_ACCOUNT_NAME not set
richgrov Nov 13, 2024
49ef3eb
restic: add missing space in error message
MichaelEischer Nov 15, 2024
f803156
archiver: deduplicate error filtering
MichaelEischer Nov 2, 2024
548fa07
Add changelog info
richgrov Nov 15, 2024
b402e8a
fs: stricter enforcement to only call readdir on a directory
MichaelEischer Nov 2, 2024
623ba92
fs: drop unused permission parameter from OpenFile
MichaelEischer Nov 2, 2024
2f2ce9a
fs: remove Stat from FS interface
MichaelEischer Nov 2, 2024
48dbefc
fs / archiver: convert to handle based interface
MichaelEischer Nov 2, 2024
6084848
fs: fix O_NOFOLLOW for metadata handles on Windows
MichaelEischer Nov 16, 2024
087f95a
fs: make generic and extended attrs independent of each other
MichaelEischer Nov 2, 2024
d7f4b9d
fs: deduplicate placeholders for generic and xattrs
MichaelEischer Nov 3, 2024
6cb19e0
archiver: fix file type change test
MichaelEischer Nov 15, 2024
b51bf0c
fs: test File implementation of Local FS
MichaelEischer Nov 15, 2024
a5c49e5
Merge pull request #5142 from MichaelEischer/fix-not-ordered-error-me…
MichaelEischer Nov 29, 2024
0997f26
Reword description --max-repack-size for clarity
dnnr Nov 29, 2024
8644bb1
Merge pull request #5134 from MichaelEischer/better-time-restore-error
MichaelEischer Nov 30, 2024
8642049
Merge pull request #5143 from MichaelEischer/fs-handle-interface
MichaelEischer Nov 30, 2024
c5fb46d
archiver: ignore files removed in the meantime
MichaelEischer Nov 2, 2024
3c0ceda
Add basic support for DragonFlyBSD
vmlemon Nov 5, 2024
dc89aad
build dragonflybsd binaries
MichaelEischer Nov 30, 2024
5df6bf8
fs: retry vss creation on VSS_E_SNAPSHOT_SET_IN_PROGRESS error
MichaelEischer Nov 30, 2024
806fa53
Merge pull request #5145 from MichaelEischer/ignore-disappeared-files
MichaelEischer Nov 30, 2024
6413901
fs: inline ExtendedStat
MichaelEischer Nov 3, 2024
847b2ef
archiver: remove fs parameter from fileChanged function
MichaelEischer Nov 16, 2024
9a99141
fs: remove os.FileInfo from fs.ExtendedFileInfo
MichaelEischer Nov 30, 2024
9a674ec
Merge pull request #5146 from MichaelEischer/inline-extended-stat
MichaelEischer Nov 30, 2024
0bf8af7
Merge pull request #5138 from vmlemon/issue-5131
MichaelEischer Nov 30, 2024
1062546
Mention `size`
dnnr Nov 30, 2024
8f9d755
Merge pull request #5158 from dnnr/clarify-max-repack-size
MichaelEischer Nov 30, 2024
ead57ec
bump backblaze/blazer to v0.7.1
MichaelEischer Nov 30, 2024
a4d776e
build(deps): bump golang.org/x/text from 0.19.0 to 0.20.0
dependabot[bot] Dec 1, 2024
45d2b4c
Merge pull request #5161 from restic/bump-backblaze-library
MichaelEischer Dec 1, 2024
2dc00cf
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
dependabot[bot] Dec 1, 2024
875976f
Merge pull request #5166 from restic/dependabot/go_modules/golang.org…
MichaelEischer Dec 1, 2024
40987a5
build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0
dependabot[bot] Dec 1, 2024
3fecdda
Merge pull request #5165 from restic/dependabot/go_modules/github.com…
MichaelEischer Dec 1, 2024
5e0a045
Merge pull request #5163 from restic/dependabot/go_modules/golang.org…
MichaelEischer Dec 1, 2024
770841f
build(deps): bump github.com/pkg/sftp from 1.13.6 to 1.13.7
dependabot[bot] Dec 1, 2024
72c02fa
Merge pull request #5167 from restic/dependabot/go_modules/github.com…
MichaelEischer Dec 1, 2024
2f0049c
Merge pull request #5141 from richgrov/missing-azure-env-error
MichaelEischer Dec 1, 2024
d7d9af4
ui: restore --delete indicates number of deleted files (#5100)
konidev20 Dec 1, 2024
6808004
Refactor extended attributes and security descriptor helpers to use g…
aneesh-n Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ Checklist
You do not need to check all the boxes below all at once. Feel free to take
your time and add more commits. If you're done and ready for review, please
check the last box. Enable a checkbox by replacing [ ] with [x].

Please always follow these steps:
- Read the [contribution guidelines](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#providing-patches).
- Enable [maintainer edits](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork).
- Run `gofmt` on the code in all commits.
- Format all commit messages in the same style as [the other commits in the repository](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#git-commits).
-->

- [ ] I have read the [contribution guidelines](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#providing-patches).
- [ ] I have [enabled maintainer edits](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork).
- [ ] I have added tests for all code changes.
- [ ] I have added documentation for relevant changes (in the manual).
- [ ] There's a new file in `changelog/unreleased/` that describes the changes for our users (see [template](https://github.com/restic/restic/blob/master/changelog/TEMPLATE)).
- [ ] I have run `gofmt` on the code in all commits.
- [ ] All commit messages are formatted in the same style as [the other commits in the repo](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#git-commits).
- [ ] I'm done! This pull request is ready for review.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -45,7 +45,7 @@ jobs:
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20

- name: Ensure consistent binaries
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
if: github.ref != 'refs/heads/master'

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1
with:
push: true
context: .
Expand Down
48 changes: 26 additions & 22 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: read

env:
latest_go: "1.21.x"
latest_go: "1.23.x"
GO111MODULE: on

jobs:
Expand All @@ -23,34 +23,34 @@ jobs:
# list of jobs to run:
include:
- job_name: Windows
go: 1.21.x
go: 1.23.x
os: windows-latest

- job_name: macOS
go: 1.21.x
go: 1.23.x
os: macOS-latest
test_fuse: false

- job_name: Linux
go: 1.21.x
go: 1.23.x
os: ubuntu-latest
test_cloud_backends: true
test_fuse: true
check_changelog: true

- job_name: Linux (race)
go: 1.21.x
go: 1.23.x
os: ubuntu-latest
test_fuse: true
test_opts: "-race"

- job_name: Linux
go: 1.20.x
go: 1.22.x
os: ubuntu-latest
test_fuse: true

- job_name: Linux
go: 1.19.x
go: 1.21.x
os: ubuntu-latest
test_fuse: true

Expand All @@ -61,6 +61,9 @@ jobs:
GOPROXY: https://proxy.golang.org

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
Expand All @@ -69,7 +72,7 @@ jobs:
- name: Get programs (Linux/macOS)
run: |
echo "build Go tools"
go install github.com/restic/rest-server/cmd/rest-server@latest
go install github.com/restic/rest-server/cmd/rest-server@master

echo "install minio server"
mkdir $HOME/bin
Expand Down Expand Up @@ -101,7 +104,7 @@ jobs:
$ProgressPreference = 'SilentlyContinue'

echo "build Go tools"
go install github.com/restic/rest-server/...
go install github.com/restic/rest-server/cmd/rest-server@master

echo "install minio server"
mkdir $Env:USERPROFILE/bin
Expand Down Expand Up @@ -134,9 +137,6 @@ jobs:
echo $Env:USERPROFILE\tar\bin >> $Env:GITHUB_PATH
if: matrix.os == 'windows-latest'

- name: Check out code
uses: actions/checkout@v4

- name: Build with build.go
run: |
go run build.go
Expand Down Expand Up @@ -225,14 +225,14 @@ jobs:
name: Cross Compile for subset ${{ matrix.subset }}

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go ${{ env.latest_go }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.latest_go }}

- name: Check out code
uses: actions/checkout@v4

- name: Cross-compile for subset ${{ matrix.subset }}
run: |
mkdir build-output build-output-debug
Expand All @@ -242,20 +242,24 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
# allow annotating code in the PR
checks: write
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go ${{ env.latest_go }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.latest_go }}

- name: Check out code
uses: actions/checkout@v4

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55.2
version: v1.61.0
args: --verbose --timeout 5m

# only run golangci-lint for pull requests, otherwise ALL hints get
Expand Down Expand Up @@ -293,7 +297,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -316,7 +320,7 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
push: false
context: .
Expand Down
13 changes: 13 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ linters:
# ensure that http response bodies are closed
- bodyclose

- importas

issues:
# don't use the default exclude rules, this hides (among others) ignored
# errors from Close() calls
Expand All @@ -54,3 +56,14 @@ issues:
# staticcheck: there's no easy way to replace these packages
- "SA1019: \"golang.org/x/crypto/poly1305\" is deprecated"
- "SA1019: \"golang.org/x/crypto/openpgp\" is deprecated"

exclude-rules:
# revive: ignore unused parameters in tests
- path: (_test\.go|testing\.go|backend/.*/tests\.go)
text: "unused-parameter:"

linters-settings:
importas:
alias:
- pkg: github.com/restic/restic/internal/test
alias: rtest
Loading