Prevent collision naming with a gitea-vendor directory #3889

Closed
opened 2025-11-02 05:29:43 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @camlafit on GitHub (Sep 3, 2019).

Hello

To note a discussion with @sapk discord, could be interesting to use a root directory as gitea-vendor/ or web-vendor/ or any other path to store all statics resources.

Could be solve with a different way #20

Actual solution has two troubles :

  • we must manage an hardcoded reserved keyword (an some name could be licit account/organization)
  • An 500 error is raised without any information when we try to rename an organization with a keyword in this list.
Originally created by @camlafit on GitHub (Sep 3, 2019). Hello To note a discussion with @sapk discord, could be interesting to use a root directory as gitea-vendor/ or web-vendor/ or any other path to store all statics resources. Could be solve with a different way #20 Actual solution has two troubles : * we must manage an hardcoded reserved keyword (an some name could be licit account/organization) * An 500 error is raised without any information when we try to rename an organization with a keyword in this list.
GiteaMirror added the type/proposal label 2025-11-02 05:29:43 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Apr 13, 2022):

/assets is reserved and it's for static resources.

@wxiaoguang commented on GitHub (Apr 13, 2022): `/assets` is reserved and it's for static resources.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3889