Commit Graph

4 Commits (eb1bf2377be15deb593a3e2426558d92c1973107)

Author SHA1 Message Date
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process ()
Replace all calls to os.Remove/os.RemoveAll by retrying util.Remove/util.RemoveAll and remove circular dependencies from util.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
zeripath 52cfd2743c
Option to set default branch at repository creation ()
* Option to set default branch at repository creation
* Handle template repos with non-default master branch
* Add DefaultBranch handling on creation to API

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
John Olheiser 28216bde46 More expansions in template repositories ()
* Super expansion
* Explain which features are in 1.11 vs 1.12
* Move imports

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository ()
* Move create/fork repository from models to modules/repository

* fix wrong reference

* fix test

* fix test

* fix lint

* Fix DBContext

* remove duplicated TestMain

* fix lint

* fix conflicts