Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add has_code to repository REST API #35214

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

Merged

Conversation

Copy link
Member

@6543 6543 commented Aug 5, 2025

similar to how we can enable/disable repos or issues on a repo add the code unit as option to it.

affects

PATCH /repos/{owner}/{repo}

Sponsored by Kithara Software GmbH

@6543 6543 added type/enhancement An improvement of existing functionality topic/api Concerns mainly the API labels Aug 5, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 5, 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 Aug 5, 2025

This comment was marked as resolved.

Copy link
Member

lunny commented Aug 5, 2025

It's better to have a test.

6543 reacted with thumbs up emoji

Copy link
Member Author

6543 commented Aug 7, 2025

@lunny tests added :)

also did cover some more

@6543 6543 requested a review from a team August 8, 2025 14:26
Copy link
Member Author

6543 commented Aug 8, 2025

uh sorry the review request should not ping all - was not intentional in this case ... got the wrong pull

@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 Aug 8, 2025
@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 Aug 8, 2025
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 8, 2025
@silverwind silverwind merged commit ef613ee into go-gitea:main Aug 8, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.25.0 milestone Aug 8, 2025
@silverwind silverwind deleted the extend-repo-config-api-add_has_code branch August 8, 2025 16:18
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 8, 2025
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 11, 2025
* giteaofficial/main:
 [skip ci] Updated translations via Crowdin
 [skip ci] Updated translations via Crowdin
 Update stylelint, enable `report*` options (go-gitea#35236)
 Add `has_code` to repository REST API (go-gitea#35214)
 Upgrade go to 1.24.6 (go-gitea#35235)
hiifong added a commit to hiifong/gitea that referenced this pull request Aug 11, 2025
* upstream/main:
 [skip ci] Updated translations via Crowdin
 [skip ci] Updated translations via Crowdin
 Update stylelint, enable `report*` options (go-gitea#35236)
 Add `has_code` to repository REST API (go-gitea#35214)
 Upgrade go to 1.24.6 (go-gitea#35235)
 [skip ci] Updated translations via Crowdin
 Nix flake build static with sqlite support (go-gitea#35149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@lunny lunny lunny approved these changes

@silverwind silverwind silverwind approved these changes

Assignees
No one assigned
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code topic/api Concerns mainly the API type/enhancement An improvement of existing functionality
Projects
None yet
Milestone
1.25.0
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /