docs: explain where are settings for release files #17161
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Just a tiny change to save someone some time while reading the docs. I got lost in the angular code and npm packages trying to reverse engineer it and figure out what setting controlled this file limit:
Eventually I tracked it down from
gitea/options/locale/locale_en-US.ini
Line 2776 in b74a0f9
to
gitea/templates/repo/upload.tmpl
Line 11 in b74a0f9
to
gitea/web_src/js/index.js
Line 1043 in b74a0f9
to
gitea/web_src/js/features/dropzone.js
Line 3 in b74a0f9
to
https://www.npmjs.com/package/dropzone
and then I realized I can't read 馃槄, back to
gitea/templates/repo/upload.tmpl
Line 8 in b74a0f9
and quickly solved it from there!!
gitea/modules/upload/upload.go
Line 81 in b74a0f9
Yes I know this long path was 90% me failing to read code properly and going on a red herring journey... but point is we should not have to do this in the first place to know how to configure this file upload form 馃ズ 馃憠 馃憟