abrader-gms icon indicating copy to clipboard operation
abrader-gms copied to clipboard

v3 to v4 API URI updates

Open ghost opened this issue 7 years ago • 18 comments

This should fix the v3 git API deprecation issues.

ghost avatar Jun 27 '18 13:06 ghost

@abrader any update on getting this merged it? it's all pretty broken at the moment.

Thanks :)

cc/ @alexizmailov

sammcj avatar Jul 06 '18 02:07 sammcj

Any update here @abrader ?

spluess avatar Aug 16 '18 07:08 spluess

Hi, also waiting for this one!

dannygoulder avatar Aug 30 '18 08:08 dannygoulder

+1

ghost avatar Aug 30 '18 08:08 ghost

Yes still really keen to see this merged...

sammcj avatar Aug 30 '18 08:08 sammcj

April - August 2018
abrader has no activity yet for this period.

I'm going to guess user's long term gone.... someone should probably fork and publish.

jstewart612 avatar Aug 30 '18 13:08 jstewart612

@jstewart612 I will get to this PR as soon as I can. My apologies for the delay. Back on the road and no longer with Puppet. Appreciate your patience.

abrader avatar Aug 30 '18 14:08 abrader

@jas612 @sammcj @spluess @dannygoulder @alexizmailov Can anyone point me to the deprecation notice from GitHub for v3?

abrader avatar Aug 30 '18 14:08 abrader

https://about.gitlab.com/2018/06/01/api-v3-removal-impending/

dannygoulder avatar Aug 30 '18 14:08 dannygoulder

@dannygoulder Thank you for sending that message. I guess I will have to make a note for users of this module who are still running older versions of GE to not use what will be the latest release 🤔 Anyone effectively test this change themselves?

abrader avatar Aug 30 '18 14:08 abrader

@abrader np, wasn't sure if you had moved on or anything. Cheers.

I've been using the local fork and it hasn't broken yet, but I've not rigorously tested all use cases.

jstewart612 avatar Aug 30 '18 15:08 jstewart612

Thanks @abrader, perhaps if you’re no longer using the project in the future it could be handed over to voxapupli?

sammcj avatar Aug 31 '18 00:08 sammcj

@abrader I am also using a local fork for debian9 systems and did not notice anything breaking, but I am only using this module with voxpupuli/puppet-gitlab.

mstinsky avatar Aug 31 '18 14:08 mstinsky

Glad I found this.

With regards to backwards compatibility - is there a way to pass in the desired version of the API, and/or the version of Gitlab in use and programmatically set the version of the API? This isn't relevant to us (we've upgraded) - just thinking about it.

Also, as posted in the issue, this didn't fully fix the issue for me. The keys endpoint now is deploy_keys per the transition doc: https://docs.gitlab.com/ce/api/v3_to_v4.html As of 8.17: Endpoints under GET /projects/:id/keys have been removed (use GET /projects/:id/deploy_keys) !8716

esalberg avatar Sep 07 '18 17:09 esalberg

Thanks @abrader , just to clarify, we are talking gitlab and not github :-)

spluess avatar Sep 09 '18 15:09 spluess

Howdy, is this ready to be merged in yet? Currently it's breaking all our puppetmasters.

sammcj avatar Sep 19 '18 04:09 sammcj

Hi, checking in again to see what's happening with this, it's currently breaking all puppetmasters integrated with Gitlab.

sammcj avatar Oct 17 '18 22:10 sammcj

Also wanted to point out that I know there are users out there still using the v3 GitHub API so whatever the result of this PR ends up being, I think it's important to ensure things still work for v3 API users as well.

jdub55 avatar Oct 19 '18 20:10 jdub55