[PR #5069] [CLOSED] Migrate to go modules #17623

Closed
opened 2025-11-02 14:32:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5069
Author: @coolaj86
Created: 10/11/2018
Status: Closed

Base: masterHead: go-modules


📝 Commits (5)

📊 Changes

1510 files changed (+428 additions, -1031443 deletions)

View changed files

📝 .drone.yml (+2 -3)
📝 .gitignore (+2 -0)
Gopkg.lock (+0 -1006)
Gopkg.toml (+0 -105)
📝 Makefile (+0 -17)
📝 cmd/web.go (+6 -7)
go.mod (+129 -0)
go.sum (+289 -0)
vendor/code.gitea.io/git/LICENSE (+0 -20)
vendor/code.gitea.io/git/blob.go (+0 -73)
vendor/code.gitea.io/git/command.go (+0 -134)
vendor/code.gitea.io/git/commit.go (+0 -296)
vendor/code.gitea.io/git/commit_archive.go (+0 -37)
vendor/code.gitea.io/git/commit_info.go (+0 -319)
vendor/code.gitea.io/git/doc.go (+0 -5)
vendor/code.gitea.io/git/error.go (+0 -66)
vendor/code.gitea.io/git/git.go (+0 -91)
vendor/code.gitea.io/git/hook.go (+0 -126)
vendor/code.gitea.io/git/parse.go (+0 -81)
vendor/code.gitea.io/git/repo.go (+0 -287)

...and 80 more files

📄 Description

Re: https://github.com/go-gitea/gitea/issues/5044

  • remove a few unused modules (bolt, gorilla)
  • go mod init and go mod tidy (adds go.mod and go.sum)
  • remove Gopkg.*
  • update drone file? (doesn't look like there was much to do)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/5069 **Author:** [@coolaj86](https://github.com/coolaj86) **Created:** 10/11/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `go-modules` --- ### 📝 Commits (5) - [`c6c1e08`](https://github.com/go-gitea/gitea/commit/c6c1e08805e681fb96d6179fbb62996edd794270) remove gorilla - [`f66b25d`](https://github.com/go-gitea/gitea/commit/f66b25d117f2ac201e1a93d00998a8b411c8dbf9) remove vendor and ignore - [`04f4e36`](https://github.com/go-gitea/gitea/commit/04f4e36002172b216c139900941a6016e72abff9) remove vendor and ignore - [`eb6034a`](https://github.com/go-gitea/gitea/commit/eb6034aadd7c1852bd2a089cffc4d539cc03a3a0) switch to go modules - [`9123893`](https://github.com/go-gitea/gitea/commit/91238931e8a0c02c4c484390f1384e5f39c3e27e) remove dep from Makefile and drone ### 📊 Changes **1510 files changed** (+428 additions, -1031443 deletions) <details> <summary>View changed files</summary> 📝 `.drone.yml` (+2 -3) 📝 `.gitignore` (+2 -0) ➖ `Gopkg.lock` (+0 -1006) ➖ `Gopkg.toml` (+0 -105) 📝 `Makefile` (+0 -17) 📝 `cmd/web.go` (+6 -7) ➕ `go.mod` (+129 -0) ➕ `go.sum` (+289 -0) ➖ `vendor/code.gitea.io/git/LICENSE` (+0 -20) ➖ `vendor/code.gitea.io/git/blob.go` (+0 -73) ➖ `vendor/code.gitea.io/git/command.go` (+0 -134) ➖ `vendor/code.gitea.io/git/commit.go` (+0 -296) ➖ `vendor/code.gitea.io/git/commit_archive.go` (+0 -37) ➖ `vendor/code.gitea.io/git/commit_info.go` (+0 -319) ➖ `vendor/code.gitea.io/git/doc.go` (+0 -5) ➖ `vendor/code.gitea.io/git/error.go` (+0 -66) ➖ `vendor/code.gitea.io/git/git.go` (+0 -91) ➖ `vendor/code.gitea.io/git/hook.go` (+0 -126) ➖ `vendor/code.gitea.io/git/parse.go` (+0 -81) ➖ `vendor/code.gitea.io/git/repo.go` (+0 -287) _...and 80 more files_ </details> ### 📄 Description Re: https://github.com/go-gitea/gitea/issues/5044 * [x] remove a few unused modules (bolt, gorilla) * [x] `go mod init` and `go mod tidy` (adds `go.mod` and `go.sum`) * [x] remove Gopkg.* * [ ] update drone file? (doesn't look like there was much to do) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 14:32:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17623