-
Notifications
You must be signed in to change notification settings - Fork 7
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
Dynamically pull repo information for HPC lessons #25
Conversation
See https://github.com/hpc-carpentry/hpc-carpentry.github.io/runs/2391477702 for where this change is checked |
curl --remote-name-all https://feeds.carpentries.org/all_instructors_by_airport.geojson &&\ | ||
cp all_instructors_by_airport.geojson files/. | ||
- name: Setup EESSI to give us an R module | ||
uses: eessi/github-action-eessi@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All ye who use HPC, take note of this awesome action!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is giving us R with over 900 packages installed in just over 30 seconds!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool!
For this to work completely we will need to start using GitHub topics consistently on our repos. In particular things need to be at least tagged with |
If those "tags" are Labels, we can configure Issue Templates for each repo to apply them automagically going forward. Then we only have to manually intervene with... all of history. |
No, not labels (that's what I thought too first). The labels are used for the |
Oh, cool!! That's even easier! |
At the moment we don't actually have a "Help Wanted" page (I think) but with this we can add one based on the Carpentries. It also opens the door to being able to include lessons from other providers under separate organisations (and we can group them accordingly) |
Yes, this is fantastic. I introduced a "Help Wanted" page in #22, but hybridizing this feed with The Carpentries' code is a much better solution. |
Applied the |
I tested this locally and they all appear fine |
Remove use of json plugin (for now) Synch help-wanted page with upstream
@@ -4,5 +4,5 @@ gem 'faraday', '0.17.3' | |||
|
|||
group :jekyll_plugins do | |||
gem 'github-pages' | |||
gem 'jekyll-get-json', "~> 0.0.2" | |||
# gem 'jekyll-get-json', "~> 0.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are not pulling data from AMY this is not needed (yet)
pages/community-lessons.md
Outdated
|
||
<hr> | ||
|
||
## HPC Carpentry Listings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this starts getting populated, it should really be broken off into a separate page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a lesson I would like to include here
For the record, here are the changes required to the upstream code at https://github.com/carpentries/feeds.carpentries.org/tree/main/R
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!!! A few minor quibbles, but this is really good stuff.
@ocaisa the EESSI trick is neat for getting an R environment. Is there a way to run it locally, so I can |
@tkphd There are a few example installation scripts at https://github.com/EESSI/eessi-demo/tree/main/scripts but they are slightly outdated (but should still work). You can now use https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb as the configuration file. After that you need to
|
…arpentry.github.io into generate_lesson_json
…ntry.github.io into generate_lesson_json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thanks @ocaisa!
Fixes #24