Skip to content

feat: update all fixtures and custom parsers to match - #713

Merged
sdoire merged 26 commits into
mainfrom
fixture-and-custom-extractor-updates
Dec 13, 2022
Merged

sdoire merged 26 commits into
mainfrom
fixture-and-custom-extractor-updates

Conversation

@sdoire

@sdoire sdoire commented Nov 10, 2022 •

Copy link
Copy Markdown
Contributor

This PR includes the majority of changes from the original move-fixtures PR. It includes everything but the changes to the scripts, which will be done in a future PR. From the original PR:

"This patch changes how fixtures are stored. Previously, a fixture's folder identified its domain and its filename identified when it was fetched. This has been changed so that the filename indicates the domain and the modified time of the file indicates how recently it was fetched. A fixture's filename can optionally include a modifier to distinguish between two different page types on the same domain, for example.

Finally, all fixtures have been updated."

In addition, the updating of fixtures exposed that a number of custom extractors are now out of sync with the current website layouts for their domains, so all of those have been updated so that the custom extractor unit tests are now passing again.

postlight-org and others added 17 commits September 14, 2022 12:37
This patch changes how fixtures are stored. Previously, a fixture's folder identified its domain and its filename identified when it was fetched. This has been changed so that the filename indicates the domain and the modified time of the file indicates how recently it was fetched. A fixture's filename can optionally include a modifier to distinguish between two different page types on the same domain, for example.

Also included here are changes to the update-fixture script, both to accomodate the new filename scheme as well as to actually update all fixtures. The functionality for running automatically and opening PRs has been removed but will likely be reintroduced.

Finally, all fixtures have been updated.