Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am attempting to address #525, #526, and possibly pyOpenSci/pyosMeta#228.
Regarding #525, I am not entirely sure that the problem still exists? You say the
issue_link
isn't rendering, but the badge and text that says "View Review" is wired to the value ofissue_link
and seems to be linking just fine. Can you confirm that this is still a problem and clarify a little bit?Regarding #526, this seems to be happening because there are no
astropy: true
lines in thepackages.yml
file. Likewise, there are nosunpy: true
lines in the file, despite the fact that you (@lwasser) added at least one such line in this PR: #207. I cannot figure out when that line was deleted, but I opted instead to check for the presence of "sunpy" or "astropy" in the list ofpartners
for a package and use that as a boolean. I added sunpy as a community to the package from the above-linked PR.Regarding pyOpenSci/pyosMeta#228, I am a little confused on this. The links are not working because in the
packages.yml
file, some of them are written out as markdown, but Jekyll is blindly pasting that markdown on top of the base url link. For example, currently, the "JOSS Approved" link for sourmash is pointing tohttps://www.pyopensci.org/[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10951577.svg)](https://doi.org/10.5281/zenodo.10951577)
, which I'm guessing is not what you want. You could write something like{{ apackage.joss | markdownify }}
in thepackage-grid.html
file, but this method "smartly" parses the markdown and turns it into HTML, you would have to do some extra work to get it to keep the "JOSS Review" look it has now and still link to the appropriate URL. Instead, in this PR, I standardized thearchive
links and pasted them if ajoss
link was present. I did not standardize the joss links because the existing code does not use the.joss
value of a package anyway, so I wanted to maintain the spirit of what was already there.I may have missed something or causes some tests to fail, I'm not sure, and I'm not totally familiar with the architecture of this site, so please let me know if I broke something or if there's something you want me to fix. As of right now, at least locally, things work and look how they're supposed to--at least what I think they're supposed to look like.