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

Implements parameters for RepositoryClient.GetArchive #659

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

Conversation

steve85
Copy link
Contributor

@steve85 steve85 commented Apr 11, 2024

Implements the format, path and sha options for RepositoryClient.GetArchive().

https://docs.gitlab.com/ee/api/repositories.html#get-file-archive

Allows us to retrieve the archive for a particular SHA/ref and specify the required download format.

@steve85 steve85 requested a review from a team as a code owner April 11, 2024 04:56
@steve85 steve85 requested review from louis-z and removed request for a team April 11, 2024 04:56
NGitLab/IRepositoryClient.cs Outdated Show resolved Hide resolved
@steve85 steve85 requested a review from louis-z April 12, 2024 03:04
@steve85 steve85 changed the title Implements SHA and Format parameters for RepositoryClient.GetArchive Implements parameters for RepositoryClient.GetArchive Apr 12, 2024
Adds a new overload to IRepository.GetArchive which accepts a query object in order to allow additional parameters to be passed to the the archive endpoint without breaking the existing implementation.
@steve85 steve85 force-pushed the implements-getarchive-params branch from 93889b4 to 359668b Compare April 15, 2024 02:14
@steve85
Copy link
Contributor Author

steve85 commented Apr 18, 2024

@louis-z can this PR now be merged or are there further outstanding changes you'd like me to make?

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