Open alisonrclarke opened 2 years ago
HI @alisonrclarke I spent some time trying to convert the R-ecology template to the standard Incubator styling. My first time, and it turned out to be more complicated than I anticipated! 😆 I would like to suggest an alternative: that you migrate this lesson to use The Carpentries Workbench, our all-new lesson infrastructure that is currently entering beta tests.
Rather than try to describe what this change would involve, I think it will be easier for me to link to an example of the R-ecology lesson, converted to use the Workbench. You can expect your lesson to look similar, and the repository to be organised similarly, to that lesson. (Note that the linked lesson includes some changes and reorganisation of the current version of DC R-ecology.) The main difference would be that your lesson website would display the Incubator egg logo rather than the Data Carpentry branding.
If you are ok with making this transition, I believe @zkamvar will be able to help you by running a script to automatically convert your repository to use the Workbench. The source RMarkdown files should remain pretty recognisable to you after the switch - but I do recommend checking out the source Rmds of the example lesson I linked above.
Thanks @tobyhodges. The Workbench course looks good to me! @zkamvar if you're able to help out that would be great - I've just taken a look at https://github.com/data-lessons/lesson-transition/ but would appreciate some pointers. (I won't be around for the next week or so after today though so apologies in advance for for slow response.)
Thanks @tobyhodges. The Workbench course looks good to me! @zkamvar if you're able to help out that would be great - I've just taken a look at https://github.com/data-lessons/lesson-transition/ but would appreciate some pointers. (I won't be around for the next week or so after today though so apologies in advance for for slow response.)
I can definitely set aside some time to help. The transition script as it stands currently creates a mirrored snapshot for the pre-beta phase, but I am going to spend some time next week working it to perform the full beta transition (as I've outlined in the beta phase blog post).
Since you will be working with The Workbench in its beta phase, I would encourage you to head over to https://github.com/carpentries/workbench/discussions/1 and say hello 👋🏼
What I'm going to to for your lesson is similar to what is outlined in the adding a new lesson section:
datacarpentry/R-ecology-lesson.R
to carpentries-incubator/R-archaeology-lesson.R
filter-and-transform.sh
to call that file directly. Please note that the transition rewrites history to clean up any files that are not specific to the lesson source contents. This means generated figures and detritus from files such as JavaScript, HTML, and CSS that would otherwise be provided by a template, so if you experience issues pulling the repository to your own machine, the solution is to delete it from your machine and re-clone from GitHub.
Hi I'm sorry for the delay on this. I have been swamped with quite a few things. Would it work for you for me to make the transition of this next week?
Please don't worry - I've been really busy myself so haven't had much chance think about this! Next week would be brilliant if you have time - thank you.
(Or this week now, I guess!)
I'm sorry, but something has come up and I'm going to have to push this back: https://github.com/carpentries/workbench/discussions/22
Thanks for the update - no worries.
From carpentries-incubator/proposals#128:
@tobyhodges said: