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

GitLab badges are not working #10178

Closed
ogarcia opened this issue May 19, 2024 · 5 comments
Closed

GitLab badges are not working #10178

ogarcia opened this issue May 19, 2024 · 5 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@ogarcia
Copy link

ogarcia commented May 19, 2024

Are you experiencing an issue with...

shields.io

🐞 Description

It seems that several GitLab badges are not working properly. At least I have detected License and Release.

🔗 Link to the badge

For example, for this GitLab project, the project id is 42779682. The shields shows project not found:

GitLab Release
GitLab License

The same applies if you use the project path ogarcia/lesma.

💡 Possible Solution

No response

@ogarcia ogarcia added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label May 19, 2024
@chris48s
Copy link
Member

I think our GitLab token has expired. There was an email to one of the shared accounts about a week ago saying a GitLab token was about to expire, but I didn't make the connection. These are working locally with no auth
@PyvesB @calebcartwright - do either of you have the credentials to generate a new token? I don't think I have them.

@PyvesB
Copy link
Member

PyvesB commented May 20, 2024

https://github.com/badges/shields/blob/master/doc/production-hosting.md suggests @calebcartwright should have them? Unless I've missed something, I haven't found anything on Keybase or elsewhere on my side.

@calebcartwright
Copy link
Member

calebcartwright commented May 21, 2024

I do, although to the best of my recollection, any token should do. GitLab declined to give us a token with a higher rate limit, and in fairness I don't think rate limiting has been an issue.

Additionally, I don't believe GitLab supports renewing/modifying the expiration date on an existing token so a new one will indeed be needed. I'll try to dig up the credentials (I thought I'd shared them privately in Discord), though anyone of us with a GitLab account should be able to create and provide an alternative token if I'm unable to do this expeditiously.

@chris48s
Copy link
Member

Thanks.
Just set the new key. GitLab badges should be working now (or at least coming back as things drop out of cache).
I had not focused that we just have a standard PAT for GitLab. I'll make a note of this in the docs when I get a sec.

@calebcartwright
Copy link
Member

Glad to hear it. Let me know if we run into an issues with the token. I think I selected all the relevant scopes we'd need but can't say I'm particularly familiar with them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

4 participants