Skip to content

Add property ci_default_git_depth to both Project.cs and ProjectUpdate.cs #872

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 6 commits into
base: main
Choose a base branch
from

Conversation

matt-pan
Copy link

This property can be set via PUT update on projects and is part of the Project response

@matt-pan matt-pan requested a review from a team as a code owner March 12, 2025 11:58
@matt-pan matt-pan requested review from louis-z and removed request for a team March 12, 2025 11:58
@matt-pan
Copy link
Author

Oh, I didn't know this is tested against the public API
Should be fine though, as this parameter is in https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/openapi/openapi_v2.yaml on the GET /api/v4/projects/{id} as well as the PUT /api/v4/projects/{id}

Copy link
Member

@louis-z louis-z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, @matt-pan.

In order to get this PR merged quickly,

  • Address the inline comments, and
  • Update the declared public API. This can easily be done via VS2022's "Quick Actions and Refactorings" (when asked "Fix all occurrences in:", make sure to select "Solution"):
    image

@matt-pan matt-pan requested a review from louis-z March 23, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants