gitlab-branch-source-plugin icon indicating copy to clipboard operation
gitlab-branch-source-plugin copied to clipboard

Show GitLab project avatars for all projects

Open cpt1gl0 opened this issue 3 years ago • 2 comments

What feature do you want to see added?

I'd really like to have GitLab avatars to be shown for all projects.

From the documentation it seems that at the moment avatars can not be fetched for private GitLab projects:

Disable GitLab project avatar - Disable avatars of GitLab project(s). It is not possible to fetch avatars when API has no token authentication or project is private. So you may use this option as a workaround. We will fix this issue in a later release.

Upstream changes

Not yet known.

cpt1gl0 avatar Feb 08 '22 11:02 cpt1gl0

Can someone please point me in the right direction on what needs to be done to implement this functionality?

cpt1gl0 avatar Feb 08 '22 11:02 cpt1gl0

AFAIK, this is mostly a problem on the GitLab side. The avatars are only accessible via regular HTTP(S) and not via the REST API. If the project in question is not marked public, this would mean the plugin would need to specially authenticate with the server as a regular HTTP(S) user in order to access the avatar PNG files.

robross0606 avatar Mar 13 '22 06:03 robross0606