Skip to content

Commit bcfaaa7

Browse files
1 parent 0d73c2b commit bcfaaa7

20 files changed

+148
-98
lines changed

.github/workflows/release-doc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ jobs:
6060
projectName: 'resticprofile'
6161
directory: 'public'
6262
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
63+
branch: main

commands.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"fmt"
99
"io"
1010
"regexp"
11+
"slices"
1112
"sort"
1213
"strconv"
1314
"strings"
@@ -23,7 +24,6 @@ import (
2324
"github.com/creativeprojects/resticprofile/term"
2425
"github.com/creativeprojects/resticprofile/util/templates"
2526
"github.com/creativeprojects/resticprofile/win"
26-
"golang.org/x/exp/slices"
2727
)
2828

2929
var (

config/flag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ package config
33
import (
44
"fmt"
55
"reflect"
6+
"slices"
67
"sort"
78
"strconv"
89
"strings"
910

1011
"github.com/creativeprojects/resticprofile/constants"
1112
"github.com/creativeprojects/resticprofile/shell"
1213
"github.com/creativeprojects/resticprofile/util"
13-
"golang.org/x/exp/slices"
1414
)
1515

1616
var (

config/jsonschema/model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"encoding/json"
77
"fmt"
88
"regexp"
9+
"slices"
910
"strings"
1011

1112
"github.com/creativeprojects/resticprofile/config"
1213
"github.com/creativeprojects/resticprofile/util"
13-
"golang.org/x/exp/slices"
1414
)
1515

1616
const (

config/profile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"path"
77
"path/filepath"
88
"reflect"
9+
"slices"
910
"sort"
1011
"strings"
1112
"time"
@@ -19,7 +20,6 @@ import (
1920
"github.com/creativeprojects/resticprofile/util/bools"
2021
"github.com/mitchellh/mapstructure"
2122
"golang.org/x/exp/maps"
22-
"golang.org/x/exp/slices"
2323
)
2424

2525
// resticVersion14 is the semver of restic 0.14 (the version where several flag names were changed)

flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package main
22

33
import (
4+
"slices"
45
"strings"
56
"time"
67

@@ -9,7 +10,6 @@ import (
910
"github.com/creativeprojects/resticprofile/term"
1011
"github.com/creativeprojects/resticprofile/util/collect"
1112
"github.com/spf13/pflag"
12-
"golang.org/x/exp/slices"
1313
)
1414

1515
type commandLineFlags struct {

go.mod

+32-26
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,74 @@ require (
88
github.com/capnspacehook/taskmaster v0.0.0-20210519235353-1629df7c85e9
99
github.com/coreos/go-systemd/v22 v22.5.0
1010
github.com/creativeprojects/clog v0.14.0
11-
github.com/creativeprojects/go-selfupdate v1.1.1
11+
github.com/creativeprojects/go-selfupdate v1.1.2
1212
github.com/distatus/battery v0.11.0
1313
github.com/fatih/color v1.15.0
1414
github.com/mackerelio/go-osstat v0.2.4
1515
github.com/mattn/go-colorable v0.1.13
1616
github.com/mitchellh/mapstructure v1.5.0
17-
github.com/prometheus/client_golang v1.16.0
17+
github.com/prometheus/client_golang v1.17.0
1818
github.com/rickb777/date v1.14.2
19-
github.com/shirou/gopsutil/v3 v3.23.6
20-
github.com/spf13/afero v1.9.5
19+
github.com/shirou/gopsutil/v3 v3.23.9
20+
github.com/spf13/afero v1.10.0
2121
github.com/spf13/cast v1.5.1
2222
github.com/spf13/pflag v1.0.5
23-
github.com/spf13/viper v1.16.0
23+
github.com/spf13/viper v1.17.0
2424
github.com/stretchr/testify v1.8.4
25-
golang.org/x/crypto v0.11.0
26-
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53
25+
golang.org/x/crypto v0.14.0
26+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
2727
golang.org/x/sys v0.13.0
28-
golang.org/x/text v0.11.0
28+
golang.org/x/text v0.13.0
2929
gopkg.in/yaml.v3 v3.0.1
3030
howett.net/plist v1.0.0
3131
)
3232

3333
require (
34-
code.gitea.io/sdk/gitea v0.15.1 // indirect
34+
code.gitea.io/sdk/gitea v0.16.0 // indirect
3535
github.com/beorn7/perks v1.0.1 // indirect
3636
github.com/cespare/xxhash/v2 v2.2.0 // indirect
37-
github.com/davecgh/go-spew v1.1.1 // indirect
37+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
38+
github.com/davidmz/go-pageant v1.0.2 // indirect
3839
github.com/fsnotify/fsnotify v1.6.0 // indirect
40+
github.com/go-fed/httpsig v1.1.0 // indirect
3941
github.com/go-ole/go-ole v1.2.6 // indirect
4042
github.com/godbus/dbus/v5 v5.1.0 // indirect
4143
github.com/golang/protobuf v1.5.3 // indirect
4244
github.com/google/go-github/v30 v30.1.0 // indirect
4345
github.com/google/go-querystring v1.1.0 // indirect
4446
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
45-
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
47+
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
4648
github.com/hashicorp/go-version v1.6.0 // indirect
4749
github.com/hashicorp/hcl v1.0.0 // indirect
4850
github.com/lufia/plan9stats v0.0.0-20230110061619-bbe2e5e100de // indirect
4951
github.com/magiconair/properties v1.8.7 // indirect
5052
github.com/mattn/go-isatty v0.0.19 // indirect
5153
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
52-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
53-
github.com/pmezard/go-difflib v1.0.0 // indirect
54+
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
55+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5456
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
55-
github.com/prometheus/client_model v0.3.0 // indirect
56-
github.com/prometheus/common v0.42.0 // indirect
57-
github.com/prometheus/procfs v0.10.1 // indirect
57+
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
58+
github.com/prometheus/common v0.44.0 // indirect
59+
github.com/prometheus/procfs v0.11.1 // indirect
5860
github.com/rickb777/plural v1.4.1 // indirect
61+
github.com/sagikazarmark/locafero v0.3.0 // indirect
62+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
5963
github.com/shoenig/go-m1cpu v0.1.6 // indirect
60-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
64+
github.com/sourcegraph/conc v0.3.0 // indirect
6165
github.com/stretchr/objx v0.5.0 // indirect
62-
github.com/subosito/gotenv v1.4.2 // indirect
63-
github.com/tklauser/go-sysconf v0.3.11 // indirect
64-
github.com/tklauser/numcpus v0.6.0 // indirect
66+
github.com/subosito/gotenv v1.6.0 // indirect
67+
github.com/tklauser/go-sysconf v0.3.12 // indirect
68+
github.com/tklauser/numcpus v0.6.1 // indirect
6569
github.com/ulikunitz/xz v0.5.11 // indirect
66-
github.com/xanzy/go-gitlab v0.80.2 // indirect
70+
github.com/xanzy/go-gitlab v0.93.2 // indirect
6771
github.com/yusufpapurcu/wmi v1.2.3 // indirect
68-
golang.org/x/net v0.10.0 // indirect
69-
golang.org/x/oauth2 v0.7.0 // indirect
70-
golang.org/x/term v0.10.0 // indirect
72+
go.uber.org/atomic v1.9.0 // indirect
73+
go.uber.org/multierr v1.9.0 // indirect
74+
golang.org/x/net v0.17.0 // indirect
75+
golang.org/x/oauth2 v0.13.0 // indirect
76+
golang.org/x/term v0.13.0 // indirect
7177
golang.org/x/time v0.3.0 // indirect
72-
google.golang.org/appengine v1.6.7 // indirect
73-
google.golang.org/protobuf v1.30.0 // indirect
78+
google.golang.org/appengine v1.6.8 // indirect
79+
google.golang.org/protobuf v1.31.0 // indirect
7480
gopkg.in/ini.v1 v1.67.0 // indirect
7581
)

0 commit comments

Comments
 (0)