Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Laurent Cahour
b21b63c61a
Add merge files files to GetCommitFileStatus ( #20515 )
...
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>
1 year ago
..
foreachref
Replace `interface{}` with `any` ( #25686 )
1 year ago
internal
…
pipeline
Refactor and tidy-up the merge/update branch code ( #22568 )
2 years ago
tests/ repos
Add merge files files to GetCommitFileStatus ( #20515 )
1 year ago
url
…
README.md
…
batch_reader.go
Make git batch operations use parent context timeout instead of default timeout ( #26325 )
1 year ago
blame.go
Close stdout correctly for "git blame" ( #26470 )
1 year ago
blame_test.go
Fix blame view missing lines ( #22826 )
2 years ago
blob.go
Fix profile render when the README.md size is larger than 1024 bytes ( #25131 )
1 year ago
blob_gogit.go
…
blob_nogogit.go
…
blob_test.go
…
command.go
Add elapsed time on debug for slow git commands ( #25642 )
1 year ago
command_race_test.go
…
command_test.go
Improve git log for debugging ( #24095 )
2 years ago
commit.go
Add merge files files to GetCommitFileStatus ( #20515 )
1 year ago
commit_convert_gogit.go
…
commit_info.go
…
commit_info_gogit.go
Replace `interface{}` with `any` ( #25686 )
1 year ago
commit_info_nogogit.go
…
commit_info_test.go
…
commit_reader.go
…
commit_test.go
Add merge files files to GetCommitFileStatus ( #20515 )
1 year ago
diff.go
…
diff_test.go
…
error.go
…
git.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
1 year ago
git_test.go
Support changing git config through `app.ini`, use `diff.algorithm=histogram` by default ( #24860 )
2 years ago
hook.go
…
last_commit_cache.go
Replace `interface{}` with `any` ( #25686 )
1 year ago
last_commit_cache_gogit.go
…
last_commit_cache_nogogit.go
…
log_name_status.go
Handle files starting with colons in WalkGitLog ( #22935 )
2 years ago
notes.go
…
notes_gogit.go
…
notes_nogogit.go
…
notes_test.go
…
parse_gogit.go
…
parse_gogit_test.go
…
parse_nogogit.go
…
parse_nogogit_test.go
…
ref.go
Fix compatible for webhook ref type ( #25195 )
1 year ago
ref_test.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
2 years ago
remote.go
…
repo.go
Sync repo's IsEmpty status correctly ( #26517 )
1 year ago
repo_archive.go
…
repo_attribute.go
Refactor legacy strange git operations ( #22756 )
2 years ago
repo_attribute_test.go
Use more specific test methods ( #24265 )
2 years ago
repo_base.go
…
repo_base_gogit.go
…
repo_base_nogogit.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
1 year ago
repo_blame.go
Remove `git.FileBlame` ( #25841 )
1 year ago
repo_blob.go
…
repo_blob_gogit.go
…
repo_blob_nogogit.go
…
repo_blob_test.go
…
repo_branch.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
2 years ago
repo_branch_gogit.go
…
repo_branch_nogogit.go
…
repo_branch_test.go
…
repo_commit.go
Pass 'not' to commit count ( #24473 )
2 years ago
repo_commit_gogit.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_commit_nogogit.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_commit_test.go
Use more specific test methods ( #24265 )
2 years ago
repo_commitgraph.go
…
repo_commitgraph_gogit.go
…
repo_compare.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
1 year ago
repo_compare_test.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
1 year ago
repo_gpg.go
…
repo_hook.go
…
repo_index.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
1 year ago
repo_language_stats.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_gogit.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_nogogit.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_language_stats_test.go
Merge different languages for language stats ( #24900 )
2 years ago
repo_object.go
…
repo_ref.go
Show branches and tags that contain a commit ( #25180 )
1 year ago
repo_ref_gogit.go
…
repo_ref_nogogit.go
…
repo_ref_test.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_stats.go
…
repo_stats_test.go
Fix commit retrieval by tag ( #21804 )
2 years ago
repo_tag.go
…
repo_tag_gogit.go
…
repo_tag_nogogit.go
…
repo_tag_test.go
Use more specific test methods ( #24265 )
2 years ago
repo_test.go
Faster git.GetDivergingCommits ( #24482 )
2 years ago
repo_tree.go
…
repo_tree_gogit.go
…
repo_tree_nogogit.go
…
sha1.go
Support getting changed files when commit ID is `EmptySHA` ( #26290 )
1 year ago
sha1_gogit.go
…
sha1_nogogit.go
…
sha1_test.go
…
signature.go
…
signature_gogit.go
…
signature_nogogit.go
Update tool dependencies, lock govulncheck and actionlint ( #25655 )
1 year ago
submodule.go
…
submodule_test.go
…
tag.go
…
tag_test.go
…
tree.go
…
tree_blob.go
…
tree_blob_gogit.go
…
tree_blob_nogogit.go
…
tree_entry.go
Remember to attach the parent tree when converting TreeEntry() -> Tree() ( #22902 )
2 years ago
tree_entry_gogit.go
…
tree_entry_mode.go
…
tree_entry_nogogit.go
…
tree_entry_test.go
…
tree_gogit.go
…
tree_nogogit.go
…
utils.go
Replace `interface{}` with `any` ( #25686 )
1 year ago
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.