-
Notifications
You must be signed in to change notification settings - Fork 60
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
BUG: Check failing links caught by lychee #517
Comments
thanks @willingc I was just about to open an issue!! we encountered this in #521 #520 as well! so this is clearly an issue. i'm hoping to have someone to help fix some of these items soon!! they are being onboarded right now!! This is an odd one as from what i can see the zenodo links do work. i'm not sure what file it can't find. should we ignore zenodo links? could it be that Lychee is trying to hit Zenodo over and over for every package listed and failing? |
Is this the error this issue is supposed to be about? Because I cannot make sense of it either.
It claims not to be able to find file but it is brute-force appending a markdown into a URL. It makes no sense. |
The astropy one was fixed in #520 and now there is a new one that needs upstream fix at phenopype/phenopype#5 . But the DOI ones are perplexing. |
Ok i found one real issue that could be behind some of this and then @pllim a few other issues too that we can address in a separate issue. if you go to the sourmash badge on our package listing page, the JOSS doi is listed as a badge in our yaml file. This is fine if we want to publish the badge on our cards, which I'd love to do! However, because the cards are parsed using a combination of liquid and html here jekyll tries to create a crazy link using the badge markdown which doesn't work. So, I think I have to figure out a way to parse the DOI badge using HTML in that included file. i'm going to try to push a pr that just prints the badge markdown badge to see if that works. If so, we can likely parse the doi badge differently via pyos meta (i think) to address this. I also noticed (separate issue) that astropy affiliated badges are not rendering (but the sunpy one is!) test pr to see if this fixes everything or just one thing coming soon... |
Ok yes i think this is the issue. We need to decide how we want to collect DOI and archive information. i think right now xclim: Sourmash has the same issue . i'll submit another commit to parse the zenodo archive badge. the thing that will be trick is sometimes people add this information differently in our template. We can add a note to the template but we've have to update how pyos parses that field. these are all challenges related to parsing text that people enter! (and why i wish we had a form with validation setup) |
https://github.com/pyOpenSci/pyopensci.github.io/actions/runs/11896635143
The text was updated successfully, but these errors were encountered: