[PR #293] [MERGED] Integrate public as bindata optionally #15291

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/293
Author: @tboerger
Created: 11/28/2016
Status: Merged
Merged: 11/29/2016
Merged by: @lunny

Base: masterHead: public-bindata


📝 Commits (10+)

  • 15fd3ec Dropped unused codekit config
  • fa9fd9b Integrated dynamic and static bindata for public
  • ff84569 Ignore public bindata
  • 7cdbf08 Add a general generate make task
  • d5109f9 Integrated flexible public assets into web command
  • 0ce848e Updated vendoring, added all missiong govendor deps
  • 5ab2527 Made the linter happy with the bindata and dynamic code
  • d828480 Moved public bindata definition to modules directory
  • 2e2af00 Ignoring the new bindata path now
  • 4ffc4b0 Updated to the new public modules import path

📊 Changes

691 files changed (+305318 additions, -1272 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 Makefile (+12 -8)
📝 cmd/web.go (+4 -3)
modules/public/dynamic.go (+21 -0)
modules/public/public.go (+14 -0)
modules/public/static.go (+29 -0)
public/config.codekit (+0 -1261)
vendor/github.com/boltdb/bolt/LICENSE (+20 -0)
vendor/github.com/boltdb/bolt/Makefile (+18 -0)
vendor/github.com/boltdb/bolt/README.md (+848 -0)
vendor/github.com/boltdb/bolt/appveyor.yml (+18 -0)
vendor/github.com/boltdb/bolt/bolt_386.go (+7 -0)
vendor/github.com/boltdb/bolt/bolt_amd64.go (+7 -0)
vendor/github.com/boltdb/bolt/bolt_arm.go (+7 -0)
vendor/github.com/boltdb/bolt/bolt_arm64.go (+9 -0)
vendor/github.com/boltdb/bolt/bolt_linux.go (+10 -0)
vendor/github.com/boltdb/bolt/bolt_openbsd.go (+27 -0)
vendor/github.com/boltdb/bolt/bolt_ppc.go (+9 -0)
vendor/github.com/boltdb/bolt/bolt_ppc64.go (+9 -0)
vendor/github.com/boltdb/bolt/bolt_ppc64le.go (+9 -0)

...and 80 more files

📄 Description

Since there have been people crying because of the big bindata PR I'm trying to split it into multiple smaller pull requests. This is the first step which embeds the public folder optionally into the binary with the build tag bindata. This pull requests obsoletes parts of #74.


🔄 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/293 **Author:** [@tboerger](https://github.com/tboerger) **Created:** 11/28/2016 **Status:** ✅ Merged **Merged:** 11/29/2016 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `public-bindata` --- ### 📝 Commits (10+) - [`15fd3ec`](https://github.com/go-gitea/gitea/commit/15fd3eca469adca0292e6ec644abae031eceb700) Dropped unused codekit config - [`fa9fd9b`](https://github.com/go-gitea/gitea/commit/fa9fd9b18278abd2121221d400824b6d28193dd4) Integrated dynamic and static bindata for public - [`ff84569`](https://github.com/go-gitea/gitea/commit/ff84569c85368e214c109c3b91a538708d940f6c) Ignore public bindata - [`7cdbf08`](https://github.com/go-gitea/gitea/commit/7cdbf0805ff12211fdc227c36e4eb4468237729f) Add a general generate make task - [`d5109f9`](https://github.com/go-gitea/gitea/commit/d5109f92f28df6b42cc0793eedce7ab2ab6cef98) Integrated flexible public assets into web command - [`0ce848e`](https://github.com/go-gitea/gitea/commit/0ce848eda9752a6dbba2e5163daf6db6cc32ebdb) Updated vendoring, added all missiong govendor deps - [`5ab2527`](https://github.com/go-gitea/gitea/commit/5ab252760b64462c8a7f693378c9f36ba24739cd) Made the linter happy with the bindata and dynamic code - [`d828480`](https://github.com/go-gitea/gitea/commit/d828480896380664b969658e45b490df27354809) Moved public bindata definition to modules directory - [`2e2af00`](https://github.com/go-gitea/gitea/commit/2e2af00211b527a4e3bdbe074699c2cce7347a0b) Ignoring the new bindata path now - [`4ffc4b0`](https://github.com/go-gitea/gitea/commit/4ffc4b0358cca82d2e4573b3b19a1582fc36a3e0) Updated to the new public modules import path ### 📊 Changes **691 files changed** (+305318 additions, -1272 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `Makefile` (+12 -8) 📝 `cmd/web.go` (+4 -3) ➕ `modules/public/dynamic.go` (+21 -0) ➕ `modules/public/public.go` (+14 -0) ➕ `modules/public/static.go` (+29 -0) ➖ `public/config.codekit` (+0 -1261) ➕ `vendor/github.com/boltdb/bolt/LICENSE` (+20 -0) ➕ `vendor/github.com/boltdb/bolt/Makefile` (+18 -0) ➕ `vendor/github.com/boltdb/bolt/README.md` (+848 -0) ➕ `vendor/github.com/boltdb/bolt/appveyor.yml` (+18 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_386.go` (+7 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_amd64.go` (+7 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_arm.go` (+7 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_arm64.go` (+9 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_linux.go` (+10 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_openbsd.go` (+27 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_ppc.go` (+9 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_ppc64.go` (+9 -0) ➕ `vendor/github.com/boltdb/bolt/bolt_ppc64le.go` (+9 -0) _...and 80 more files_ </details> ### 📄 Description Since there have been people crying because of the big bindata PR I'm trying to split it into multiple smaller pull requests. This is the first step which embeds the public folder optionally into the binary with the build tag `bindata`. This pull requests obsoletes parts of #74. --- <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 11:43:16 -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#15291