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.
580e21dd2e
Gitea instance keeps reporting a lot of errors like "LFS SSH transfer connection denied, pure SSH protocol is disabled". When starting debugging the problem, there are more problems found. Try to address most of them: * avoid unnecessary server side error logs (change `fail()` to not log them) * figure out the broken tests/user2/lfs.git (added comments) * avoid `migratePushMirrors` failure when a repository doesn't exist (ignore them) * avoid "Authorization" (internal&lfs) header conflicts, remove the tricky "swapAuth" and use "X-Gitea-Internal-Auth" * make internal token comparing constant time (it wasn't a serous problem because in a real world it's nearly impossible to timing-attack the token, but good to fix and backport) * avoid duplicate routers (introduce AddOwnerRepoGitLFSRoutes) * avoid "internal (private)" routes using session/web context (they should use private context) * fix incorrect "path" usages (use "filepath") * fix incorrect mocked route point handling (need to check func nil correctly) * split some tests from "git general tests" to "git misc tests" (to keep "git_general_test.go" simple) Still no correct result for Git LFS SSH tests. So the code is kept there (`tests/integration/git_lfs_ssh_test.go`) and a FIXME explains the details. |
3 months ago | |
---|---|---|
.. | ||
foreachref | 1 year ago | |
internal | 2 years ago | |
pipeline | 5 months ago | |
tests/repos | 1 year ago | |
url | 2 years ago | |
README.md | ||
attribute.go | 11 months ago | |
batch.go | 5 months ago | |
batch_reader.go | 3 months ago | |
blame.go | 9 months ago | |
blame_sha256_test.go | 6 months ago | |
blame_test.go | 11 months ago | |
blob.go | 2 years ago | |
blob_gogit.go | 1 year ago | |
blob_nogogit.go | 5 months ago | |
blob_test.go | 2 years ago | |
command.go | 10 months ago | |
command_race_test.go | 2 years ago | |
command_test.go | 2 years ago | |
commit.go | 9 months ago | |
commit_convert_gogit.go | 10 months ago | |
commit_info.go | 2 years ago | |
commit_info_gogit.go | 1 year ago | |
commit_info_nogogit.go | 5 months ago | |
commit_info_test.go | 2 years ago | |
commit_reader.go | 9 months ago | |
commit_sha256_test.go | 11 months ago | |
commit_test.go | 6 months ago | |
diff.go | 6 months ago | |
diff_test.go | 2 years ago | |
error.go | 3 months ago | |
git.go | 4 months ago | |
git_test.go | 12 months ago | |
grep.go | 9 months ago | |
grep_test.go | 9 months ago | |
hook.go | 2 years ago | |
last_commit_cache.go | 10 months ago | |
last_commit_cache_gogit.go | 1 year ago | |
last_commit_cache_nogogit.go | 2 years ago | |
log_name_status.go | 5 months ago | |
notes.go | 2 years ago | |
notes_gogit.go | 1 year ago | |
notes_nogogit.go | 2 years ago | |
notes_test.go | 2 years ago | |
object_format.go | 9 months ago | |
object_id.go | 9 months ago | |
object_id_gogit.go | 1 year ago | |
object_id_test.go | 9 months ago | |
parse_gogit.go | 9 months ago | |
parse_gogit_test.go | 9 months ago | |
parse_nogogit.go | 9 months ago | |
parse_nogogit_test.go | 9 months ago | |
ref.go | 9 months ago | |
ref_test.go | 2 years ago | |
remote.go | 9 months ago | |
repo.go | 9 months ago | |
repo_archive.go | 1 year ago | |
repo_attribute.go | 3 months ago | |
repo_attribute_test.go | 11 months ago | |
repo_base_gogit.go | 9 months ago | |
repo_base_nogogit.go | 5 months ago | |
repo_blame.go | 2 years ago | |
repo_blob.go | 1 year ago | |
repo_blob_gogit.go | 1 year ago | |
repo_blob_nogogit.go | 1 year ago | |
repo_blob_test.go | 1 year ago | |
repo_branch.go | 11 months ago | |
repo_branch_gogit.go | 6 months ago | |
repo_branch_nogogit.go | 5 months ago | |
repo_branch_test.go | 6 months ago | |
repo_commit.go | 6 months ago | |
repo_commit_gogit.go | 11 months ago | |
repo_commit_nogogit.go | 5 months ago | |
repo_commit_test.go | 6 months ago | |
repo_commitgraph.go | 9 months ago | |
repo_commitgraph_gogit.go | 1 year ago | |
repo_compare.go | 11 months ago | |
repo_compare_test.go | 11 months ago | |
repo_gpg.go | 1 year ago | |
repo_hook.go | 2 years ago | |
repo_index.go | 3 months ago | |
repo_language_stats.go | 11 months ago | |
repo_language_stats_gogit.go | 11 months ago | |
repo_language_stats_nogogit.go | 5 months ago | |
repo_language_stats_test.go | 2 years ago | |
repo_object.go | 1 year ago | |
repo_ref.go | 2 years ago | |
repo_ref_gogit.go | 1 year ago | |
repo_ref_nogogit.go | 1 year ago | |
repo_ref_test.go | 2 years ago | |
repo_stats.go | 11 months ago | |
repo_stats_test.go | 2 years ago | |
repo_tag.go | 10 months ago | |
repo_tag_gogit.go | 1 year ago | |
repo_tag_nogogit.go | 5 months ago | |
repo_tag_test.go | 10 months ago | |
repo_test.go | 2 years ago | |
repo_tree.go | 1 year ago | |
repo_tree_gogit.go | 6 months ago | |
repo_tree_nogogit.go | 5 months ago | |
signature.go | 12 months ago | |
signature_gogit.go | 12 months ago | |
signature_nogogit.go | 12 months ago | |
signature_test.go | 12 months ago | |
submodule.go | 9 months ago | |
submodule_test.go | 2 years ago | |
tag.go | 10 months ago | |
tag_test.go | 10 months ago | |
tree.go | 1 year ago | |
tree_blob.go | 2 years ago | |
tree_blob_gogit.go | 1 year ago | |
tree_blob_nogogit.go | 2 years ago | |
tree_entry.go | 2 years ago | |
tree_entry_gogit.go | 1 year ago | |
tree_entry_mode.go | 2 years ago | |
tree_entry_nogogit.go | 5 months ago | |
tree_entry_test.go | 2 years ago | |
tree_gogit.go | 1 year ago | |
tree_nogogit.go | 5 months ago | |
tree_test.go | 11 months ago | |
utils.go | 9 months ago | |
utils_test.go | 9 months 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.