Skip to content

Commit 8735fcd

Browse files
Gustedearl-warren
authored andcommitted
[GITEA] Vendor rupture dependency
- The [rupture](https://github.com/ethantkoenig/rupture) dependency was essentially outdated in the sense it was using old version of dependencies. - The usage by Forgejo was rather a small portion, so that portion is now vendored (with its tests). - Removes old dependencies from go.sum (less dependencies is better for reviewing what the heck we're importing). Just to note that they were likely not being used by Go's build process (according to https://go.dev/ref/mod#minimal-version-selection), so it's really a matter of formal cleaning up dependencies we don't use and therefor don't want to download and be in our go.sum. (cherry picked from commit aa72a5f009b5027b2324106343f91b466ba46293) Conflicts: go.sum https://codeberg.org/forgejo/forgejo/pulls/2148 (cherry picked from commit fbe8d65f0b1836b2e771991b4d5d12f1bfa938ed) (cherry picked from commit e18debcb6a9476f60d364e847265b4ac7fb76c8e) Conflicts: go.sum https://codeberg.org/forgejo/forgejo/pulls/2245 (cherry picked from commit 8c43c2ada82102a0df44fd874c4f5fe3a36ef758)
1 parent c070935 commit 8735fcd

File tree

7 files changed

+85
-70
lines changed

7 files changed

+85
-70
lines changed

assets/go-licenses.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ require (
3333
github.com/editorconfig/editorconfig-core-go/v2 v2.6.0
3434
github.com/emersion/go-imap v1.2.1
3535
github.com/emirpasic/gods v1.18.1
36-
github.com/ethantkoenig/rupture v1.0.1
3736
github.com/felixge/fgprof v0.9.3
3837
github.com/fsnotify/fsnotify v1.7.0
3938
github.com/gliderlabs/ssh v0.3.6
@@ -206,6 +205,7 @@ require (
206205
github.com/golang/snappy v0.0.4 // indirect
207206
github.com/google/go-querystring v1.1.0 // indirect
208207
github.com/google/go-tpm v0.9.0 // indirect
208+
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 // indirect
209209
github.com/gorilla/css v1.0.1 // indirect
210210
github.com/gorilla/handlers v1.5.2 // indirect
211211
github.com/gorilla/mux v1.8.1 // indirect

0 commit comments

Comments
 (0)