Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Adds mirror_branch_regex option for project push and pull mirrors #1833

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

anguswilliams
Copy link

@anguswilliams anguswilliams commented Nov 9, 2023

Allows the mirror_branch_regex option to be set on project push and pull mirrors. Note that mirror_branch_regex can only be set after a project is created for pull mirrors, so I've only set it in the EditProjectOptions struct. It also isn't retured when getting a projects details.

Closes #1832

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102608
https://docs.gitlab.com/ee/api/remote_mirrors.html#create-a-pull-mirror

@anguswilliams
Copy link
Author

@svanharmelen would you mind reviewing this please :)

@anguswilliams anguswilliams changed the title Adds mirror_branch_regex option for project push mirrors Adds mirror_branch_regex option for project push and pull mirrors Nov 9, 2023
Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

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

Thanks @anguswilliams 👍🏻

@svanharmelen svanharmelen merged commit 0540320 into xanzy:main Nov 13, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for the mirror_branch_regex option for project push mirrors
2 participants