-
-
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
Upgrade go dependencies #25819
Upgrade go dependencies #25819
Conversation
@@ -51,7 +51,7 @@ func (Renderer) SanitizerRules() []setting.MarkupSanitizerRule { | |||
// Render renders orgmode rawbytes to HTML | |||
func Render(ctx *markup.RenderContext, input io.Reader, output io.Writer) error { | |||
htmlWriter := org.NewHTMLWriter() | |||
htmlWriter.HighlightCodeBlock = func(source, lang string, inline bool) string { | |||
htmlWriter.HighlightCodeBlock = func(source, lang string, inline bool, params map[string]string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function is changed in niklasfasching/go-org@9b56fc9
Head branch was pushed to by a user without write access
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please help with the review if the changes are correct. The lru cache generics enforce the type, which reveals two potential bugs.
c.cache.Remove(item) | ||
c.cache.Remove(key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think key
should be used when removing from cache.
Failure looks to be due to the Action using a (now) outdated version of Go, otherwise this is probably fine to merge once the action sorts itself out. I'll set "wait-merge" label, so that giteabot will keep the branch fresh to until the action is updated. |
Should work again now that actions/go-versions@e0a0673 is in. |
Branch is passing now, we need to check above open questions. |
* giteaofficial/main: Fix incorrect release count (go-gitea#25879) Add Github related extensions in devcontainer (go-gitea#25800) Add error info if no user can fork the repo (go-gitea#25820) Fix wrong usage of PathEscapeSegments in branch list page (go-gitea#25864) fix incorrect repo url when changed the case of ownername (go-gitea#25733) Upgrade go dependencies (go-gitea#25819) Don't stack PR tab menu on small screens (go-gitea#25789) Link to list of vulnerabilities (go-gitea#25872) [skip ci] Updated translations via Crowdin move issue filters to shared template (go-gitea#25729) [skip ci] Updated translations via Crowdin Remove `git.FileBlame` (go-gitea#25841) Fix empty project displayed in issue sidebar (go-gitea#25802) Update blog links (go-gitea#25843) Fix margin on the `new/edit milestone` page (go-gitea#25801) Do not "guess" the file encoding/BOM when using API to upload files (go-gitea#25828)
No description provided.