Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@

Thanks for contributing! :heart:

If this contribution is for instructor training, please email the link to this contribution to
checkout@carpentries.org so we can record your progress. You've completed your contribution
step for instructor checkout by submitting this contribution!
If this contribution is for Instructor training, please email the link to this contribution to checkout@carpentries.org so we can record your progress.
You've completed your contribution step for Instructor checkout by submitting this contribution!

If this issue is about a specific episode within a lesson, please provide its link or filename.

Keep in mind that **lesson maintainers are volunteers** and it may take them some time to
respond to your contribution. Although not all contributions can be incorporated into the lesson
materials, we appreciate your time and effort to improve the curriculum. If you have any questions
about the lesson maintenance process or would like to volunteer your time as a contribution
reviewer, please contact The Carpentries Team at team@carpentries.org.
Keep in mind that **maintainers are volunteers** and it may take them some time to respond to your contribution.
Although not all contributions can be incorporated, we appreciate your time and effort to improve the Carpentries resources.
If you have any questions about the maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at team@carpentries.org.

You may delete these instructions from your comment.

Expand Down
13 changes: 5 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@

Thanks for contributing! :heart:

If this contribution is for instructor training, please email the link to this contribution to
instructor.training@carpentries.org so we can record your progress. You've completed your contribution
step for instructor checkout by submitting this contribution!
If this contribution is for Instructor training, please email the link to this contribution to checkout@carpentries.org so we can record your progress.
You've completed your contribution step for Instructor checkout by submitting this contribution!

Keep in mind that **lesson maintainers are volunteers** and it may take them some time to
respond to your contribution. Although not all contributions can be incorporated into the lesson
materials, we appreciate your time and effort to improve the curriculum. If you have any questions
about the lesson maintenance process or would like to volunteer your time as a contribution
reviewer, please contact The Carpentries Team at team@carpentries.org.
Keep in mind that **maintainers are volunteers** and it may take them some time to respond to your contribution.
Although not all contributions can be incorporated, we appreciate your time and effort to improve the Carpentries resources.
If you have any questions about the maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at team@carpentries.org.

You may delete these instructions from your comment.

Expand Down
185 changes: 0 additions & 185 deletions .github/workflows/template.yml

This file was deleted.

55 changes: 4 additions & 51 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Website
name: Workshop Website
on:
push:
branches:
Expand All @@ -9,9 +9,8 @@ on:
jobs:
build-website:
if: ${{ !endsWith(github.repository, '/styles') }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
env:
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
Expand All @@ -37,63 +36,17 @@ jobs:
python3 -m pip install --upgrade pip setuptools wheel pyyaml==5.3.1 requests

- name: Checkout the lesson
uses: actions/checkout@master
uses: actions/checkout@v7
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Look for R-markdown files
id: check-rmd
run: |
echo "count=$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})" >> $GITHUB_OUTPUT

- name: Set up R
if: steps.check-rmd.outputs.count != 0
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
install-r: false

- name: Restore R Cache
if: steps.check-rmd.outputs.count != 0
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install needed packages
if: steps.check-rmd.outputs.count != 0
run: |
source('bin/dependencies.R')
install_required_packages()
shell: Rscript {0}

- name: Query dependencies
if: steps.check-rmd.outputs.count != 0
run: |
source('bin/dependencies.R')
deps <- identify_dependencies()
create_description(deps)
use_bioc_repos()
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Install system dependencies for R packages
if: steps.check-rmd.outputs.count != 0
run: |
while read -r cmd
do
eval sudo $cmd || echo "Nothing to update"
done < <(Rscript -e 'cat(remotes::system_requirements("ubuntu", "22.04"), sep = "\n")')

- name: Render the markdown and confirm that the site can be built
run: make site

- name: Checkout github pages
if: ${{ github.event_name == 'push' && steps.check-rmd.outputs.count != 0 && github.ref != 'refs/heads/gh-pages'}}
uses: actions/checkout@master
uses: actions/checkout@v7
with:
ref: gh-pages
path: gh-pages
Expand Down
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

13 changes: 3 additions & 10 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,7 @@ title: "Page not found"
>
> We cannot seem to find the page you are looking for.
> Try going back to the <a href="javascript:history.back()">previous page</a> or
> navigate to any other page using the navigation bar above
> {%- if site.kind == "lesson" -%} or the schedule below {%- endif -%}.
> If you got here by clicking on a link in the
> {%- if site.kind == "lesson" -%} lesson {%- else -%} workshop {%- endif -%},
> please report this link to the
> {%- if site.kind == "lesson" -%} lesson developers {%- else -%} workshop organizers {%- endif -%}.
> navigate to any other page using the navigation bar above.
> If you got here by clicking on a link in the workshop,
> please report this link to the workshop organizers.
{: .caution}

{% if site.kind == "lesson" %}
{% include syllabus.html %}
{% endif%}
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Amy Brown
C. Titus Brown
Greg Caporaso
Sarah Clayton
Robert Davey
Matt Davis
Neal Davis
Jonah Duckles
Expand Down
3 changes: 3 additions & 0 deletions CITATION
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Please cite as:

Robert Davey (ed): "The Carpentries: Workshop Template." Version
2026.07, June 2026, https://github.com/carpentries/workshop-template.

Greg Wilson (ed): "Software Carpentry: Workshop Template." Version
2016.06, June 2016, https://github.com/carpentries/workshop-template,
10.5281/zenodo.58156.
6 changes: 2 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
layout: page
title: "Contributor Code of Conduct"
---
As contributors and maintainers of this project,
we pledge to follow the [Carpentry Code of Conduct][coc].
As contributors and maintainers of this project, we pledge to follow the [Carpentry Code of Conduct][coc].

Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by following our [reporting guidelines][coc-reporting].
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by following our [reporting guidelines][coc-reporting].

[coc]: https://docs.carpentries.org/policies/coc/
[coc-reporting]: https://docs.carpentries.org/policies/coc/incident-reporting.html
Loading
Loading