Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add work path CLI option #6922
As mentioned in #6855 the use of environment variables to configure gitea - although common practice - is confusing and frustrating for non-docker users. Environment variables are somewhat opaque to most users and can't easily be inferred from the command.
This PR adds a new option to the main command-line allowing you to set the work-path, overriding the GITEA_WORK_DIR variable and build defined AppWorkDir as necessary.
@@ Coverage Diff @@ ## master #6922 +/- ## ========================================= + Coverage 41.4% 41.4% +<.01% ========================================= Files 441 441 Lines 59729 59732 +3 ========================================= + Hits 24730 24735 +5 + Misses 31761 31757 -4 - Partials 3238 3240 +2