mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hi, We'd like to add merge files files to GetCommitFileStatus fucntions so API returns the list of all the files associated to a merged pull request commit, like GitHub API does. The list of affectedFiles for an API commit is fetched from toCommit() function in routers/api/v1/repo/commits.go, and API was returning no file in case of a pull request with no conflict, or just files associated to the confict resolution, but NOT the full list of merged files. This would lead to situations where a CI polling a repo for changes could miss some file changes due to API returning an empty / partial list in case of such merged pull requests. (Hope this makes sense :) ) NOTE: I'd like to add a unittest in integrations/api_repo_git_commits_test.go but failed to understand how to add my own test bare repo so I can make a test on a merged pull request commit to check for affectedFiles. Is there a merged pull request in there that I could use maybe? Could someone please direct me to the relevant ressources with informations on how to do that please? Thanks for your time, Laurent. --------- Co-authored-by: Thomas Desveaux <desveaux.thomas@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
foreachref | 2 years ago | |
internal | 2 years ago | |
pipeline | 2 years ago | |
tests/repos | 2 years ago | |
url | 2 years ago | |
README.md | 6 years ago | |
batch_reader.go | 2 years ago | |
blame.go | 2 years ago | |
blame_test.go | 2 years ago | |
blob.go | 2 years ago | |
blob_gogit.go | 2 years ago | |
blob_nogogit.go | 2 years ago | |
blob_test.go | 2 years ago | |
command.go | 2 years ago | |
command_race_test.go | 2 years ago | |
command_test.go | 2 years ago | |
commit.go | 2 years ago | |
commit_convert_gogit.go | 2 years ago | |
commit_info.go | 2 years ago | |
commit_info_gogit.go | 2 years ago | |
commit_info_nogogit.go | 2 years ago | |
commit_info_test.go | 2 years ago | |
commit_reader.go | 2 years ago | |
commit_test.go | 2 years ago | |
diff.go | 2 years ago | |
diff_test.go | 2 years ago | |
error.go | 2 years ago | |
git.go | 2 years ago | |
git_test.go | 2 years ago | |
hook.go | 2 years ago | |
last_commit_cache.go | 2 years ago | |
last_commit_cache_gogit.go | 2 years ago | |
last_commit_cache_nogogit.go | 2 years ago | |
log_name_status.go | 2 years ago | |
notes.go | 2 years ago | |
notes_gogit.go | 2 years ago | |
notes_nogogit.go | 2 years ago | |
notes_test.go | 2 years ago | |
parse_gogit.go | 2 years ago | |
parse_gogit_test.go | 2 years ago | |
parse_nogogit.go | 2 years ago | |
parse_nogogit_test.go | 2 years ago | |
ref.go | 2 years ago | |
ref_test.go | 2 years ago | |
remote.go | 2 years ago | |
repo.go | 2 years ago | |
repo_archive.go | 2 years ago | |
repo_attribute.go | 2 years ago | |
repo_attribute_test.go | 2 years ago | |
repo_base.go | 2 years ago | |
repo_base_gogit.go | 2 years ago | |
repo_base_nogogit.go | 2 years ago | |
repo_blame.go | 2 years ago | |
repo_blob.go | 2 years ago | |
repo_blob_gogit.go | 2 years ago | |
repo_blob_nogogit.go | 2 years ago | |
repo_blob_test.go | 2 years ago | |
repo_branch.go | 2 years ago | |
repo_branch_gogit.go | 2 years ago | |
repo_branch_nogogit.go | 2 years ago | |
repo_branch_test.go | 2 years ago | |
repo_commit.go | 2 years ago | |
repo_commit_gogit.go | 2 years ago | |
repo_commit_nogogit.go | 2 years ago | |
repo_commit_test.go | 2 years ago | |
repo_commitgraph.go | 2 years ago | |
repo_commitgraph_gogit.go | 2 years ago | |
repo_compare.go | 2 years ago | |
repo_compare_test.go | 2 years ago | |
repo_gpg.go | 2 years ago | |
repo_hook.go | 2 years ago | |
repo_index.go | 2 years ago | |
repo_language_stats.go | 2 years ago | |
repo_language_stats_gogit.go | 2 years ago | |
repo_language_stats_nogogit.go | 2 years ago | |
repo_language_stats_test.go | 2 years ago | |
repo_object.go | 2 years ago | |
repo_ref.go | 2 years ago | |
repo_ref_gogit.go | 2 years ago | |
repo_ref_nogogit.go | 2 years ago | |
repo_ref_test.go | 2 years ago | |
repo_stats.go | 2 years ago | |
repo_stats_test.go | 2 years ago | |
repo_tag.go | 2 years ago | |
repo_tag_gogit.go | 2 years ago | |
repo_tag_nogogit.go | 2 years ago | |
repo_tag_test.go | 2 years ago | |
repo_test.go | 2 years ago | |
repo_tree.go | 2 years ago | |
repo_tree_gogit.go | 2 years ago | |
repo_tree_nogogit.go | 2 years ago | |
sha1.go | 2 years ago | |
sha1_gogit.go | 2 years ago | |
sha1_nogogit.go | 2 years ago | |
sha1_test.go | 2 years ago | |
signature.go | 2 years ago | |
signature_gogit.go | 2 years ago | |
signature_nogogit.go | 2 years ago | |
submodule.go | 2 years ago | |
submodule_test.go | 2 years ago | |
tag.go | 2 years ago | |
tag_test.go | 2 years ago | |
tree.go | 2 years ago | |
tree_blob.go | 2 years ago | |
tree_blob_gogit.go | 2 years ago | |
tree_blob_nogogit.go | 2 years ago | |
tree_entry.go | 2 years ago | |
tree_entry_gogit.go | 2 years ago | |
tree_entry_mode.go | 2 years ago | |
tree_entry_nogogit.go | 2 years ago | |
tree_entry_test.go | 2 years ago | |
tree_gogit.go | 2 years ago | |
tree_nogogit.go | 2 years ago | |
utils.go | 2 years ago |
README.md
Git Module
This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.