Skip to content

Commit ceff435

Browse files
fix root home regression bug in 0.30.0 (#497)
* fix root home regression bug in 0.30.0 * fix search/replace in comment & upgrade packages * add test for IsRoot
1 parent e991cfd commit ceff435

File tree

13 files changed

+158
-124
lines changed

13 files changed

+158
-124
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: golangci-lint
4545
uses: golangci/golangci-lint-action@v6
4646
with:
47-
version: v1.64.6
47+
version: v1.64.8
4848
args: --timeout=30m
4949

5050
- name: Test

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ $(GOBIN)/github-markdown-toc.go: verify $(GOBIN)/eget
8585

8686
$(GOBIN)/mockery: verify $(GOBIN)/eget
8787
@echo "[*] $@"
88-
"$(GOBIN)/eget" vektra/mockery --upgrade-only --to '$(GOBIN)'
88+
"$(GOBIN)/eget" vektra/mockery --tag v2.53.3 --upgrade-only --to '$(GOBIN)'
8989

9090
$(GOBIN)/golangci-lint: verify $(GOBIN)/eget
9191
@echo "[*] $@"
92-
"$(GOBIN)/eget" golangci/golangci-lint --tag v1.64.6 --asset=tar.gz --upgrade-only --to '$(GOBIN)'
92+
"$(GOBIN)/eget" golangci/golangci-lint --tag v1.64.8 --asset=tar.gz --upgrade-only --to '$(GOBIN)'
9393

9494
prepare_build: verify download
9595
@echo "[*] $@"

go.mod

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
module github.com/creativeprojects/resticprofile
22

3-
go 1.24.1
3+
go 1.24.2
44

55
require (
66
github.com/Masterminds/semver/v3 v3.3.1
77
github.com/adrg/xdg v0.5.3
88
github.com/coreos/go-systemd/v22 v22.5.0
99
github.com/creativeprojects/clog v0.14.0
10-
github.com/creativeprojects/go-selfupdate v1.4.1
10+
github.com/creativeprojects/go-selfupdate v1.5.0
1111
github.com/distatus/battery v0.11.0
1212
github.com/fatih/color v1.18.0
1313
github.com/joho/godotenv v1.5.1
1414
github.com/mackerelio/go-osstat v0.2.5
1515
github.com/mattn/go-colorable v0.1.14
1616
github.com/mitchellh/mapstructure v1.5.0
17-
github.com/prometheus/client_golang v1.21.1
18-
github.com/prometheus/common v0.62.0
19-
github.com/rickb777/period v1.0.9
17+
github.com/prometheus/client_golang v1.22.0
18+
github.com/prometheus/common v0.63.0
19+
github.com/rickb777/period v1.0.12
2020
github.com/shirou/gopsutil/v3 v3.24.5
21-
github.com/spf13/afero v1.12.0
22-
github.com/spf13/cast v1.7.1
21+
github.com/spf13/afero v1.14.0
22+
github.com/spf13/cast v1.8.0
2323
github.com/spf13/pflag v1.0.6
2424
github.com/spf13/viper v1.19.0
2525
github.com/stretchr/testify v1.10.0
26-
golang.org/x/sys v0.31.0
27-
golang.org/x/term v0.30.0
28-
golang.org/x/text v0.23.0
26+
golang.org/x/sys v0.33.0
27+
golang.org/x/term v0.32.0
28+
golang.org/x/text v0.25.0
2929
gopkg.in/yaml.v3 v3.0.1
3030
howett.net/plist v1.0.1
3131
)
3232

3333
require (
34-
code.gitea.io/sdk/gitea v0.20.0 // indirect
35-
github.com/42wim/httpsig v1.2.2 // indirect
34+
code.gitea.io/sdk/gitea v0.21.0 // indirect
35+
github.com/42wim/httpsig v1.2.3 // indirect
3636
github.com/beorn7/perks v1.0.1 // indirect
3737
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3838
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3939
github.com/davidmz/go-pageant v1.0.2 // indirect
40-
github.com/fsnotify/fsnotify v1.8.0 // indirect
40+
github.com/fsnotify/fsnotify v1.9.0 // indirect
4141
github.com/go-fed/httpsig v1.1.0 // indirect
4242
github.com/go-ole/go-ole v1.3.0 // indirect
4343
github.com/godbus/dbus/v5 v5.1.0 // indirect
@@ -48,17 +48,17 @@ require (
4848
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
4949
github.com/hashicorp/go-version v1.7.0 // indirect
5050
github.com/hashicorp/hcl v1.0.0 // indirect
51-
github.com/lufia/plan9stats v0.0.0-20250303091104-876f3ea5145d // indirect
52-
github.com/magiconair/properties v1.8.9 // indirect
51+
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
52+
github.com/magiconair/properties v1.8.10 // indirect
5353
github.com/mattn/go-isatty v0.0.20 // indirect
5454
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
55-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
55+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
5656
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5757
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
58-
github.com/prometheus/client_model v0.6.1 // indirect
59-
github.com/prometheus/procfs v0.15.1 // indirect
60-
github.com/rickb777/plural v1.4.2 // indirect
61-
github.com/sagikazarmark/locafero v0.7.0 // indirect
58+
github.com/prometheus/client_model v0.6.2 // indirect
59+
github.com/prometheus/procfs v0.16.1 // indirect
60+
github.com/rickb777/plural v1.4.3 // indirect
61+
github.com/sagikazarmark/locafero v0.9.0 // indirect
6262
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
6363
github.com/shoenig/go-m1cpu v0.1.6 // indirect
6464
github.com/sourcegraph/conc v0.3.0 // indirect
@@ -70,10 +70,10 @@ require (
7070
github.com/xanzy/go-gitlab v0.115.0 // indirect
7171
github.com/yusufpapurcu/wmi v1.2.4 // indirect
7272
go.uber.org/multierr v1.11.0 // indirect
73-
golang.org/x/crypto v0.36.0 // indirect
74-
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
75-
golang.org/x/oauth2 v0.28.0 // indirect
73+
golang.org/x/crypto v0.38.0 // indirect
74+
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
75+
golang.org/x/oauth2 v0.30.0 // indirect
7676
golang.org/x/time v0.11.0 // indirect
77-
google.golang.org/protobuf v1.36.5 // indirect
77+
google.golang.org/protobuf v1.36.6 // indirect
7878
gopkg.in/ini.v1 v1.67.0 // indirect
7979
)

0 commit comments

Comments
 (0)