Skip to content

Externalise festival/year list #25

@leccelecce

Description

@leccelecce

I'm conscious that currently adding a new festival or adding a year to an existing festival requires a code change, push to repo, pull from repo your end, recompile, restart and cache warm.

I plan to add quite a lot of European festivals to add. As a result I was thinking it would help to externalise the festival list from pages.ts, possibly just in a simple txt file so that it can be updated alongside the lineup file. The cache warming script could use the same source.

This would mean that a new festival or lineup could be updated with simple txt file changes, no rebuild required. Potentially these could also be supplied via a route other than the main repo in future. A local-only API endpoint could be added to trigger the reload of the festivals text file. That would potentially open the door to automating some more of the process in future.

If you agree with the direction of travel I can start on a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions