Lunny Xiao
edc94c7041
Monitor all git commands; move blame to git package and replace git as a variable ( #6864 )
...
* monitor all git commands; move blame to git package and replace git as a variable
* use git command but not other commands
* fix build
* move exec.Command to git.NewCommand
* fix fmt
* remove unrelated changes
* remove unrelated changes
* refactor IsEmpty and add tests
* fix tests
* fix tests
* fix tests
* fix tests
* remove gitLogger
* fix fmt
* fix isEmpty
* fix lint
* fix tests
5 years ago
Lunny Xiao
199faadea3
Fix org visibility bug when git cloning ( #6743 )
...
* fix org visibility bug
* fix permission check
* add integration tests
* fix tests
* change test user name for easier maintainance and fix test
* fix test git repo name
6 years ago
Antoine GIRARD
69dfe43ffc
Fix some tests : make coverage -> test ( #2492 )
...
* Fix test : make coverage -> test
* Refactor integration tests to be able to run them in parallel
* Add custom local repository temp path
7 years ago
Lunny Xiao
31b5e9177f
fix collborators lack of units on orgnization repositories ( #1968 )
...
* fix collborators lack of units on orgnization repositories
* also change log level to debug
7 years ago
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
8 years ago