Commit Graph

14 Commits

Author SHA1 Message Date
Anton Hvornum 455dd24614
Merge branch 'master' into packages 2021-04-29 08:23:01 +00:00
Anton Hvornum 2d02e806f2
Cleaning up packages. (#374)
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles.

* Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot.

* Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed.

* Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining.

* Explosion misspelling.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 10:18:43 +02:00
Dylan Taylor 23a9e9f69a Change how i3 configurations are installed 2021-04-28 11:13:16 -04:00
SecondThundeR 1d04c92258 Add sort parameter for generic_select
Updated required features to support these change
2021-04-20 14:45:54 +03:00
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
Dylan M. Taylor 40b3a935eb i3-sensible-terminal can't find a terminal on new install
Add urxvt, the most preferred terminal according to https://man.archlinux.org/man/i3-sensible-terminal.1
Update i3.py
Update i3.py
2021-04-09 22:13:52 -04:00
Anton Hvornum 495cd0d5cb
Update i3.py 2021-04-09 21:42:37 +02:00
Anton Hvornum 5bc8ca361a
Update i3.py 2021-04-09 21:42:24 +02:00
Dylan M. Taylor 40df2d6e80 Further i3 simplification and cleanup 2021-04-09 15:32:01 -04:00
Dylan Taylor 82c5241946 This might work to make the i3 profiles as small as possible 2021-04-08 21:24:21 -04:00
Dylan Taylor 6a6439daa9 Move more logic into common profile 2021-04-08 21:11:33 -04:00
Dylan Taylor a5eb815b3e Move common packages to common i3 profile 2021-04-08 21:00:55 -04:00
Dylan M. Taylor 32c902a4d8
draft: Make i3 package to select i3 configuration 2021-04-08 20:52:47 -04:00