Skip to content
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

[11.6] Add support for protected tags #679

Closed
wants to merge 1 commit into from
Closed

[11.6] Add support for protected tags #679

wants to merge 1 commit into from

Conversation

internalsystemerror
Copy link

Adds some missing endpoints regarding protected tags.

Closes #678.

Copy link
Member

@GrahamCampbell GrahamCampbell 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 the PR. I have left feedback in the inline comments.


/**
* @param int|string $project_id
* @param array $parameters
Copy link
Member

Choose a reason for hiding this comment

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

I cannot merge this with arbitrary undocumented parameters. Please either delete the parameter, or document those that are permitted, enforced with the options resolver.

Choose a reason for hiding this comment

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

I copied how the protectedBranches method was implemented. Is there some extra documentation somewhere that I missed, that I should add to?


/**
* @param int|string $project_id
* @param array $parameters
Copy link
Member

Choose a reason for hiding this comment

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

Same

@GrahamCampbell GrahamCampbell changed the title feat: add protected tags endpoint [11.6] Add support for protected tags Dec 26, 2021
@GrahamCampbell GrahamCampbell changed the base branch from 11.4 to 11.5 December 26, 2021 19:20
@GrahamCampbell GrahamCampbell changed the base branch from 11.5 to 11.6 December 26, 2021 23:32
@GrahamCampbell
Copy link
Member

Closing due to inactivity and merge conflicts. Please feel free to send in a new PR if you'd still like for this change to be made.

@internalsystemerror
Copy link
Author

Actually I was waiting on a reply to my question here #679 (comment). I'm no longer using this library so I'm happy for this PR to stay closed though.

@internalsystemerror internalsystemerror deleted the feature/protected-tags branch January 23, 2022 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Projects API: The ability to list/add/remove protected tags is missing.
3 participants