-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
relative Config path combined with Custom-PATH #10082
Comments
This comment has been minimized.
This comment has been minimized.
So the expected is a relative path to current directory. |
if i put a |
but in generell i would not expect path change when using relative paths |
gitea/modules/setting/setting.go Lines 512 to 514 in 1d7b750
|
Yes, I've noticed this problem when I added the path info to the doctor. Config path is relative to custom dir, not to the current working directory as I expected. Not a fan of that, but I guess that changing that behaviour would be quite breaking, especially because we create |
Yup. It's difficult to change once it's there - that's why I kept it that way. Gitea 2? |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
ping - we can leave the funct as it wors but add a check if path starts with |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
works on current version - dont know why think some updated lib did the job |
./gitea --config ./custom/conf/app.1.11.ini
will create&use a config at
./custom/custom/conf/app.1.11.ini
gitea version: current master
1.11.x also afected
The text was updated successfully, but these errors were encountered: