9 Commits (5866eb23217de4d29b181e30c26cee28ebc6aedc)

Author SHA1 Message Date
Matthias Loibl d1006150fb Refactor process package and introduce ProcessManager{} with tests (#75)
* Add a process.Manager singleton with process.GetManager()

* Use process.GetManager everywhere

* Fix godoc comments for process module

* Increment process counter id after locking the mutex
8 years ago
Mura Li 9aaf2a6d9a modules/process: add ExecDirEnv (next to ExecDir)
Add a sibling to ExecDir which is capable of specifying environment variables,
so that we can invoke `git` with GIT_INDEX_FILE, GIT_DIR, etc..

For #258
8 years ago
Sandro Santilli ad3d6b7fff Lint and document manager api 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon c50a3503e6 introduce git-shell 9 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Unknown 097c8e05e6 Able to set timeout for process monitor 10 years ago
Unknown f147ad619a Basic process manager 10 years ago