Skip to content

Commit 044f2a3

Browse files
committed
fix(devx): re-sync e2e vault seed with DEFAULT_SETTINGS (#191)
DEFAULT_PODNOTES_DATA in the e2e provisioning script is a hand-maintained mirror of DEFAULT_SETTINGS. Recently-merged PRs changed the defaults without updating the mirror, so the "seeds a data.json that mirrors the real DEFAULT_SETTINGS" test fails on master — turning the Test CI check red for every open PR. Re-sync the three drifted fields: - add autoQueue: true (#108) - add the feedNote default (#163) - set download.path to the per-episode default (#183) Closes #191.
1 parent 0ea4715 commit 044f2a3

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎scripts/provision-obsidian-e2e-vault.mjs‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const DEFAULT_PODNOTES_DATA = {
4242
shouldRepeat: false,
4343
episodes: [],
4444
},
45+
autoQueue: true,
4546
playlists: {},
4647
skipBackwardLength: 15,
4748
skipForwardLength: 15,
@@ -53,8 +54,25 @@ export const DEFAULT_PODNOTES_DATA = {
5354
path: "",
5455
template: "",
5556
},
57+
feedNote: {
58+
path: "PodNotes/Podcasts/{{podcast}}.md",
59+
template:
60+
"---\n" +
61+
"type: podcast\n" +
62+
'podcast: "{{podcast}}"\n' +
63+
'image: "{{artwork}}"\n' +
64+
'url: "{{url}}"\n' +
65+
'feedUrl: "{{feedurl}}"\n' +
66+
"tags:\n" +
67+
" - podcast\n" +
68+
"---\n" +
69+
"# {{title}}\n" +
70+
"{{author}}\n\n" +
71+
"![]({{artwork}})\n\n" +
72+
"{{description}}\n",
73+
},
5674
download: {
57-
path: "",
75+
path: "PodNotes/{{podcast}}/{{title}}",
5876
},
5977
downloadedEpisodes: {},
6078
localFiles: {

0 commit comments

Comments
 (0)