-
Notifications
You must be signed in to change notification settings - Fork 47
Description
foundryvtt-cli isn't quite ready for use in a github workflow yet (it would need to support folders and ideally expose more of its API), but it's getting there.
one problem i'd like to get ahead of: it expects the filename of a manifest packs entry to match its name. while this is explicitly stated in the API docs it hasn't really been a problem until now.
so we're either going to need to rename a bunch of files (easy) or do migrations for account for the name change (harder).
i'd actually lean towards the latter, as i'll need to futz with a bunch of pack names in the near feature, and it gives me an excuse to standardize the names 😉 . some examples:
- splitting delve content to their own packs (currently experimenting with this in Refactor + enhance oracle importers for v11 #774 )
- splitting delve content to its own package Explore splitting Delve content/functionality into its own module #757
- pointing references to foe actors to their new location Provide
foeactor tocharacteractor drag behaviour to replace foe progress item packs #763
i think i'd like to handle this by writing a custom migration method for HTMLField. it can look at a parent document's _documentStats, and if it's below a certain system version, it can do the appropriate replacements.
that'd probably be easier after migrating the rest of our custom subclasses to the v10 DataModel but that's already something i'm thinking about after #762. and, IIRC there's a way to flag for HTMLField in template.json.