-
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.
install addon from file, preserve 'ignore' and 'pin' flags (#434)
* cli, adds test 'install-addon--ignore-then-update-from-file' - it recreates what is being seen in issue #433 * core.clj, download-time tests duplicated at install-time. - but with different consequences. * cli.clj, installing an addon from a file now goes through 'core', not 'addon'. * core, relaxes restriction on what core/install-addon considers installable. * addon.clj, special handling for nfo flags when installing addon. - if an addon is ignored then the new nfo data will inherit the ignore flag. - if an addon is pinned then thew new nfo data will remove the pinned-version flag. - it shouldn't be possible to reach this logic right now, core/install-addon should prevent that. * core.clj, install-addon, replaced 'test-only?' parameter with map of options. * addon.clj, fixed bug where ignore check fails on single dir addons - it assumed all addons had a :group-addons field, but that only exists for addons that have been grouped because there are more than one of them. - pretty serious bug. * core/install-addon, adds option to bypass ignore and pinned flags * core/remove-many-addons, now refuses to remove ignored addons * addon/remove-addon, just warns when ignored addon is being removed * cli/install-addons-from-file, now accepts a map of installation options * jfx/zip-file-picker, changed default behaviour when installing from file - ignored addons are now overwritten - pinned addons are now unpinned * review feedback * CHANGELOG
- Loading branch information
Showing
12 changed files
with
366 additions
and
143 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
Oops, something went wrong.