-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Plugin site improperly displays GH releases with empty title #4331
Comments
Hi @daniel-beck. I noticed that it happens also on https://plugins.jenkins.io/credentials/releases/#version_1371.1373.v4eb_fa_b_7161e9 which seems to be both related to security releases. Has something been done differently on those releases? I'll check the plugin-site code to see where the release title is gathered from. |
from https://github.com/jenkins-infra/plugin-site/blob/18a6674e117a109630ba6b2d1357bec7c64f0439/plugins/plugin-site/src/components/PluginReleases.jsx#L24, the data seems to be coming from https://plugin-site-issues.jenkins.io/api/plugin/credentials/releases where the "name" of the release 1381.v2c3a_12074da_b_ is not the version but This error seems to be coming from https://github.com/jenkins-infra/docker-plugin-site-issues/blob/5d0cca43fec1cb36fa4549c2b39e49da943d2a62/src/db.ts#L241 |
I expect should be |
I created them manually (sort of*), not specifying an explicit release name (as it's not needed by GH when it would be the same as the tag), perhaps unlike what usual JEP-229 scripts do. I expect that @timja's correct about what the solution should be to be consistent with GH. * I create corresponding releases in private repos in `jenkinsci-cert` beforehand, then copy them over on release day using a script. GH API payload:
|
Yes so the problem is that the name was empty when created. And the value was "stored". |
Isn't it still empty though? |
correct. I could run |
You can assign this to me, I'm trying to solve it and add tests for it. |
|
Service(s)
plugins.jenkins.io
Summary
For example, https://github.com/jenkinsci/credentials-plugin/releases/tag/1381.v2c3a_12074da_b_
GH shows:
Plugins site shows:
Given title is optional and defaults to the tag name if unspecified, this seems like a bug on the plugins site.
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: