Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run integration tests on git 1.7.2, 1.8.0, 2.1.2+ #7863

Closed
1 of 7 tasks
zeripath opened this issue Aug 14, 2019 · 0 comments · Fixed by #7775
Closed
1 of 7 tasks

Cannot run integration tests on git 1.7.2, 1.8.0, 2.1.2+ #7863

zeripath opened this issue Aug 14, 2019 · 0 comments · Fixed by #7775

Comments

@zeripath
Copy link
Contributor

zeripath commented Aug 14, 2019

  • Gitea version (or commit ref): master
  • Git version: 1.7.2, 1.8.0, 2.1.2
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

We cannot run the gitea integration tests locally on early gits due to a number of issues:

  • For git 1.7.2 there are multiple issues in Gitea no longer works on git 1.7.2 #7862
  • For git < 2.1.2 integration tests expect LFS to run
  • For git < 2.3.0 integrations tests requiring SSH won't work because GIT_SSH_COMMAND doesn't exist - we need to use GIT_SSH instead.
  • For git > 2.0.0 to some version of git TestDeleteRepoFile will not work due to commit-tree signing by default - this will need to have --no-gpg-sign passed in.
  • There's also an issue with the merge - in that the behaviour of fetch etc are different in git < 2.0.0
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants