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-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.
2020-12-06Removed debugging for walkAnton Hvornum
Application profiles now seam properly integrated by setup.py, remote profiles have not yet been tested.
2020-12-06Added application profiles to the setup.pyAnton Hvornum
Otherwise local lookups for application specific profiles will break/be missing.
2020-12-06DebuggingAnton Hvornum
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.