Closed EdwardBetts closed 1 year ago
New: FOSSY 2023 (use this one!) Removed: FOSSY 2023 File passed validation! \o/
Oh nice!! On my phone right now, can merge shortly, but one warning: this will invalidate any selections people may have made. Is that still safe?
I think it is safe, the ICS version hasn't been there for long.
OK, let's take the risk.
But one more issue, and this is kinda a Giggity bug in a way, but people who used Giggity over the past days will still have the old entries in their menu too. :(
We could either have extra files for the old two URLs with "(old, do not use)" titles which stinks because it'll show up even for people who so far haven't opened Giggity, or maybe just add "(use this one!)" or something to the title of this entry. I think I like that last option more.
I used to use an explicit primary key for schedules instead of their URL but it was tedious in other ways and didn't seem to be worth keeping. I should perhaps reconsider.. IIRC that was before I split the menu entries file with the centralised auto-generator that could now generate these primary keys when absent..
I saw this bug with the switch to the ICS schedule. I agree the second option is better.
Maybe you could use the menu filename (fossy_2023.json) as the primary key.
Maybe you could use the menu filename (fossy_2023.json) as the primary key.
Yeah exactly. That's the best option now with the split menu files. I just need to figure out how to transition this cleanly with bw compatibility etc.
Can you update your PR with option 2 then? Ready to merge whenever you are :)
I've made the change.
Reads a version of the schedule in XML that has been generated from the JSON version of the schedule.
The XML version is being regenerated regularly.
This gives more detail that the ICS version.