Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
AgeCommit message (Collapse)Author
2021-05-14Don't list __init__.py files in profile listDylan M. Taylor
2021-05-14Fixes string index error.Anton Hvornum
2021-05-12some type hint fixes and a bad catch fixadvaithm
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Added a mini curses class and generic-multi-select (#362)Anton Hvornum
* Added a mini curses class. It can do some simple tricks to iterate over menu options and indicate which ones are chosen using generic_multi_select(). * Include the default parameter if set. * Modified 'select_kernel()' to use the new multi-select. * Sneaky character got in. * removed some debugging * removed some debugging * Spelling error * Adding error handling and loop support. * Enforce that 'default' is always selected if no other option is selected. * Fixed backspace issues and ghosting. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-22merged with masteradvaithm
2021-04-21Re-working top-level-profile lambda to be a parameter to list_profiles() ↵Anton Hvornum
instead. When skipping a profile, None is returned from somewhere and it causes a glitch. So trying to figure out where and what by cleaning up a bit
2021-04-17Merging in master to feature branch.Anton Hvornum
2021-04-12Merge branch 'master' into torxed-v2.2.0Anton Hvornum
2021-04-08Wrong indentation on comment.Anton Hvornum
2021-04-08Disable post-install hooks for nowDylan Taylor
2021-04-08Add filtration on top level profileDylan Taylor
2021-04-08added _post_install hook.advaithm
2021-04-07Remove TODO line - it's functional and tested to work.Dylan M. Taylor
2021-04-07Add i3 selections to desktop fileDylan Taylor
2021-04-07Add filtration on top level profileDylan Taylor
2021-04-07Merging changes from master into feature branch to avoid future conflics.Anton Hvornum
2021-04-06Merge pull request #190 from advaithm/masterAnton Hvornum
post install hook
2021-04-06added _post_install hook.advaithm
2021-04-04Fix misspellingsRafael Fontenelle
2021-03-25New feature: Profile() now supports .packages which returns any defined ↵Anton Hvornum
packages for that specific profile, as well as archinstall.__packages__ contain any packages that Installer() is responsible for. This can be used to quickly gather any required packages and dependencies by archinstall. Not all profiles have it yet, so .packages might return None.
2021-03-21Moved some info logs into debug instead to minimize user splash.Anton Hvornum
2021-03-21Cleaned up after some debugging.Anton Hvornum
2021-03-21Moved the globalization of 'installation' variable. Since Profile() might be ↵Anton Hvornum
created before the installation instance, we need to move the global variable declaration after installation has begun and there's an installation instance.
2021-03-21Storing original namespace of profiles as they were during initation. ↵Anton Hvornum
Namespaces now get reverted back to the original state just before .install() is called. This ensures any temporary namespace changes made during prep-checks etc doesn't stick around when we try to install.
2021-03-21Reverted reset_namespace idea. Didn't turn out as clean as I wanted it to.Anton Hvornum
2021-03-21Enabling load_instructions() to set a temporary namespace, and then ↵Anton Hvornum
reverting it after the instructions are loaded. This is to temporarly override the namespace during import - enabling avoidance of triggering __name__ checks, and at the same time reverting back the namespace automatically to enable .execute() on the script (reusability of classes)
2021-03-21Enabling load_instructions() to set a temporary namespace, and then ↵Anton Hvornum
reverting it after the instructions are loaded. This is to temporarly override the namespace during import - enabling avoidance of triggering __name__ checks, and at the same time reverting back the namespace automatically to enable .execute() on the script (reusability of classes)
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-02-17Variable mistakeAnton Hvornum
2021-02-17Variable mistakeAnton Hvornum
2021-02-17Simplified profile prep-execution slightly in guided.py. The code can be ↵Anton Hvornum
improved further but it's now more easily read what's going on.
2020-12-06Variable issue in Application() from the latest change.Anton Hvornum
2020-12-06Making list_examples() results cachedAnton Hvornum
This to lock in found modules, in case paths dissapear during runtime.
2020-12-06More debuggingAnton Hvornum
2020-12-06Debug for testingAnton Hvornum
2020-12-06Refined debug outputAnton Hvornum
2020-12-06PATH correction for /examples/Anton Hvornum
2020-12-06DebuggingAnton Hvornum
2020-12-06Reduced calls to Profile.pathAnton Hvornum
Since it triggers multiple walks and HTTP requests.