advaithm
1188303fb3
fixed another messed up import
2021-04-22 19:16:27 +05:30
advaithm
eb1ff72f5b
readded some commits that got removed
2021-04-22 17:00:51 +05:30
advaithm
15d56c2bc7
merged with master
2021-04-22 16:41:47 +05:30
SecondThundeR
d2eacffff8
Update some functions
...
Here are list of changes:
- Added IP/subnet validation using Python's `ipaddress` module
- Added workaround for network configuration modes where user can enter DHCP or IP without brackets.
- Returned local printing options for some functions to keep `The above list...`
- Moved booleans for `generic_select` below options and text parameters
- Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines.
- Reduced variable name length for simplicity
- Fixed some typos
2021-04-19 20:34:35 +03:00
SecondThundeR
a316846121
Replace input with generic_select where necessary
...
Here are list of changes:
> From now on, `generic_select` will be called "Select function", for clarity
- Slightly updated select function
- Removed options output for some functions, where it's better to do with select function
- Added sorting for all lists passed to select function
- Replaced `dict.values()` with `dict` as options parameter
- Simplified input checking for all functions that use the select function
- Added temporary *(for now)* workaround for passing `?` and `help` inputs
- Merged fix for `partition.format()`
2021-04-17 16:35:21 +03:00
Anton Hvornum
1292c07796
Fixed PR #273 . Moved the graphic drivers into hardware since they are hardware specific, in the long run maybe we move them into 'drivers' or something. And moved the user interaction from gfx_drivers into user_interactions. And removed the import from installer.py to __init__.py since we don't want to import 'global functions' in extension imports.
2021-04-11 10:20:33 +02:00
Dylan Taylor
5f46f76bd5
Multiple restructuring changes
2021-04-10 11:58:53 -04:00
Anton Hvornum
3d659dead8
Merge pull request #251 from advaithm/torxed-v2.2.0
...
Split drivers from xorg and create a seprate profile for wayland. Remove the use of sddm from sway and raise issues with the nvidia drivers
2021-04-09 08:08:53 +00:00
advaithm
b85514ae5e
renamed driver.py to gfx_driver.py. also explictly check if we are using the propritery nvidia drivers
2021-04-09 13:28:12 +05:30
Dylan Taylor
ea81759e40
Add minimal profile and implement idea of 'top-level' profiles
2021-04-08 09:51:11 -04:00
advaithm
9d6541aaa6
sway, wayland specific files. drivers has also been split from xorg
2021-04-08 14:06:27 +05:30
Dylan Taylor
ac7d980f89
Add minimal profile and implement idea of 'top-level' profiles
2021-04-07 08:37:39 -04:00
Anton Hvornum
30e66e49ec
Fixes #86 by properly raising the the correct exceptions. This will happen when required steps are skipped. And the error message is to simply restart the installer.
2021-01-26 10:57:48 +01:00
Varun Madiath
da59378cc4
Fix typos.
2020-10-19 23:04:14 -04:00
Anton Hvornum
534679e88f
Added gnome as a profile (and application for application specific steps). 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-30 12:31:47 +00:00
Anton Hvornum
85fd06fa8a
Finalized magic function _prep_function(). Gets returned when a profile is 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-30 09:11:36 +00:00
Anton Hvornum
5a4d68e617
Fixing awesome and xorg for first test run.
2020-09-30 08:37:54 +00:00
Anton Hvornum
5ce8c20333
Fixed some selection processes.
2020-09-29 22:26:40 +00:00
Anton Hvornum
f896342147
Adding a baseline xorg profile that can be called from other profiles. Such as the awesome profile, and in the future gnome and kde.
2020-09-29 22:09:28 +00:00