Commit Graph

1626 Commits

Author SHA1 Message Date
Anton Hvornum ea9d34e8fc
Re-phrased the wording a bit on the exp. warning. 2021-04-25 22:18:29 +02:00
Anton Hvornum 638985f17d
Merge pull request #345 from dylanmtaylor/patch-9
Ignore dotfiles and globs in timezone selection
2021-04-24 07:11:06 +00:00
Anton Hvornum 84dbbd0857
Added back the note about using /mnt as is
Also added a "experimental" warning to it.
2021-04-23 23:52:49 +02:00
Anton Hvornum 47939ac582
Merge pull request #343 from dylanmtaylor/patch-8
While somewhat nice to have, archlinux-wallpaper isn't needed in a minimall install
2021-04-23 13:41:08 +00:00
Dylan M. Taylor d21e31d477
Actually, putting it here makes more sense. 2021-04-22 19:38:43 -04:00
Dylan M. Taylor 95e73f65a7
Ignore dotfiles and globs 2021-04-22 19:36:32 -04:00
Dylan M. Taylor 91fa98f48d
While somewhat nice to have, archlinux-wallpaper isn't needed in a minimal installation. 2021-04-22 17:49:58 -04:00
Anton Hvornum b963ed2631
Merge pull request #342 from archlinux/torxed-patch1
/ and /boot requirement when keeping partition layout
2021-04-22 19:59:31 +00:00
Anton Hvornum 3cf8ec7ad6
Added a continuation if partitions are not set yet. 2021-04-22 21:58:47 +02:00
Anton Hvornum 81c57560b3
Fixes #324. 2021-04-22 21:56:52 +02:00
Anton Hvornum 1c6aa6b8f4
Merge pull request #339 from dylanmtaylor/patch-7
Have timezone re-prompt on invalid input
2021-04-22 19:46:54 +00:00
Anton Hvornum 74951b841c
Restructured endless loop definition
I prefer to easily spot an endless loop by not having external variables attached to the loop condition.
Since we never updated `exists` it's a dummy variable that I expect to be updated some where in order to break it.
When that's not the case, it's more clear that it's an endless loop if there's no conditions attached to the loop definition.
2021-04-22 21:36:31 +02:00
Dylan M. Taylor bd9d2c9125
Update user_interaction.py 2021-04-22 15:18:59 -04:00
Anton Hvornum 935b878c96
Merge pull request #336 from SecondThundeR/patch-2
Fix other issues of language selection
2021-04-22 12:43:31 +00:00
SecondThundeR d1560d98ec Fix other issues of language selection 2021-04-22 14:54:35 +03:00
Anton Hvornum c88034fa8a
Merge pull request #334 from SecondThundeR/patch-2
Update language selection
2021-04-22 09:53:02 +00:00
Владислав 4209074137
Update language selection
Reverted generic_select changes and added ability to choose any layout at first input
2021-04-22 12:05:24 +03:00
Anton Hvornum 331bb0789b
Merge pull request #325 from SecondThundeR/generic-select-update
Rework of the generic_select function and fixes for various input checks
2021-04-22 08:55:54 +00:00
Anton Hvornum 4d65639724
Fixes the crash on empty profile choice. Since generic_select() returns None, we can't pipe that into Profile() (at least not yet) 2021-04-22 10:31:32 +02:00
Anton Hvornum bf9f7bdb16
Merge pull request #328 from jtagcat/patch-1
user_interaction: Explicitly ask for username on super-user creation.
2021-04-21 15:22:52 +00:00
jtagcat a834bffeec
user_interaction: Explicitly ask for username on super-user creation. 2021-04-21 14:20:22 +00:00
Anton Hvornum 46b872aa61 Re-working top-level-profile lambda to be a parameter to list_profiles() instead. When skipping a profile, None is returned from somewhere and it causes a glitch. So trying to figure out where and what by cleaning up a bit 2021-04-21 14:37:23 +02:00
Anton Hvornum 33458b72f3
Merge pull request #255 from dylanmtaylor/patch-1
WIP: Add documentation for MAC address example
2021-04-21 11:22:47 +00:00
Anton Hvornum 1d1d8ea2e0 Reverting deletion on mac-template example. 2021-04-21 13:20:41 +02:00
SecondThundeR 8d9a542962 Add clarifying log text for generic_select 2021-04-20 17:10:28 +03:00
SecondThundeR 3facc2e58d Fix TabError issue after uncommenting 2021-04-20 15:25:46 +03:00
Anton Hvornum a0552fe8cb
Merge pull request #285 from dylanmtaylor/patch-4
Change from argon2i to argon2id
2021-04-20 12:18:32 +00:00
SecondThundeR 06e846796d Fix infinite loop on incorrect input of gateway IP 2021-04-20 15:07:52 +03:00
SecondThundeR 1d37e5a49e Uncomment new check for gateway IP address 2021-04-20 15:02:11 +03: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
Anton Hvornum ee1464aeaf
Merge pull request #321 from SecondThundeR/patch-1
Fix typo in partition.format()
2021-04-19 10:07:23 +00: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
Владислав 3fba787396
Fix typo in partition.format() 2021-04-17 15:49:58 +03:00
SecondThundeR 9991b19a06 Initial rework of generic_select function
Here are list of changes:
- Removed `sort` parameter, since every function has a sorted list in most cases
- Added two new parameters to disable local output of options items and allow empty input from the user by returning None
- Added a while loop, where it returns each time a RequirementError is raised
- Added log info for each input error to help figure out what the problem is
- Changed the check of the stripped input length to compare with 0, since the length cannot be less than 0
- Changed `isdigit` to `isnumeric`, which returns False if given digit is negative
- Slightly changed a check for an out of range error
- Removed displaying the list of available options when input is incorrect, in order to prevent the screen from overflowing
- Added log info if options list is empty
- Added log info if options are not dictionary or list
- Added dictionary values conversion to accept only list and dictionaries as option
- Added sorting dictionary values by default
2021-04-17 12:54:04 +03:00
Anton Hvornum 7be93adb99
Merge pull request #320 from SecondThundeR/language-select-fix
Fix selecting language layout by name
2021-04-17 08:03:45 +00:00
Владислав 6e5ea3aa65
Fix selecting language layout by name 2021-04-17 10:56:46 +03:00
Anton Hvornum 407290b034
Merge pull request #311 from dylanmtaylor/patch-5
These could affect whether the code builds/runs correctly
2021-04-16 07:54:52 +00:00
Dylan M. Taylor 88071ef9c0
.toml files could also possibly affect behavior. 2021-04-15 18:47:34 -04:00
Dylan M. Taylor 769a5b5f74
These could affect whether the code builds/runs correctly
They should not be ignored.
2021-04-15 18:46:44 -04:00
Anton Hvornum 65c6807cc9
Merge pull request #310 from SecondThundeR/workflow-features
Add ignore rules for iso-build.yaml
2021-04-15 19:07:12 +00:00
Anton Hvornum 3279de08ad
Revert `README` addition, it's catched by **.md 2021-04-15 21:07:06 +02:00
Anton Hvornum 0128ae6647
Added README to ignore 2021-04-15 20:55:36 +02:00
Владислав 6264099428
Add ignore rules for iso-build.yaml
These rules ignore all unrelated files and folders that are not needed to build the ISO.
2021-04-15 21:09:02 +03:00
Anton Hvornum 0f9b7a9c8e
Merge pull request #309 from SecondThundeR/readme-branch
Fix README table of content
2021-04-15 15:32:42 +00:00
SecondThundeR 0fd0fb05ff Fix README table of content
Also commented out the code responsible for centering the logo for future decisions
2021-04-15 18:12:36 +03:00
Anton Hvornum 6eab0290ae
Spelling error 2021-04-15 17:06:43 +02:00
Anton Hvornum c13f294ef5
Merge pull request #307 from dylanmtaylor/patch-5
Bump to 2.1.4
2021-04-15 14:02:36 +00:00
Dylan M. Taylor 1affee7c7b
Bump to 2.1.4 2021-04-15 10:00:57 -04:00
Anton Hvornum c9e1d4a8c3
Merge pull request #304 from advaithm/master
Fixing kbd layout issues and non-logical crashes in guided.py questions
2021-04-14 11:30:24 +00:00