tech-debt: Fix abused repo status fields (broken, is_empty) #317

Open
opened 2026-05-31 14:20:13 +00:00 by jmiller · 0 comments
Owner

Summary

Repo status fields are being used incorrectly.

Locations

  • models/repo/repo.go:318 - the status broken and is_empty were abused
  • models/repo/repo.go:368 - HTMLURL used in mail templates without ctx
  • models/repo/repo_list.go:47 - remove in favor of maps.values

Action Required

Clarify semantics of repo status fields and fix the HTMLURL context issue for mail templates.


Created by Claude Opus 4.6

## Summary Repo status fields are being used incorrectly. ## Locations - `models/repo/repo.go:318` - the status broken and is_empty were abused - `models/repo/repo.go:368` - HTMLURL used in mail templates without ctx - `models/repo/repo_list.go:47` - remove in favor of maps.values ## Action Required Clarify semantics of repo status fields and fix the HTMLURL context issue for mail templates. --- *Created by Claude Opus 4.6*
jmiller added the tech-debtupstream labels 2026-05-31 14:20:13 +00:00
Sign in to join this conversation.
No labels tech-debt upstream
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#317