forgejo/models/issues
Adam Majer d68a613ba8
Add support for sha256 repositories ()
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.

Fixes: 
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: 

<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447">

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 17:05:02 +01:00
..
assignees.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods () 2023-12-07 15:27:36 +08:00
assignees_test.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
comment.go Add support for sha256 repositories () 2024-01-19 17:05:02 +01:00
comment_code.go Rework markup link rendering () 2024-01-15 08:49:24 +00:00
comment_list.go Add logs for data broken of comment review () 2023-09-29 02:31:36 +00:00
comment_test.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
content_history.go Fix comment permissions () 2023-11-25 17:21:21 +00:00
content_history_test.go Fix comment permissions () 2023-11-25 17:21:21 +00:00
dependency.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
dependency_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
issue_index.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
issue_label.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_label_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_list.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_list_test.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_lock.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
issue_project.go Clean some functions about project issue () 2023-10-20 14:01:25 +02:00
issue_search.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
issue_stats.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
issue_test.go Refactor deletion () 2023-12-25 21:25:29 +01:00
issue_update.go Don't use subselect in DeleteIssuesByRepoID () 2023-10-03 08:17:28 +00:00
issue_user.go Add combined index for issue_user.uid and issue_id () 2023-12-14 09:26:59 +00:00
issue_user_test.go Fix bug with sqlite load read () 2023-08-05 10:40:27 +08:00
issue_watch.go Even more db.DefaultContext refactor () 2023-10-03 10:30:41 +00:00
issue_watch_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
issue_xref.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
issue_xref_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org () 2023-09-14 02:59:53 +00:00
label.go Refactor deletion () 2023-12-25 21:25:29 +01:00
label_test.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
milestone.go Refactor timeutil package () 2023-12-28 10:09:57 +00:00
milestone_list.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
milestone_test.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
pull.go Add support for sha256 repositories () 2024-01-19 17:05:02 +01:00
pull_list.go More refactoring of db.DefaultContext () 2023-09-15 06:13:19 +00:00
pull_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
reaction.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
reaction_test.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
review.go Add support for sha256 repositories () 2024-01-19 17:05:02 +01:00
review_list.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00
review_test.go Fix 500 when deleting a dismissed review () 2023-11-05 13:25:40 +00:00
stopwatch.go Remove deadcode under models/issues () 2023-12-19 20:12:02 +01:00
stopwatch_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00
tracked_time.go Add ability to see open and closed issues at the same time () 2024-01-15 15:07:22 +00:00
tracked_time_test.go Add ability to see open and closed issues at the same time () 2024-01-15 15:07:22 +00:00