ThatRickGuy / PGSwiss

A Swiss Pairing tournament application designed for Warmachine/Hordes events
10 stars 1 forks source link

Update mechanics #65

Closed NekuraIzou closed 9 years ago

NekuraIzou commented 10 years ago

How do you plan on updating any of the information in the Collections panel?

If a new faction gets added or a new scenario, do people have to manually edit these collections?

If you provide a new update with the Collections edited, how do my old meta/player formats/scenarios get saved?

ThatRickGuy commented 10 years ago

A user can modify the collections manually. The application generates them by default if the files don't exist. So if a new faction is released, I can add the faction to the default generation. Any new users at that point will get the new collection. Anyone with an existing collection file can either delete their collection file to get the new one, or can just modify it to get the new faction.

Collection files are all straight XML. So loading older versions shouldn't be a problem unless I break compatibility. No really good solutions there other than implementing a versioning schema for the XML (a rather large effort) or just being very careful with object graph changes.