Commit Graph

2788 Commits

Author SHA1 Message Date
Anton Hvornum 3e2c816b51
Made sure SysCommandWorker() exits after os.execve() is done, that way we'll never continue on split code paths by mistake 2022-02-12 14:36:22 +01:00
Anton Hvornum 2ca86281ac
Merged latest changes from master 2022-02-12 11:52:10 +01:00
Daniel 003a35be3d
Fix errors on selection of additional packages (#959)
* Fix errors on selection of additional packages

* Fix flake8

* Added the new /groups/search/json/?name=x endpoint merged today

* Fixed flake8 complaint

* Forgot to do json.loads() on the HTTP request result

* Update package selection

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-12 11:47:51 +01:00
Anton Hvornum 16716d94eb
Added swedish locale (#965)
* Added swedish locale

* Fixed swedish locale
2022-02-12 11:28:18 +01:00
Daniel ca0cdf6b08
Fix dutch translation files (#964)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-02-12 00:21:06 +01:00
Anton Hvornum 49a93480a8
Added better error output (based on #963) 2022-02-11 20:26:33 +01:00
Werner Llácer 5990491292
Some refinements to the Menu infraestructure (#962)
* Correct definition of btrfs standard layout

* Solve issue #936

* make ask_for_a_timezone as synonym to ask_timezone

* Some refining in GeneralMenu
secret is now a general function

* Revert "Some refining in GeneralMenu"

This reverts commit e6e131cb19.

* New version of the FlexibleMenu
* Added new functionality to Selector
* Created a GeneralMenu class
* GlobalMenu is made a child of GeneralMenu

* Some refining in GeneralMenu
secret is now a general function

* log is invoked in GeneralMenu directly

* Materialize again _setup_selection_menu_options. Gives more room to play

* Callbacks converted as methods
Synch() (data area and menu) decoupled from enable()
and made general before any run

* Only_hd gets a new implementation of the menu
flake8 corrections

* New version of the FlexibleMenu
* Added new functionality to Selector
* Created a GeneralMenu class
* GlobalMenu is made a child of GeneralMenu

* changes from the rebase left dangling

* Adapt to PR #874

* Adapted to nationalization framework (PR 893).
String still NOT adapted

* flake8 complains

* Use of archinstall.output_config instead of local copy at swiss.py

* Problems with the last merge

* git complains

* Menu admits now preset values and cursor positioning

* Now GeneralMenu moves to the next entry after each selection

* flake8 complains

* Control of limits for cursor position at GeneralMenu

* Make auto cursor positioning optional at GeneralMenu.
True for GlobalMenu

* Code cleanup after rebase, and flake8 complains
2022-02-11 13:22:35 +01:00
Anton Hvornum 907430b1ac Fixing SysCommandWorker() 2022-02-10 18:48:26 +01:00
Heimen Stoffels 18e033d2f0
Added Dutch translation (#960) 2022-02-10 13:48:01 +01:00
Roxfr 65ccd3df75
Add files via upload (#955)
Hello,
Here is the French translation.
Regards,
Roxfr
2022-02-09 23:40:15 +01:00
Anton Hvornum 4818fd9da7
Changing debug information 2022-02-09 17:54:17 +01:00
Anton Hvornum e9bb19df9d
Changing debug information 2022-02-09 17:51:34 +01:00
Anton Hvornum 87b9e798b3
Changing debug information 2022-02-09 17:44:00 +01:00
Anton Hvornum 3d8cf92fd0
Changing debug information 2022-02-09 17:40:19 +01:00
Anton Hvornum bbbdc81a32
Changing debug information 2022-02-09 17:34:56 +01:00
Anton Hvornum 4b7ea2aaa9
Changing debug information 2022-02-09 17:20:08 +01:00
Anton Hvornum c2ddf726ef
Changing debug information 2022-02-09 17:17:54 +01:00
Anton Hvornum f2d867b0a7
Changing debug information 2022-02-09 17:15:59 +01:00
Anton Hvornum dce83ebe89
Reverted some changes to SysCommandWorker() 2022-02-09 17:11:33 +01:00
Anton Hvornum b12346ac89
Changing debug information 2022-02-09 16:53:07 +01:00
Anton Hvornum a817a6ce9e
Removed debug information 2022-02-09 16:49:08 +01:00
Anton Hvornum 1cf5c64fdc
Removed debug information 2022-02-09 16:46:50 +01:00
Anton Hvornum 8239c96278
Removed debug information 2022-02-09 16:46:22 +01:00
Anton Hvornum af1e240611
Changing debug information 2022-02-09 15:44:09 +01:00
Anton Hvornum 218f54123e
Changed flush() method to child fd 2022-02-09 15:42:34 +01:00
Anton Hvornum 1319801564
Changed flush() method to child fd 2022-02-09 15:40:58 +01:00
Anton Hvornum 5777ff9061
Changed flush() method to child fd 2022-02-09 15:39:58 +01:00
Anton Hvornum e2f42065d7
Changed flush() method to child fd 2022-02-09 15:33:09 +01:00
Anton Hvornum c3caea51cc
Bug with formatting of string 2022-02-09 15:28:58 +01:00
Anton Hvornum 83c663fcb2
Bug with formatting of string 2022-02-09 15:26:26 +01:00
Anton Hvornum ae7e791f40
Bug with formatting of string 2022-02-09 15:25:42 +01:00
Anton Hvornum 1a82934a3c
Improving SysCommandWorker() to handle buffered output. 2022-02-09 15:25:03 +01:00
Anton Hvornum 563f15db4d
Adding debug 2022-02-09 15:02:22 +01:00
Anton Hvornum 50cc9f2dfe
Adding debug 2022-02-09 14:56:55 +01:00
Anton Hvornum e4d991b860
Adding debug 2022-02-09 14:55:56 +01:00
Anton Hvornum f18a88927b
using debug 2022-02-09 14:53:08 +01:00
Anton Hvornum 2992849de8
Adding debug 2022-02-09 14:50:32 +01:00
Anton Hvornum 1fdb64858c
Wrong variable name in usage 2022-02-09 14:45:08 +01:00
Anton Hvornum e30290aee0
Added debug information 2022-02-09 14:41:41 +01:00
Anton Hvornum 205d217a44
Added --crypt-x options as parameters, that passes in the values to the .encrypt() function to set iter-time, key-size and hash-type. 2022-02-09 14:39:10 +01:00
Anton Hvornum f1333eb77c
Removed subvolume logic from MapperDev().mount() as a mapperdev isn't a BtrfsSubvolume(), instead we need to create a BtrfsSubvolume().mount() that handles this. 2022-02-09 12:54:34 +01:00
Anton Hvornum 2319267a46
Removed some debugging 2022-02-09 11:59:44 +01:00
Anton Hvornum 216ca90b29
Improved error handling in luks2().close() 2022-02-09 11:58:18 +01:00
Anton Hvornum 3129cf79f4
Wrong variable name in luks2().close() 2022-02-09 11:56:13 +01:00
Anton Hvornum c12fbc900a
Forgot =True to parameter 2022-02-09 11:53:19 +01:00
Anton Hvornum 15b1fb26ce
Added more debugging 2022-02-09 11:51:19 +01:00
Anton Hvornum 45d37ad58d
Made MapperDev() more representable 2022-02-09 11:48:13 +01:00
Anton Hvornum f2750c8d21
Improved logging, and made MapperDev() representable 2022-02-09 11:47:46 +01:00
Anton Hvornum c2d765ff6d
Fixed flake8 complaint 2022-02-09 11:44:03 +01:00
Anton Hvornum 1cdd4313ae
Added some debugging 2022-02-09 11:43:18 +01:00