Open venezia opened 7 years ago
To fix this I would suggest using one of two options.
Option 1: Use mailto links and email:
Turns out email is pretty common.
Option 2: A URL property on chart maintainers and use that:
Some don't like to give out their email address. The Drupal community provided user pages and forms to email people to protect a maintainers email. GitHub allows you to commit with a fake/github email address to hide yours.
An option is to use a URL of someone's choosing and create a link to the maintainer using that.
Option 1 + 2?
If the URL is present and if not fall back to the email address.
I just opened kubernetes/helm#3056 for the helm side of the discussion.
Thanks for finding this @venezia. We actually used to use mailto, but in kubernetes/charts we decided to gradually move to GitHub IDs for maintainers and wanted Monocular to point to the GitHub ID as that is a more useful author link (I couldn't find a reference for this decision, I believe it was one made during a charts dev call).
See https://github.com/kubernetes-helm/monocular/blob/master/src/ui/src/app/chart-details/chart-details-info/chart-details-info.component.ts#L52 - we try to form the GitHub profile link if the repo source matches "github.com".
Repos with other sources will use the mailto link. We could try to detect if the name
is a GitHub ID (a simple check would be if it doesn't have spaces), but this seems a bit hacky. We can assume that anything in stable and incubator should use GitHub IDs and if this isn't the case, the chart should be updated.
I've created kubernetes/charts#2576 to fix the issue in kube-lego. @mattfarina I've commented there about somehow checking for this as part of the linting process?
If kubernetes/helm#3056 gets added to the spec then we can support it in Monocular, I guess I would choose based on the following:
WDYT?
Sounds good to me
On the kube-lego page on kubeapps.com, the Maintainers have links, but the links 404.
If we don't have a solid link to an author's profile page, we shouldn't just create a link that will likely 404
Thanks