Open k2tzumi opened 2 years ago
For example.
If octocov could provide a mechanism to replace f.BlobURL
in https://github.com/k1LoW/octocov/blob/bd6c38135491b410be5c984015e6ee7e353f37bd/report/report.go#L180 with fmt.Sprintf("%s/%s", yourExternalServerPrefix, f.Filename)
, would that satisfy your request?
with fmt.Sprintf("%s/%s", yourExternalServerPrefix, f.Filename), would that satisfy your request?
Yes, I do. The general outline of what you want to do is fine, although I think there may be a way to specify anchor as well as path delimitation.
Hi @k1LoW Any progress or plan on this issue?
No particular progress. I wish I had some good ideas for hosting the coverage report on GitHub only.
We have not been able to find a definitive solution for generating custom links.
"Is it enough to just customize the link anyway?" I don't have a good answer to the question.
I am waiting for us to come up with the next idea that will lead to the next step.
https://github.com/k1LoW/octocov/issues/161#issuecomment-1229148738
Do you have any concerns about adopting the means described here?
Do you have any concerns about adopting the means described here?
Yes, I have. I consider the following
"Is it enough to just customize the link anyway?" I don't have a good answer to the question.
I see. Thank you for your reply!
How about handling URLs as an attribute of custom metrics? https://github.com/k1LoW/octocov/blob/main/report/custom_metrics_schema.json
How about handling URLs as an attribute of custom metrics?
We cannot afford to forget the three default metrics.
Proposal
Some coverage tools output reports in html to check coverage lines.
I want to change the file link destination for the code coverage of the files in the scope of the pull request.
Issue