Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
AgeCommit message (Collapse)Author
2021-01-22Safety checks prohibited this from runningAnton Hvornum
The safety mechanism prevents the installation-code under `if __name__` to run when importing to check for the `_prep_function`. when the import for `_prep_function` check is executed it imports with a bogus `__name__` override. This is to protect anything under if `__name__` from running just to be able to import and run `_prep_function()`. After that is done and the actual installation begins, it imports with a proper `__name__`, The namespace is `filename` minus the `.extension` *(.py)*, normally imports of modules with dashes (`-`) in the name is prohibited, but archintall's import mechanism supports this as it's a string-import via `importlib`. So modified to `if __name__ == 'kde-wayland'` and that worked great : )
2021-01-22fixed spaces in kde-wayland.pyadvaithm
2021-01-22fixed spaces in kde-wayland.pyadvaithm
2021-01-22fixed tabs and spaces problemadvaithm
2021-01-22plasma-wayland installeradvaithm
2021-01-21Merge pull request #85 from j-james/masterAnton Hvornum
Spell "environment" correctly
2021-01-21Spell "environment" correctlyj-james
2021-01-21reworked kde.py to use sddm instead of hacking xinitrcadvaithm
2021-01-19Added a profile for alacritty as well as tweaked the awesome profile and ↵Anton Hvornum
application profile.
2020-11-11Slimmed the awesome profile a bit. No need to install tons of dependencies ↵Anton Hvornum
just for the desktop environment.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-19Fix typo in function parameterVarun Madiath
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19Fix typos.Varun Madiath
2020-10-18Spelling error on fileAnton Hvornum
2020-10-18Spelling error on a variableAnton Hvornum
2020-10-18Added a session-storag. This is in an attempt to build away some magic ↵Anton Hvornum
functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test.
2020-10-18Added profile `desktop.py` which helps users select a desktop environment. ↵Anton Hvornum
Also added `archinstall.generic_select` to help with selecting generic things from a list of options.
2020-09-30Cleaned up the awesome wm profile. A few things were test purpose-addons ↵Anton Hvornum
that shouldn't be in the default profile.
2020-09-30Type-oAnton Hvornum
2020-09-30Added KDE profile (untested)Anton Hvornum
2020-09-30__name__ missmatch in gnome profile.Anton Hvornum
2020-09-30Added gnome as a profile (and application for application specific steps). ↵Anton Hvornum
Also tweaked xorg to not be so intrusive when used for anything other than awesome WM. Tweaked awesome WM to accomodate this change.
2020-09-30Forgot to replace the xinitrc data after replacing lines.Anton Hvornum
2020-09-30Debug for testingAnton Hvornum
2020-09-30Attempt to enhance the search and replace of default apps in xorg.Anton Hvornum
2020-09-30Fixed some issues with the awesome profile. It should now be properly ↵Anton Hvornum
installed. Still need to tweak it a bit to not be as intrusive while still giving some 'starting points' to stand on as a new user.
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-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-09-29Fixed some selection processes.Anton Hvornum
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.
2020-09-29Removed AUR support (Moving to a separate project, possibly as an addon ↵Anton Hvornum
layer later)
2020-08-21Adding a comment. Also testing webhooksAnton Hvornum
2020-08-21Corrected API endpoint for automated tests.Anton Hvornum
2020-08-21Added some debug output to the automated test profile.Anton Hvornum
2020-08-21Adjusted the automated test build to send the correct status message to the ↵Anton Hvornum
backend API.
2020-08-21Added API for automatic testing status.Anton Hvornum
2020-08-21Added try/catch for HTTPS POST.Anton Hvornum
2020-08-20Added a timeout on the HTTPS POST status after a successful install.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-04Removed legacy .json profiles. Not in favor of .pyAnton Hvornum
2020-07-22New feature: application profiles now support .py as well. Also fixed a ↵Anton Hvornum
sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)
2020-07-08v2.0.3 prep release. Profile now fully support python scripting instead of ↵Anton Hvornum
JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff
2020-07-08Added support for .py profiles. Added a simple 'desktop.py' for now that is ↵Anton Hvornum
just a mock to make sure it's working.
2020-07-06Renaming deployments to profilesAnton Hvornum