FILES / test / fixtures / legacy-blog / README.fixture.md
| Name | Last Commit | Timestamp | Size |
|---|---|---|---|
| .. | |||
| .layout | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | - |
| .blogrc | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 51 B |
| 2015-04-01 post-01.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-02 post-02.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-03 post-03.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-04 post-04.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-05 post-05.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-06 post-06.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2015-04-07 post-07.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 58 B |
| 2016-03-16 entities.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 65 B |
| 2017-09-13 fenced.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 67 B |
| 2019-03-09 untagged.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 33 B |
| README.fixture.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 1 KB |
| README.md | ad9c389 h test: replace the cloned-blog CI job with a committed fixture |
26-08-24 11:38 | 41 B |
legacy-blog fixture
A blog as it existed before the record format landed, used to test the migration path. Committed rather than generated, and deliberately not cloned from a real blog, so this fixture cannot break because somebody else pushed to their repo.
Each property here exists because it caught a bug:
| Property | Catches |
|---|---|
.layout/ holds the pre-fix shipped layouts (from 6242518), forked |
jenny must refuse them rather than render garbage |
Custom in-next class, Under page N wording, custom-marker style |
migration must preserve the user's own markup |
Custom Posted on ... feed description |
same, for rss2.sh |
.blogrc sets neither BLOG_HOST nor BLOG_TITLE |
both are optional; set -u once made them fatal |
A title with &, < and an apostrophe |
legacy layouts escaped nothing, producing invalid XML |
A # heading inside a fence |
title extraction must not leak it |
| 10 posts at 3/page | exercises the partial front page, filling, and the break marker |
README.md, undated |
must be skipped as a draft |
The .layout/*.sh files are tracked mode 100755. They are executed directly, so a non-executable mode breaks the build.
Do not run jenny in this directory. Copy it first — copy_fixture in test/lib/assert.bash does that — so the fixture stays pristine.
| # legacy-blog fixture | |
| A blog as it existed before the record format landed, used to test the | |
| migration path. Committed rather than generated, and deliberately *not* | |
| cloned from a real blog, so this fixture cannot break because somebody | |
| else pushed to their repo. | |
| Each property here exists because it caught a bug: | |
| | Property | Catches | | |
| | --- | --- | | |
| | `.layout/` holds the pre-fix shipped layouts (from `6242518`), forked | jenny must refuse them rather than render garbage | | |
| | Custom `in-next` class, `Under page N` wording, `custom-marker` style | migration must preserve the user's own markup | | |
| | Custom `Posted on ...` feed description | same, for `rss2.sh` | | |
| | `.blogrc` sets neither `BLOG_HOST` nor `BLOG_TITLE` | both are optional; `set -u` once made them fatal | | |
| | A title with `&`, `<` and an apostrophe | legacy layouts escaped nothing, producing invalid XML | | |
| | A `#` heading inside a fence | title extraction must not leak it | | |
| | 10 posts at 3/page | exercises the partial front page, filling, and the break marker | | |
| | `README.md`, undated | must be skipped as a draft | | |
| The `.layout/*.sh` files are tracked mode `100755`. They are executed | |
| directly, so a non-executable mode breaks the build. | |
| Do not run jenny in this directory. Copy it first -- `copy_fixture` in | |
| `test/lib/assert.bash` does that -- so the fixture stays pristine. |