[PR #74] [CLOSED] Integrated bindata for public and templates #15130

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/74
Author: @tboerger
Created: 11/4/2016
Status: Closed

Base: masterHead: bindata


📝 Commits (10+)

  • 17a0d4c Dropped superfluous template version file
  • c52e8a5 Dropped codekit config, nobody uses that
  • 2597926 Dropped superfluous readme
  • be316f5 Added macaron bindata plugin
  • 0f0b804 Dropped old bindata module
  • 41ea158 Generated new bindata
  • de9a7cb Replaced bindata task with go generate task
  • 2eaefca Integrated new bindata and dropped superfluous version checks
  • da33510 Dropped static bindata
  • 6351167 Integrated build flag for bindata in public and templates

📊 Changes

24 files changed (+745 additions, -6657 deletions)

View changed files

📝 .gitignore (+3 -0)
📝 Makefile (+9 -16)
📝 cmd/web.go (+26 -57)
conf/README.md (+0 -3)
📝 models/mail.go (+6 -5)
📝 models/repo.go (+5 -5)
modules/bindata/bindata.go (+0 -5307)
📝 modules/setting/setting.go (+2 -2)
public/config.codekit (+0 -1261)
public/dynamic.go (+20 -0)
public/public.go (+13 -0)
public/static.go (+28 -0)
templates/.VERSION (+0 -1)
templates/dynamic.go (+20 -0)
templates/static.go (+29 -0)
templates/templates.go (+13 -0)
vendor/github.com/elazarl/go-bindata-assetfs/LICENSE (+23 -0)
vendor/github.com/elazarl/go-bindata-assetfs/README.md (+46 -0)
vendor/github.com/elazarl/go-bindata-assetfs/assetfs.go (+165 -0)
vendor/github.com/elazarl/go-bindata-assetfs/doc.go (+13 -0)

...and 4 more files

📄 Description

Fixes #30

Things left to do:

  • Integrate the switch for mailer templates
  • Make conf also aware of builtin or external

🔄 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/74 **Author:** [@tboerger](https://github.com/tboerger) **Created:** 11/4/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `bindata` --- ### 📝 Commits (10+) - [`17a0d4c`](https://github.com/go-gitea/gitea/commit/17a0d4c0e8c0042a649f541f762328ce0e9adf98) Dropped superfluous template version file - [`c52e8a5`](https://github.com/go-gitea/gitea/commit/c52e8a5890682ed0fb380ef2890823b7e4c5d863) Dropped codekit config, nobody uses that - [`2597926`](https://github.com/go-gitea/gitea/commit/2597926f8397b6d0ef38b033485ae9c7e5da8fc3) Dropped superfluous readme - [`be316f5`](https://github.com/go-gitea/gitea/commit/be316f57793a9cd347c7e0e4839a12ec2aed7abe) Added macaron bindata plugin - [`0f0b804`](https://github.com/go-gitea/gitea/commit/0f0b804362179d5bc7a5eb70fff406fd2e6cb0b7) Dropped old bindata module - [`41ea158`](https://github.com/go-gitea/gitea/commit/41ea1583e82774d7db53d074e0412658045773cc) Generated new bindata - [`de9a7cb`](https://github.com/go-gitea/gitea/commit/de9a7cbb7d02f8565cbe3e111af5c5de4d62881a) Replaced bindata task with go generate task - [`2eaefca`](https://github.com/go-gitea/gitea/commit/2eaefca2967a7157e0235310e29161d043f84ebc) Integrated new bindata and dropped superfluous version checks - [`da33510`](https://github.com/go-gitea/gitea/commit/da33510d4d1df7806b6396fd053c6a8c57cea6ba) Dropped static bindata - [`6351167`](https://github.com/go-gitea/gitea/commit/6351167128e2cc79964a77ccc8b2037cdab30c6e) Integrated build flag for bindata in public and templates ### 📊 Changes **24 files changed** (+745 additions, -6657 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) 📝 `Makefile` (+9 -16) 📝 `cmd/web.go` (+26 -57) ➖ `conf/README.md` (+0 -3) 📝 `models/mail.go` (+6 -5) 📝 `models/repo.go` (+5 -5) ➖ `modules/bindata/bindata.go` (+0 -5307) 📝 `modules/setting/setting.go` (+2 -2) ➖ `public/config.codekit` (+0 -1261) ➕ `public/dynamic.go` (+20 -0) ➕ `public/public.go` (+13 -0) ➕ `public/static.go` (+28 -0) ➖ `templates/.VERSION` (+0 -1) ➕ `templates/dynamic.go` (+20 -0) ➕ `templates/static.go` (+29 -0) ➕ `templates/templates.go` (+13 -0) ➕ `vendor/github.com/elazarl/go-bindata-assetfs/LICENSE` (+23 -0) ➕ `vendor/github.com/elazarl/go-bindata-assetfs/README.md` (+46 -0) ➕ `vendor/github.com/elazarl/go-bindata-assetfs/assetfs.go` (+165 -0) ➕ `vendor/github.com/elazarl/go-bindata-assetfs/doc.go` (+13 -0) _...and 4 more files_ </details> ### 📄 Description Fixes #30 Things left to do: * [ ] Integrate the switch for mailer templates * [ ] Make conf also aware of builtin or external --- <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:39:32 -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#15130