This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates go-gitlab library to the newest version so we can add more then
one file to snippets.
The problem here is that there is one huge nasty change that changes a lot of slices to be pointers to slices see here
There are also some good things as, no need to use the workaround for setting
the scope for environment filters when removing project variables.
There is also a change in the way how labels are treated in most places (this
actually just looks like a normalization around the library since some places
already used this custom type and some didn't).
There is quite a lot of pointer derefrencing now, and I have not done any real
testing so there might be some problems so this probably should be tested better
before merging.
Each change should be in it's own commit for easier review, but should be
squashed before merge, because most of the commits fail to build and I don't
like having commits with build failures.
Commit messages should have better explanation for most changes.
Related Issue
Resolves #872
How Has This Been Tested?
Screenshots (if appropriate)
Types of changes