tech-debt: Fix abused repo status fields (broken, is_empty) #317
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Repo status fields are being used incorrectly.
Locations
models/repo/repo.go:318- the status broken and is_empty were abusedmodels/repo/repo.go:368- HTMLURL used in mail templates without ctxmodels/repo/repo_list.go:47- remove in favor of maps.valuesAction Required
Clarify semantics of repo status fields and fix the HTMLURL context issue for mail templates.
Created by Claude Opus 4.6