-
Notifications
You must be signed in to change notification settings - Fork 947
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
Add GenericPackagesServices (#1100) #1180
Conversation
any plans on finishing this PR? |
@matejvelikonja Besides the current (minor) branch conflicts, I didn't receive any feedback on whether anything needs to be changed. |
@svanharmelen any chance for merging this? |
Thanks for working on it @neomantra! Hope this gets merged soon to unblock the goreleaser fix. |
I just rebased this branch onto latest master and resolved the minor conflicts. |
I'll have a look at this one tomorrow! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit to tweak the PR and make it more inline with the rest of this package. I think the only thing that is still missing (which would make sense to add, but is not required), is adding support for the select
option when publishing a package.
Please let me know what you think about the changes and if this will still work for you.
Thanks for the review and improvements. I'm adding |
Signed-off-by: Sune Keller <absukl@almbrand.dk>
Signed-off-by: Sune Keller <absukl@almbrand.dk>
* PublishPackageFile now returns the download URL * removed forward slash from Generic Pacakge API endpoint urls * Publishing package is a PUT operation * add GenericPackageStatusValue enums * rebased to upstream master Signed-off-by: Evan Wies <evan@neomantra.net>
Signed-off-by: Evan Wies <evan@neomantra.net>
a8c4637
to
253526a
Compare
253526a
to
42bf3d9
Compare
I again added a commit to complete the PR and I removed your last commit as I don't like to add and export custom logic, but only support calls that the Gitlab API supports. Please confirm if this solution works for you so I can go ahead and merge it. Thanks! |
Thanks for the review and update. It's pretty convenient to have that But I also appreciate a purist approach to the library. I tested the latest against an updated |
Hmm... Well OK then add your latest commit back so we can include that one after all... |
But then please just add it as an exported method, but do not use it in the other methods like before. I know this might sound stupid, but otherwise it could set a precedent which I would not like. We'll then see it purely as an additional stand-alone method. |
OK, I added it back. I changed the verb from |
Nice, I can appreciate that one! Now if you can only swap the |
Great, I just force-pushed that ordering change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patience with this one @neomantra 👍🏻
This PR continues the work in #1101, rebasing it to master, updating its interface (returning download URL), and some real-world testing (fixed the URL endpoint and request type).