Skip to content

Commit 23ca588

Browse files
author
wangxiaodong
committed
update version
1 parent 1f5358e commit 23ca588

File tree

4 files changed

+77
-126
lines changed

4 files changed

+77
-126
lines changed

fix-tools

-13.3 MB
Binary file not shown.

fix/gitee_fix_main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"github.com/go-git/go-git/v5"
99
"github.com/go-git/go-git/v5/config"
10-
githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http"
10+
githttp "github.com/go-git/go-git/v5/plumbing/transport/http"
1111
"io"
1212
"net/http"
1313
"path/filepath"
@@ -84,7 +84,7 @@ func (t *FixParams) GiteeFix() (prUrl string, preview []Preview, err error) {
8484
// 删除文件夹
8585
DelDir(repoPath)
8686
}()
87-
_, err = GitConfig(ctx, "./", repoPath, t.branch, htmlUrl, t.CommitHash, t.ProxyUrl, t.UserName, t.Password,t.Token)
87+
_, err = GitConfig(ctx, "./", repoPath, t.branch, htmlUrl, t.CommitHash, t.ProxyUrl, t.UserName, t.Password, t.Token)
8888
if err != nil {
8989
err = errors.New(" 克隆文件失败 " + err.Error())
9090
return

go.mod

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,44 +5,42 @@ go 1.19
55
require (
66
github.com/antchfx/xmlquery v1.3.15
77
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
8-
github.com/go-git/go-git/v5 v5.4.2
8+
github.com/go-git/go-git/v5 v5.11.0
99
github.com/google/go-github/v47 v47.1.0
1010
github.com/rs/xid v1.4.0
1111
github.com/xanzy/go-gitlab v0.85.0
1212
golang.org/x/oauth2 v0.6.0
13-
gopkg.in/src-d/go-git.v4 v4.13.1
1413
)
1514

1615
require (
16+
dario.cat/mergo v1.0.0 // indirect
1717
github.com/Microsoft/go-winio v0.6.1 // indirect
18-
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
19-
github.com/acomagu/bufpipe v1.0.3 // indirect
18+
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
2019
github.com/antchfx/xpath v1.2.3 // indirect
20+
github.com/cloudflare/circl v1.3.3 // indirect
21+
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
2122
github.com/emirpasic/gods v1.18.1 // indirect
22-
github.com/go-git/gcfg v1.5.0 // indirect
23-
github.com/go-git/go-billy/v5 v5.3.1 // indirect
23+
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
24+
github.com/go-git/go-billy/v5 v5.5.0 // indirect
2425
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
2526
github.com/golang/protobuf v1.5.3 // indirect
2627
github.com/google/go-querystring v1.1.0 // indirect
2728
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
2829
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
29-
github.com/imdario/mergo v0.3.12 // indirect
3030
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3131
github.com/kevinburke/ssh_config v1.2.0 // indirect
32-
github.com/kr/pretty v0.3.1 // indirect
33-
github.com/mitchellh/go-homedir v1.1.0 // indirect
34-
github.com/rogpeppe/go-internal v1.10.0 // indirect
32+
github.com/pjbgf/sha1cd v0.3.0 // indirect
3533
github.com/sergi/go-diff v1.3.1 // indirect
36-
github.com/src-d/gcfg v1.4.0 // indirect
34+
github.com/skeema/knownhosts v1.2.1 // indirect
3735
github.com/xanzy/ssh-agent v0.3.3 // indirect
38-
golang.org/x/crypto v0.8.0 // indirect
36+
golang.org/x/crypto v0.16.0 // indirect
3937
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
40-
golang.org/x/mod v0.10.0 // indirect
41-
golang.org/x/net v0.9.0 // indirect
42-
golang.org/x/sys v0.7.0 // indirect
43-
golang.org/x/text v0.9.0 // indirect
38+
golang.org/x/mod v0.12.0 // indirect
39+
golang.org/x/net v0.19.0 // indirect
40+
golang.org/x/sys v0.15.0 // indirect
41+
golang.org/x/text v0.14.0 // indirect
4442
golang.org/x/time v0.3.0 // indirect
45-
golang.org/x/tools v0.8.0 // indirect
43+
golang.org/x/tools v0.13.0 // indirect
4644
google.golang.org/appengine v1.6.7 // indirect
4745
google.golang.org/protobuf v1.29.1 // indirect
4846
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)