sib-swiss / glittr

A web application for finding and comparing bioinformatics training materials on GitHub and GitLab
https://glittr.org
MIT License
35 stars 1 forks source link

Entry with author null #29

Open GeertvanGeest opened 5 months ago

GeertvanGeest commented 5 months ago

Currently there's an entry with author being null: https://glittr.org/api/repositories?filter[name]=tidyomics/tidyomicsWorkshopBioc2023

Screenshot 2024-04-22 at 09 29 09

api calls at https://github.com/sib-swiss/training-collection and https://github.com/sib-swiss/glittr-stats fail because of it, because they always expect an author/org.

yhaefligsib commented 5 months ago

The author name changed from "tidybiology" to "tidyomics" which makes the new repo URL https://github.com/tidyomics/tidyomicsWorkshopBioc2023 instead of https://github.com/tidybiology/tidyomicsWorkshopBioc2023

Github/Gitlab handles this redirect automatically for browsers but not in the API. For the moment we need to update manually the URL. There also was an issue on our side not resetting the author link when updating from the backend which I corrected.

I have changed the URL for this repository, the error should have gone on your side. For the future, we might think of a corn job that checks redirects and updates URLs according to these redirects.