Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include more variables on admin/config page #6378

Merged
merged 4 commits into from
Mar 19, 2019

Conversation

mrsdizzie
Copy link
Member

Include the current CustomPath location in the admin section and also
display GITEA_WORK_DIR and/or GITEA_CUSTOM env var if they are set.

Right now there is no easy way to see this information, and if you try
and help most users they won't be able to tell you anything about these
values -- just that their custom template isn't working, files aren't in
the right place, etc... Now you can see all paths and if they were set
by ENV or not.

Before:
Screen Shot 2019-03-19 at 4 36 20 PM

After:
Screen Shot 2019-03-19 at 4 43 34 PM

Include the current CustomPath location in the admin section and also
display GITEA_WORK_DIR and/or GITEA_CUSTOM env var if they are set.

Right now there is no easy way to see this information, and if you try
and help most users they won't be able to tell you anything about these
values -- just that their custom template isn't working, files aren't in
the right place, etc... Now you can see all paths and if they were set
by ENV or not.
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 19, 2019
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 19, 2019
@codecov-io
Copy link

codecov-io commented Mar 19, 2019

Codecov Report

Merging #6378 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6378      +/-   ##
==========================================
- Coverage   38.87%   38.85%   -0.03%     
==========================================
  Files         365      365              
  Lines       51346    51360      +14     
==========================================
- Hits        19962    19957       -5     
- Misses      28512    28531      +19     
  Partials     2872     2872
Impacted Files Coverage Δ
routers/admin/admin.go 0% <0%> (ø) ⬆️
models/unit.go 0% <0%> (-14.29%) ⬇️
modules/process/manager.go 76.81% <0%> (-4.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c82ef0...5e43b9c. Read the comment docs.

@techknowlogick techknowlogick added this to the 1.9.0 milestone Mar 19, 2019
@techknowlogick techknowlogick added the topic/ui Change the appearance of the Gitea UI label Mar 19, 2019
@techknowlogick techknowlogick merged commit f125330 into go-gitea:master Mar 19, 2019
@jolheiser
Copy link
Member

🙇

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants