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
2020-12-06Added additional user-verification to guided.pyAnton Hvornum
Also spelling error in subpath
2020-12-06Fixed issue where absolute paths to profiles got squashedAnton Hvornum
2020-12-06Reverted last commit and added debugging in guided insteadAnton Hvornum
2020-12-06Added debugging to find application issueAnton Hvornum
2020-12-06Modified Application() and list_profiles()Anton Hvornum
list_profiles() support a subpath parameter, which just gets appended after any given path found in PROFILE_PATH as well as UPSTREAM_URL to support filtering on application level.
2020-12-06Returning Profile() to correctly handle with statementAnton Hvornum
2020-12-06Update profiles.pyAnton Hvornum
2020-12-06Added spec as an instance variable to Script()Anton Hvornum
2020-12-06Moving self.installer to Script() instead of Profile()Anton Hvornum
2020-12-06Wrong variable passed to spec_from_file_location()Anton Hvornum
2020-12-06DebuggingAnton Hvornum
2020-12-06Simplifying the Profile() and Imported() logic.Anton Hvornum
Combining two/three separate logics into one, to make it easier to maintain profile loading.
2020-11-29Profile filename confusion between list_profiles() and @path declaration.Anton Hvornum
2020-11-29Profile filename confusion between list_profiles() and @path declaration.Anton Hvornum
2020-11-29Forgot return statementAnton Hvornum
2020-11-29Added more debuggingAnton Hvornum
2020-11-29Forgot to call .geturl() on urlparse object.Anton Hvornum
2020-11-29Test/Debug data.Anton Hvornum
2020-11-29Forgot to replace URL schemes from temporary path. #62Anton Hvornum
2020-11-29Forgot 'self' in localize_path()Anton Hvornum
2020-11-29Tweaking Profile() to use Script() as a handler for any given path.Anton Hvornum
2020-11-29Merging in find_installation_script() into Script() for a more unified ↵Anton Hvornum
handler of any given script type or location. Which should correct #62.
2020-11-29Lowering MAC addresses for file-name comparison against local mac addresses ↵Anton Hvornum
in #62
2020-11-29Added a bit more detail to HTTP errors.Anton Hvornum
2020-11-29Spelling errorAnton Hvornum
2020-11-29Removed find_examples() and moved example finding paths into ↵Anton Hvornum
archinstall.storage. Otherwise they won't share the variable instance across imports (mutables vs non-mutables i guess). In an attempt to fix #62
2020-11-29Forgot a few importsAnton Hvornum
2020-11-29Removed unreliable find_examples() and will use list_profiles() instead, as ↵Anton Hvornum
it covers a wider range of profiles and search area.
2020-11-29Trying to combat #62. By implementing a UPSTREAM_URL variable globally, ↵Anton Hvornum
which can be controlled, as well as a PROFILE_PATH which controls where it should look for profiles. the list_profiles() should be more robust.
2020-11-08Fixing a variable missmatch in #61. The global configuration snapshot (that ↵Anton Hvornum
is used for debug printing) does not contain the password for the new user (for safety reasons). So we can no longer get the password from that snapshot, but instead we have to get it from the global variable users (:dict).
2020-11-08Added some more debuggingAnton Hvornum
2020-11-08Tweaked #58 slightly. Execution is done with an attempt to retain file line ↵Anton Hvornum
numbers when executing. It also consolidates behavior of files and remote documents in a 'similar' manner.
2020-11-06Forgot an import of storage.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-18Made Profile() json-dumpableAnton Hvornum
2020-09-30Tweaked the import logic so that the Imported() class returns the actual ↵Anton Hvornum
module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
2020-09-30Fixing a import logic issue. We don't want to trigger if __name__ ... during ↵Anton Hvornum
_prep_function() calls. So we'll import the module with a specific namespace containing the .py which shouldn't be able to happen when normal programmers do normal imports as .py gets removed normally.
2020-09-30Fixed bug: profile names listed by list_profiles() contained a trailing dot. ↵Anton Hvornum
This causes issues later when trying to select a profile from said list.
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-30Fixing awesome and xorg for first test run.Anton Hvornum
2020-08-20Added the HTTPS POST for a successful build to the unattended test build.Anton Hvornum
2020-08-20Added a unattended installer. Fixed list_profiles() to not include .py ↵Anton Hvornum
ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
2020-08-20Starting to add networking helpers in archinstall. First up is ↵Anton Hvornum
archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given.
2020-08-05Removed support entirely for .json. Cleaning up the Profile() class **a ↵Anton Hvornum
lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Added a debugAnton Hvornum
2020-08-04Adding description handling in profiles.Anton Hvornum
2020-08-04elif mixupAnton Hvornum