forgejo/models
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136)
* Set the default branch for repositories generated from templates
* Allows default branch to be set through the API for repos generated from templates
* Update swagger API template
* Only set default branch to the one from the template if not specified
* Use specified default branch if it exists while generating git commits

Fix #19082 

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-03-27 03:56:28 +01:00
..
admin
appstate
asymkey Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
auth
avatars
db
fixtures Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
foreignreference Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
issues
migrations nit fix (#19116) 2022-03-17 20:04:36 +02:00
perm
repo Add config option to disable "Update branch by rebase" (#18745) 2022-03-04 03:30:49 -05:00
unit
unittest
user Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
webhook
access.go
access_test.go
action.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
action_list.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
action_test.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
branches.go
branches_test.go
commit.go
commit_status.go
commit_status_test.go
consistency.go
consistency_test.go
engine_test.go
error.go
fixture_generation.go
fixture_test.go
helper.go
helper_directory.go
helper_environment.go Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
issue.go Fix showing issues in your repositories (#18916) 2022-03-23 23:57:09 +01:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Delete related notifications on issue deletion too (#18953) 2022-03-17 23:04:09 +01:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_milestone.go
issue_milestone_test.go
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
issue_tracked_time.go
issue_tracked_time_test.go Refactor SecToTime() function (#18863) 2022-02-28 23:57:20 +01:00
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go Improve SyncMirrors logging (#19045) 2022-03-10 10:09:48 +00:00
lfs_lock.go
main_test.go
migrate.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
migrate_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
notification.go ignore missing comment for user notifications (#18954) 2022-03-03 16:18:26 +01:00
notification_test.go
org.go
org_team.go Cleanup protected branches when deleting users & teams (#19158) 2022-03-22 09:09:45 +08:00
org_team_test.go
org_test.go
project.go
project_board.go
project_issue.go
project_test.go
protected_tag.go
protected_tag_test.go
pull.go
pull_list.go
pull_test.go
release.go
repo.go use xorm builder for models.getReviewers() (#19033) 2022-03-10 19:12:10 +01:00
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go Set the default branch for repositories generated from templates (#19136) 2022-03-27 03:56:28 +01:00
repo_generate_test.go
repo_list.go
repo_list_test.go
repo_permission.go
repo_permission_test.go
repo_test.go Allow users to self-request a PR review (#19030) 2022-03-08 22:48:47 +01:00
repo_transfer.go
repo_transfer_test.go
review.go
review_test.go
statistic.go
task.go
token.go
token_test.go
upload.go
user.go Cleanup protected branches when deleting users & teams (#19158) 2022-03-22 09:09:45 +08:00
user_heatmap.go
user_heatmap_test.go RSS/Atom support for Repos (#19055) 2022-03-13 17:40:47 +01:00
user_test.go
userlist.go
userlist_test.go