Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/plugins.py
AgeCommit message (Collapse)Author
2023-05-11Cleanup imports and unused code (#1801)Daniel Girtler
* Cleanup imports and unused code * Update build check * Keep deprecation exception * Simplify logging --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03Full mypy compliance and small fixes (#1777)Daniel Girtler
* Fix mypy compliance --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-11Cleaned up argument loading slighly. (#1419)Anton Hvornum
* Cleaned up argument loading slighly. Also flipped some --silent logic to avoid double negatives. --plugin and --conf {'plugin': ...} should now both work. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string.
2022-08-01Solves issue 1343. Could not locate partition after creation (#1355)Werner Llácer
* Solves issue 1343. Could not locate partition after creation * Added some flake fixes. Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-01Hotfix for plugins, forgot group=Anton Hvornum
2022-05-01The dict object is deprectrecated, instead .select() is suggested. (#1107)Anton Hvornum
* The dict object is deprectrecated, instead .select() is suggested. * removed copy paste issue * Removed tests, they'll be added in a separate PR
2022-01-07Fixed import error ModuleType (#848)Anton Hvornum
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-01-06Added type annotations to all functions (#845)Anton Hvornum
* Added type annotations for 1/5 of the files. There's bound to be some issues with type miss-match, will sort that out later. * Added type hints for 4/5 of the code * Added type hints for 4.7/5 of the code * Added type hints for 5/5 of the code base * Split the linters into individual files This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml * Fixed some of the last flake8 issues * Missing parameter * Fixed invalid lookahead types * __future__ had to be at the top * Fixed last flake8 issues
2021-11-01Fixed flake8 issues in networking, plugins and profiles.Anton Hvornum
2021-09-19general: remove all found white-spacesSecondThundeR
Also this change adds new line at the end for some scripts
2021-05-31Fixed a plugin issue where there are no plugins found.Anton Hvornum
2021-05-24Added/moved comments.Anton Hvornum
2021-05-24Added optional version handling. And improved error handling a bit.Anton Hvornum
2021-05-24Added a commentAnton Hvornum
2021-05-24Added better error handling.Anton Hvornum
2021-05-24Implemented load_plugin() which handles local or remote paths. Also added ↵Anton Hvornum
some error handling surrounding the loading of plugins.
2021-05-24Spelling errorAnton Hvornum
2021-05-24Spelling errorAnton Hvornum
2021-05-24Switched plugin strategty. Now uses built-in entrypoints to source and load ↵Anton Hvornum
the plugins. This is the default method provided by Python, and is the cleanest so far I think.
2021-04-30Enabling --plugins filteringAnton Hvornum
2021-04-30Automatic loading of pluginsAnton Hvornum
2021-04-29Adding on_pacstrap hook for installation. As well as a plugins listing that ↵Anton Hvornum
plugins can hook in to in order to be called during specific on_<event> calls.