Commit Graph

2 Commits (dc7ddaee2aca7c3c1652a5b287c3047612c1c655)

Author SHA1 Message Date
Chai-Shi 0387195abb
[Feature] Private README.md for organization ()
Implemented 

---------

Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
wxiaoguang 6d5aa9218e
Refactor request context ()
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.

RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.

Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.