Skip to content

Refactor repo contents API and add "contents-ext" API #34822

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 23, 2025
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Jun 23, 2025
@wxiaoguang wxiaoguang force-pushed the fix-contents-api branch 3 times, most recently from 6fd2c3a to aa52636 Compare June 23, 2025 13:00
@rickyma
Copy link

rickyma commented Jun 23, 2025

Could we add a field to indicate whether a file is stored in LFS? e.g. storedInLFS?
I find out it is hard for us to distinguish whether a file is stored in LFS or not.
I have to parse the LFS pointer file myself... I don't know if gitea supports this currently?

My company is now choosing to use Gitea in our case. So there are many issues we've been faced with.

@wxiaoguang
Copy link
Contributor Author

Done in the latest commit

@wxiaoguang wxiaoguang added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Jun 23, 2025
@wxiaoguang wxiaoguang added this to the 1.25.0 milestone Jun 23, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 1 This PR needs approval from one additional maintainer to be merged. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
4 participants