-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support multiple 'interface' values in .toc files (#430)
* toc.clj, introduces 'interface-version-list' field. it contains all possible interface versions parsed from the 'interface' field. * toc.clj, split 'parse-addon-toc' into '-parse-addon-toc'. new private fn is less strict, interpreting and extrapolating values, warning on bad values etc. new fn does validation and discards data if it's invalid. this was done so we don't have to repeat parsing steps elsewhere. * toc.clj, the templated '## # interface' value is now considered and included in the interface-version-list. * github-api.clj, removed duplicated parsing of :interface values in favour of that in toc.clj * github-api.clj, order of extracted gametrack values is now deterministic. * utils, fixed bug in interface-version-to-game-version - '110000' was returning '1.0.000' instead of '11.0.0' * toc.clj, fixed bug where data would fail to validate and be discarded. - it was possible for multiple distinct interface-version values to become duplicate game tracks values (like [:retail :retail]) * jfx.clj, the 'WoW' (interface version) column now supports multiple values. - default column width values increased to accommodate them. * specs.clj, replaces toc :interface-version with :interface-version-list * core.clj, fixed a typo in the import/export logic and the test helper that was using :toc/game-track instead of :-toc/game-track * toc.clj, replaced :-toc/game-track with :-toc/game-track-list * addon.clj, a single set of toc data can now belong to many game tracks - this means the first instance of 'classic' toc data (for example) will be used even if multiple toc files support classic. crazy. * tukui, curseforge, removed their 'expand-summary' implementations as they were using :interface-version * jfx.clj, addon data detail pane now accommodates many interface values. * toc.clj, removed a warning when the presence of a game track in the filename doesn't match the game tracks parsed from the data. - the user can't really do anything about it, I had at least one false-positive and with many game tracks to now check it seems needlessly expensive. * curseforge, tukui, removes test fixtures referenced by removed code. * catalogue.clj, fixed possibilty of multiple game tracks in toc2summary * specs, source-updates, removes 'release-label' and 'interface-version'. these appear to have been introduced for curseforge and only used there. * linted * review feedback * CHANGELOG
- Loading branch information
Showing
43 changed files
with
584 additions
and
7,333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.