-
Notifications
You must be signed in to change notification settings - Fork 20
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
Multiple downloads of the crosswalk table #29
Comments
@progval Yes, thanks for the ping. Simple question many answers:
Thanks so much for all your work and contributions, it's really fantastic! |
Excellent!
You could also use Travis (or any other CI) to automatically build the branch with the HTML (currently master): https://docs.travis-ci.com/user/deployment/pages/ (it won't automatically rebuild on changes of crosswalk.csv, but you could set up a daily rebuild) from just the This way, humans never have to commit generated code. Regarding the crosswalk, we could add a single script that generates them all, from a single input file. That would also mostly solve the multiple downloads issue (there'd be only this script and
Even though they don't support many package-manager/language metadata formats, AFAIK Bolognese would accept contributions in that direction. I also wrote a tool running at Software Heritage that converts several formats to CodeMeta and stores it in our database.
With Travis auto-building the website, most of this would no longer be a problem. We could also make https://github.com/codemeta/codemeta a git submodule of https://github.com/codemeta/codemeta.github.io and have the build process pull the local file, which would spare downloads at build time
You're welcome :) |
Yes, this totally should be done. It would be easiest to do so with the existing GitHub Actions script for blogdown: https://github.com/r-lib/actions/blob/master/examples/blogdown.yaml . This would avoid the extra faffing with credentials you need to do this in travis. A PR would be great for this, I'm juggling too many things to do this anytime soon! Re crosswalk scripts -- yeah, definitely makes sense to automate that more, contributions welcome there too!! Though the crosswalk tables we have lack important metadata about "what" a given column actually is: a link to a homepage, an icon, a title and a description would be a big help. Re translation, linking more of those tools would be a great addition. Thanks again ! |
Unfortunately I'm going to be busy with another project too, but I'll keep this issue in mind |
Hi,
Every time one runs
blogdown::build_site()
, https://github.com/codemeta/codemeta/raw/master/crosswalk.csv is downloaded 16 times.After several builds in a short time, Github rate-limits these requests, which fails the build.
Do you know if there is a way to make blogdown cache the crosstable across page builds?
The text was updated successfully, but these errors were encountered: