enhance: improve issue-pattern capture groups and support both internal&external trackers enabled (#39354)

* Fix #39351
* Fix #17621
* Fix #34881

By the way, fix error handling bugs in `updateRepoUnits`

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
breken
2026-09-18 08:53:45 -07:00
committed by GitHub
co-authored by wxiaoguang
parent 85eaf5c71c
commit b27e7d0289
13 changed files with 145 additions and 112 deletions
+4 -4
View File
@@ -105,12 +105,12 @@ type RepoSettingForm struct {
DefaultWikiBranch string
ExternalWikiURL string
EnableIssues bool
EnableInternalTracker bool
EnableExternalTracker bool
ExternalTrackerURL string
TrackerURLFormat string
ExternalTrackerURL string `binding:"TrimSpace"`
TrackerURLFormat string `binding:"TrimSpace"`
TrackerIssueStyle string
ExternalTrackerRegexpPattern string
ExternalTrackerRegexpPattern string `binding:"TrimSpace"`
EnableCloseIssuesViaCommitInAnyBranch bool
EnableProjects bool