Skip to content

Commit 921ab29

Browse files
committed
Fix broken test (oops)
1 parent 51cfe44 commit 921ab29

8 files changed

Lines changed: 38 additions & 9 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,13 @@ jobs:
8080
mv covers/ "$GITHUB_WORKSPACE/assets/imgs/"
8181
cd $GITHUB_WORKSPACE
8282
rm -rf prod
83-
cd scripts
84-
pip install titlecase pyyaml python-frontmatter
85-
python dl-book-covers.py
83+
if git show | grep -q "olid"; then
84+
cd scripts
85+
pip install titlecase pyyaml python-frontmatter
86+
python dl-book-covers.py
87+
else
88+
echo "The previous commit didn't touch any olid's, so short-circuiting the download script"
89+
fi
8690
- name: Install node
8791
uses: actions/setup-node@v4
8892
with:

‎_config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ collections:
272272
- health.md
273273
- biology.md
274274
- medicine.md
275-
- race.md
276275
- politics.md
277276
- law.md
278277
- caste.md
278+
- race.md
279279
- gender.md
280280
- desire.md
281281
- families.md
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Against Despair"
3+
authors:
4+
- "Christian Wiman"
5+
subcat: podcast
6+
editor: "Matthew Sitman and Sam Adler-Bell"
7+
external_url: "https://know-your-enemy-1682b684.simplecast.com/episodes/tk-w-christian-wiman"
8+
drive_links:
9+
- "https://drive.google.com/file/d/1X5UE_ft_nYCxEYGxTK_cnqHKCZyBvJbv/view?usp=drivesdk"
10+
course: religion
11+
tags:
12+
- christianity
13+
- poetry
14+
- mythology
15+
year: 2024
16+
month: apr
17+
series: know-your-enemy
18+
number: 91
19+
minutes: 68
20+
---
21+
22+
> For people who say they have no religious impulse whatsoever... really? You have never felt overwhelmed by, in some way inadequate to, an experience in your life? Have never felt in yourself something staking a claim beyond yourself? Some wordless mystery straining through words to reach you? Never??

‎_content/av/early-buddhism_wisdom_sujato-and-brahmali.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Early Buddhist Wisdom"
3-
authors: [sujato, brahmali]
3+
authors: [sujato]
44
source_url: "https://bswa.org/teaching/early-buddhism-class-workshop-6-with-ajahn-brahmali-ajahn-sujato/"
55
month: jun
66
year: 2013
@@ -11,7 +11,6 @@ tags:
1111
- ebts
1212
series: early-buddhism_sujato-brahmali
1313
number: 5
14-
base_value: 0.6
1514
minutes: 242
1615
---
1716

‎_courses/philosophy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The class is structured into 10 "weeks." Each week assigns some suttas and other
102102
But before we get started, here is a brief introduction to Wisdom in Early Buddhism.
103103

104104
{% include content_blurb.html category="av" slug="early-buddhism_wisdom_sujato-and-brahmali" %}
105-
- Bhante Sujato and Brahmali give us a guest lecture on wisdom to start our course.
105+
- Bhante Sujato gives us a guest lecture on wisdom to start our course.
106106
- They introduce the main points we'll analyze in depth, and also briefly explain why this course doesn't follow the “conventional versus ultimate realities” dichotomy that many have used to explain Buddhist philosophy.
107107
- **Start here!**
108108

‎_data/drive_folders.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"private": "https://drive.google.com/drive/folders/1I4-mVhhACPqkLd_qRyJdzsaGk8L3sRAW",
4444
"public": null
4545
},
46+
"african-america": {
47+
"private": "https://drive.google.com/drive/folders/1_LOjpqFpxunyghXHaYzvjhVmFp_gTpXf",
48+
"public": null
49+
},
4650
"agama": {
4751
"private": "https://drive.google.com/drive/folders/11rdItNqaUYhV3KbVGS6XR72HLeWM3d86",
4852
"public": "https://drive.google.com/drive/folders/1-M69Vbs3VSd2t_oVIwWA2FB_xQJgkQ0G"

‎_series/know-your-enemy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ subcat: podcast
66
tags:
77
- america
88
- political-ideology
9-
external_url: "https://www.dissentmagazine.org/category/podcast/know-your-enemy/page/5/"
9+
external_url: "https://know-your-enemy-1682b684.simplecast.com/"
1010
---
1111

1212
A podcast from two American leftists about the history and future of American politics.

‎_tests/tags.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ A series of tests to check the integrity of the tag configuration.
66

77
| Test Name | Status | Notes |
88
|-----------|--------|-------|
9-
| All tags in _config.yml order | {% assign pivottags = site.tags | map: "name" | join: " " | split: " mandarin.md " %}{% if pivottags.size == 1 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if pivottags.size > 1 %}These tags need to be added: `{{ pivottags | last }}`{% else %}All in!{% endif %} |
9+
| All tags in _config.yml order | {% assign pivottags = site.tags | map: "name" | join: " " | split: " architecture.md " %}{% if pivottags.size == 1 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if pivottags.size > 1 %}These tags need to be added: `{{ pivottags | last }}`{% else %}All in!{% endif %} |
1010
| If published, parent is | {% assign failures = "" | split: "" %}{% for tag in site.tags %}{% assign parent = site.tags | find: "slug", tag.parents[0] %}{% unless parent and tag.status == "published" %}{% continue %}{% endunless %}{% unless parent.status == "published" or tag.level == 1 %}{% assign failures = failures | push: tag.name %}{% endunless %}{% endfor %}{% if failures.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if failures.size > 0 %}These tags have unpublished parents: `{{ failures | join: " " }}`{% else %}None dangling!{% endif %} |
1111
| Parents appear before children in tag order (except for "-religion" tags, pairs across the Buddhism/secular divide and "modern") | {% assign pivottags = site.tags | map: "name" | join: " " | split: " world.md " %}{% assign buddhismtags = pivottags | first %}{% assign seculartags = pivottags | last %}{% assign failures = "" | split: "" %}{% assign seen = "modern" | split: "," %}{% for tag in site.tags %}{% if tag.slug contains "religion" %}{% continue %}{% endif %}{% for pslug in tag.parents %}{% assign parent = site.tags | find: "slug", pslug %}{% unless parent %}{% continue %}{% endunless %}{% if buddhismtags contains tag.name and seculartags contains parent.name %}{% continue %}{% endif %}{% unless seen contains pslug %}{% capture pair %}({{tag.slug}}, {{pslug}}){% endcapture %}{% assign failures = failures | push: pair %}{% endunless %}{% endfor %}{% assign seen = seen | push: tag.slug %}{% endfor %}{% if failures.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if failures.size > 0 %}(child, parent) pairs that are out of order: `{{ failures | join: " " }}`{% else %}All partial orderings are respected.{% endif %} |

0 commit comments

Comments
 (0)