-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix missed RenderLabel change in card template #29772
Conversation
It seems it's impossible. Maybe you should add those links to |
I have a plan to refactor these "Render" functions by our ctx function, I just haven't found a good timing. (Other |
in that case it must be a link to a repo in our fixtures witch contains actuall labels on issues withing projecs 🤔 I can try to address that tomorow ... I'm bussy and of keyboard as from now on |
No such linter exists to my knowledge. |
The real problem is that Golang template is a pure dynamic system, many calls and types can't be known before execution. |
Yeah it would never be fully lintable, but at least basic stuff like argument count for functions without vararg shouldn't too hard to lint for I guess. |
* main: fix missed RenderLabel change in card template (go-gitea#29772) Fix incorrect locale Tr for gpg command (go-gitea#29754) Improve a11y document and dropdown item (go-gitea#29753) Improve QueryEscape helper function (go-gitea#29768) Use relative links for commits, mentions, and issues in markdown (go-gitea#29427) Move fork router functions to a standalone file (go-gitea#29756) Configure pinned JS dependencies via updates.config.js (go-gitea#29696) Refactor to use optional.Option for issue index search option (go-gitea#29739) Fix user router possbile panic (go-gitea#29751) Refactor label.IsArchived() (go-gitea#29750) Fix date rendering by adding `<gitea-absolute-date>` (go-gitea#29725) Update to labeler v5 (go-gitea#29721) Update Chroma to v2.13.0 (go-gitea#29732)
* giteaofficial/main: Fix `make generate-swagger` in go 1.22 (go-gitea#29780) Fix incorrect menu/link on webhook edit page (go-gitea#29709) Add test for webhook (go-gitea#29755) Fix possible NPE in ToPullReviewList (go-gitea#29759) fix missed RenderLabel change in card template (go-gitea#29772) Fix incorrect locale Tr for gpg command (go-gitea#29754) Improve a11y document and dropdown item (go-gitea#29753) Improve QueryEscape helper function (go-gitea#29768) Use relative links for commits, mentions, and issues in markdown (go-gitea#29427) Move fork router functions to a standalone file (go-gitea#29756) Configure pinned JS dependencies via updates.config.js (go-gitea#29696) Refactor to use optional.Option for issue index search option (go-gitea#29739) Fix user router possbile panic (go-gitea#29751) Refactor label.IsArchived() (go-gitea#29750)
regression of #29680
close #29770
PS: it would be nice to have a linter that is able to check template helpers ...