forgejo/models/git
oliverpool 09699c1506 feat: always publish the link to the commit status (#8177)
See https://codeberg.org/forgejo/forgejo/pulls/4801#issuecomment-5094525 and #8152 for more context.

The current implementation is limited to self-hosted actions and buggy as soon as multiple repos are involved, like for the homepage (because each permission must be fetched individually).

Ideally this feature should work for all kind of status (with some setting indicating which collaborator can access with status). Probably inside the `git_model.ParseCommitsWithStatus` function.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8177
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: oliverpool <git@olivier.pfad.fr>
Co-committed-by: oliverpool <git@olivier.pfad.fr>
2025-06-13 12:41:34 +02:00
..
TestIterateRepositoryIDsWithLFSMetaObjects
branch.go
branch_list.go
branch_test.go
commit_status.go feat: always publish the link to the commit status (#8177) 2025-06-13 12:41:34 +02:00
commit_status_summary.go
commit_status_test.go feat: always publish the link to the commit status (#8177) 2025-06-13 12:41:34 +02:00
lfs.go
lfs_lock.go
lfs_lock_list.go
lfs_test.go
main_test.go
protected_branch.go
protected_branch_list.go
protected_branch_list_test.go
protected_branch_test.go
protected_tag.go
protected_tag_test.go