Commit Graph

2979 Commits

Author SHA1 Message Date
Oskar bc97bbabb7
Update polish locale (#1385) 2022-09-02 12:31:34 +02:00
Sven Serlier 01d44c5a3a
Update actions (#1362)
* Update actions/checkout to v3

* Update actions/checkout to v3

* Update actions

* Update actions/checkout to v3

* Update actions/checkout to v3

* Update actions

* Update actions
2022-09-02 12:30:47 +02:00
Anton Hvornum a335f100fc
Version bump to v2.5.1rc1 in prep for release 2022-08-30 23:58:00 +02:00
Anton Hvornum ea407f5c9d
Version bump to v2.5.1rc1 in prep for release 2022-08-30 23:57:44 +02:00
Anton Hvornum 0f5b91c7d7
Fixing issue where blkid causes SysCallException (#1445)
* Moving a partprobe() call to better allow for cache updates

* Trying to improve Partition()._fetch_information()

* Removed a sleep() for debugging purposes

* Tweaked a sleep
2022-08-30 22:59:23 +02:00
Anton Hvornum f6e695871c
Homogenize language option during handling (#1446)
* Adding a more elaborate fix

* Added recovery function to selecting language too

* Tweaked return value of display_language() to return the Language() object.
2022-08-30 19:34:25 +02:00
Anton Hvornum ee64276f0e
Value comparison error for dropping into shell (#1441)
* Changed choice to choice.value.
2022-08-29 00:19:20 +02:00
Anton Hvornum 6f41262229
Removed debugging 2022-08-28 22:30:19 +02:00
Anton Hvornum 13703fbb04
Fix permission flags on all the log files created (#1440)
* Changed permissions on the logs stored in /var/log/archinstall. Also cleaned up one of the saves to have the same syntax as the others

* Tweaked secondary encryption password detection logic, as it wouldn't take it from the main arguments[] otherwise.

* Changed permission on cmd_output.txt

* Changed permission on cmd_history.txt
2022-08-28 22:04:25 +02:00
Anton Hvornum 65212a46aa
Fix boot entry containing subvolume definition when no subvolumes were selected (#1424)
* Attempting fix by looking at the subvolume 'name', <FS_TREE> should indicate it's a root block and not a root subvolume
2022-08-14 11:56:24 +02:00
Anton Hvornum b1ab5ba372
Fixing double insertion of encoding in locale.gen/locale.conf (#1421)
* A temporary fix for #1200, in the long run we need something like what was mentioned in the issue comments: https://github.com/archlinux/archinstall/issues/1200#issuecomment-1212754806

* Enabled the use of modifier detection and getting it in right

* Mistaken a split

* Adding less strict decoding of output log, this in order to handle the more correct locale generation introduced in this PR.
2022-08-12 22:36:06 +02:00
Anton Hvornum 7b4940ef6d
Spelling error on .replace() 2022-08-12 19:32:42 +02:00
Anton Hvornum 7b06da280d
Fix flake8 issue that slinked in. 2022-08-12 18:11:27 +02:00
Anton Hvornum a78f7d193b
Fixed small issues with how Installation.chown() was called. 2022-08-12 16:58:41 +02:00
Anton Hvornum f0111c179e
Github doesn't seam to trigger on "fixes" but "fix" 2022-08-12 15:04:16 +02:00
Anton Hvornum 1086fd686d
Cleaned up argument loading slighly. (#1419)
* Cleaned up argument loading slighly. Also flipped some --silent logic to avoid double negatives. --plugin and --conf {'plugin': ...} should now both work.

* Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string.

* Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string.
2022-08-11 18:06:02 +02:00
codefiles 397cceca90
Fix check for additional repositories (#1391)
* Fix typos

* Fix check for additional repositories
2022-08-11 11:32:33 +02:00
Anton Hvornum 259aaa4884
Fixing a list access issue (#1416) 2022-08-10 12:57:32 +02:00
Anton Hvornum 242f8076bb
Adding better error output for when loading remote configurations goes wrong. (#1415) 2022-08-10 11:02:24 +02:00
Abhay Mohandas 6213560a05
Fixes for known issues in the Parallel Download option (#1403)
* Adding menu

* Working on parallel downloads

* error updates

* updates

* update

* Few more updates

* bug fixes

* More bug fixes

* Minor bug fixes

* Few changes

* Minor changes

* Cleaned up add_number_of_parrallel_downloads() and hid it behind --advanced

* Forgot one import

* Fixed flake8

* Bug fixes

* I'm trying...

* trying again

* trying even more

* Bug fixes

* Fixed known issues

* Code improvements

* Few fixes

* Minor changes

* Minor changes

* Trying to fix flake8

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-09 20:15:49 +02:00
Metin Yazici 3e10fc106b
Add command line option to get the program version (#1406) 2022-08-09 20:14:28 +02:00
Anton Hvornum 437ac124c6
Converted paths to pathlib.Path and mount points to detect properly (#1412)
* Converted a path to pathlib.Path

* Using Partition.mountpoints instead of Partition.mountpoint

* Update mapperdev.py

* Added .mountpoints to MapperDev

* Spelling error
2022-08-09 20:05:05 +02:00
Anton Hvornum a31bf94fa3
Adding a .json() call for our JSON serializer for the Language class (#1410)
* Adding a .json() call for our JSON serializer

* Update translationhandler.py
2022-08-09 14:58:09 +02:00
Anton Hvornum 4ab250d427
Update the PR template
Since most of the guidelines are in the contribution guidelines anyway, we'll keep the PR template to a minimum.
2022-08-01 16:24:02 +02:00
长柳 32f268377c
Update pull_request_template.md:11 ~20 -> twenty (#1398)
I don't think this is a good way of writting like 'If the PR is larger than ~20 lines', it looks weird
2022-08-01 15:40:26 +02:00
Abhay Mohandas 463114356c
Option for Parallel Downloads (#1397)
* Adding menu

* Working on parallel downloads

* error updates

* updates

* update

* Few more updates

* bug fixes

* More bug fixes

* Minor bug fixes

* Few changes

* Minor changes

* Cleaned up add_number_of_parrallel_downloads() and hid it behind --advanced

* Forgot one import

* Fixed flake8

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-01 15:39:39 +02:00
Samaoo 5626c10927
fix `valid_parted_position()` (#1382)
* fix `valid_parted_position()`

* make lines shorter

* change `pos` to `pos.lower()`

* revert changing `if not len(pos):` to `if not pos:`

* `b` can not have decimal places

* add `.lower()`
2022-08-01 14:07:04 +02:00
Werner Llácer 68d89a07df
enhacements to FormattedOutput (#1376)
* enhacements to FormattedOutput

* flake8 complain
2022-08-01 10:41:44 +02:00
Werner Llácer 7bf0fe3c56
restoring ability to use a predefined installation directory (#1373) 2022-08-01 10:38:22 +02:00
0xShree 94d611d22f
Change regex expression only to match #[multilib] string (#1364)
* Changed regex expression only to match [multilib] string

* Update multilib regex expression

* Update regex expression

Add raw string format
2022-08-01 10:33:38 +02:00
Daniel Girtler 31e6eca3af
Handle no internet connection gracefully (#1361)
* Handle no internet connection gracefully

* Update

* flake8

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 10:29:58 +02:00
Daniel Girtler 1bd2210e5f
Downstream merged simple menu changes (#1356)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 10:28:41 +02:00
Werner Llácer 3da03a192e
Solves issue 1343. Could not locate partition after creation (#1355)
* Solves issue 1343. Could not locate partition after creation

* Added some flake fixes.

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-01 10:26:51 +02:00
virtual-meme-machine 956b34905b
- Fix KeyError exceptions (#1354) 2022-08-01 09:56:08 +02:00
Daniel Girtler cfea0d6d1a
Update translations (#1348)
* Show translations in own tongue

* Fix flake8

* Update

* Update

* Update

* Update

* fix mypy

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01 09:44:57 +02:00
Werner Llácer 3bc3922545
Enhacements to list_manager: (#1346)
* Enhacements to list_manager:
method filter_option. To filter options based on selected entry
attrib. last_choice. Which is the last action executed before exiting the loop

* last_choice is now a calculated attribute, therefore readonly

* Added last_choice to selection_menu

* bug at selection_menu handling. Translations can be a problem
2022-08-01 09:44:26 +02:00
Fabian Bornschein d2f58362c9
Remove the hash/number sign at the line-start (#1345)
Currently the helper remove the first character of each line, this can
lead to cases, where important characters are removed. For example if
the locale is already set up. (hash is already removed) in that case the
helper would remove the first character of the locale and lead to a
broken attempt to set the locale later on. This change should avoid that
and only remove the hash.

Co-authored-by: Fabian Bornschein <2440175-fabiscafe@users.noreply.gitlab.com>
2022-08-01 09:42:58 +02:00
Daniel Girtler 9194f6d859
Cleanup partition (#1333)
* Cleanup partition

* Update

* Remove unused method

* Update partitioning

* Update

* Update

* Fix mypy

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-07-26 10:46:50 +02:00
Daniel Girtler 5c3c1312a4
Update list manager (#1331)
* Rework partition management

* Update

* Update list manager

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-14 14:38:39 +02:00
Dylan M. Taylor 86531ef62f
Remove packagekit (#1322)
* Remove packagekit

* Update kde.py
2022-06-09 18:32:01 +02:00
Daniel Girtler 0bdb46f308
Fancy user interface (#1320)
* Display submenus as tables

* Update

* Update

* Update

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-09 14:54:12 +02:00
Daniel Girtler aec86eb04e
Fix disk layout display (#1314)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 12:15:39 +02:00
Franco Castillo c26200d5f1
Update Spanish translation (#1293)
* Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>

* Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2022-06-07 11:01:57 +02:00
Alexmelman88 99a9d3ff37
Updated base.pot, languages.json, global_menu.py, ru locale (#1292)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2022-06-07 11:01:42 +02:00
Daniel Girtler fd131c8fe9
Update blockdevice (#1289)
* Update blockdevice class

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 11:00:48 +02:00
Daniel Girtler 644b80d0bd
Don't generate any backup locales files (#1313)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07 10:56:15 +02:00
LittleboyHarry 766176cfe2
Update swiss.py (#1295)
fix bug
2022-06-06 20:07:18 +02:00
Daniel Girtler a7ca037a26
Update the subvolume menu - fix for #1278 (#1297)
* Update subvolume

* Add mypy compliance

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-06-06 17:28:46 +02:00
Daniel Girtler 2d4b262046
Handle cyrillic characters (#1309)
* Handle cyrillic characters

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06 17:26:27 +02:00
Daniel Girtler f2492ca574
Fix #1304 - Make password validation less intrusive (#1308)
* Make password validation less intrusive

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06 13:04:50 +02:00