bids-apps / bids-apps.github.io

This BIDS Apps website has now been integrated to the BIDS website: https://github.com/bids-standard/bids-website.git
Other
3 stars 14 forks source link

Add validation that all gh/dh exist as specified in _config.yml #122

Closed yarikoptic closed 6 months ago

yarikoptic commented 7 months ago

Your idea

Inspired by

which broke our cron job in https://github.com/ReproNim/containers . So would be nice if _config.yml records were checked for presence on gh/dh. For dh it is just https://registry.hub.docker.com/v2/repositories/bids/{dh} away AFAIK.

Remi-Gau commented 7 months ago

oops sorry about that: I was not aware you were using that yaml file as input

the giga_connectome app pushed on docker hub should be coming soon, hence why I was OK to live with this inconsistency

will adapt the html template to handle missing dh reference

Remi-Gau commented 7 months ago

how would your cron job behave if some app had no dh reference?

yarikoptic commented 7 months ago

looking at https://github.com/ReproNim/containers/blob/master/scripts/create_singularities#L407 (python code converted from bash ...) it seems we would just skip.