Commit Graph

3110 Commits

Author SHA1 Message Date
Daniel Girtler 06eadb31d4
Move locales and cleanup menu (#1814)
* Cleanup imports and unused code

* Cleanup imports and unused code

* Update build check

* Keep deprecation exception

* Simplify logging

* Move locale into new sub-menu

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-05 10:02:49 +02:00
codefiles 5276d95339
Remove partial upgrade from `build_iso.sh` (#1809) 2023-05-15 15:53:42 +02:00
bd-g 3267ee215a
Improve Save configuration UI - (re)allow for directly specifying custom path (#1728)
* align with newly merged master

* retry save config

* fix mypy error with str type - this menu with allows return a string

* Removed unused import

---------

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-05-15 15:53:06 +02:00
Anton Hvornum b1f26d94e6
Allowing for fg='color' in info, warn, error and debug. (#1818)
* Allowing for fg='color' in info, warn, error and debug.

* Converted to a more static definition, mypy does not like magic.

* Flake8 fixes
2023-05-15 15:50:11 +02:00
Daniel Girtler 8a292a163e
Add custom mirror support (#1816)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-15 09:16:18 +02:00
Pedro Dutra d65359896a
simple fix in README.md (#1813) 2023-05-12 20:32:11 +02:00
codefiles 06f35fd289
Install the package `alsa-firmware` if required (#1812) 2023-05-12 14:01:24 +02:00
codefiles 128db1cdf6
Install the package `sof-firmware` if required (#1811) 2023-05-12 08:24:14 +02:00
Daniel Girtler 89cefb9a1c
Cleanup imports and unused code (#1801)
* Cleanup imports and unused code

* Update build check

* Keep deprecation exception

* Simplify logging

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-11 18:30:09 +02:00
Daemon Coder 6e6b850a8f
Add `set -e` to `build_iso.sh` (#1806) 2023-05-08 16:06:34 +02:00
Daemon Coder 1df53c1406
Remove Flit from `build_iso.sh` added packages (#1804) 2023-05-07 14:02:56 +02:00
Daemon Coder dc19d5f0fa
Refactor `build_iso.sh` archinstall archiso profile package (#1803) 2023-05-07 10:16:52 +02:00
Daemon Coder c10acfa5ae
Refactor `build_iso.sh` zprofile (#1799) 2023-05-07 09:04:44 +02:00
Daemon Coder a968dccbf1
Fix default value idx in `_determine_cursor_pos()` (#1800)
Co-authored-by: Daniel Girtler <blackrabbit256@gmail.com>
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07 08:48:46 +02:00
Daemon Coder 232939e910
Refactor `build_iso.sh` added packages (#1797) 2023-05-07 08:41:50 +02:00
Daniel Girtler c0a7d45a83
Fix 1792 (#1795)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07 08:40:44 +02:00
Daniel Girtler 525c94bf36
Fix 1793 (#1794)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07 08:39:25 +02:00
Daniel Girtler eb23b2d7c9
Update version 2.5.6 (#1791)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07 08:38:29 +02:00
Daniel Girtler 235c1190b0
Fix 1763 (#1790)
* Fix 1763

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-06 08:09:58 +02:00
Daemon Coder f0fc6a77f2
Fix NTP option (#1788) 2023-05-06 08:09:34 +02:00
Daemon Coder 1330c68084
Fix `LsblkInfo` size field (#1787) 2023-05-05 07:47:35 +02:00
xenium 15199081e5
Adding Hyperland wm (#1785) 2023-05-04 17:30:40 +02:00
Daemon Coder f211906a5a
Remove obsolete enabling of NTP in ISO (#1729)
* Remove obsolete enabling of NTP in ISO

* Fixed flake8 linting

* Remove `activate_ntp()`

* Update comment

---------

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-05-04 16:04:35 +02:00
Daemon Coder fd83f073f3
Update `SysCommand()` calls in remaining files (#1707) 2023-05-04 10:42:37 +02:00
Daemon Coder adceed22ad
Fix logic errors in `_fetch_lsblk_info()` (#1754) 2023-05-04 09:45:43 +02:00
Daniel Girtler 9e5d45c5d8
Fix 1780 (#1782)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-04 07:23:43 +02:00
Anton Hvornum 2531a57050
Fixing starting of service via str argument (#1779) 2023-05-03 17:52:51 +02:00
Daniel Girtler 2d06cf592a
Fix 1772 (#1773)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03 16:37:55 +02:00
Daniel Girtler ec4ecbcb7a
Full mypy compliance and small fixes (#1777)
* Fix mypy compliance

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03 16:36:46 +02:00
Daniel Girtler e78ddb03e1
Attempt to fetch partuuid multiple times (#1770)
* Attempt to fetch partuuid multiple times

* Update

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-28 14:18:48 +02:00
Daemon Coder 02af5fb6b2
Fix README.md links (#1768) 2023-04-27 17:16:05 +02:00
Daniel Girtler 32982b880b
Fix import and configuration loading issues (#1764)
* Fix import and configuration loading issues

* Fix mypy

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-22 08:04:36 +02:00
Daniel Girtler 00b0ae7ba4
PyParted and a large rewrite of the underlying partitioning (#1604)
* Invert mypy files

* Add optional pre-commit hooks

* New profile structure

* Serialize profiles

* Use profile instead of classmethod

* Custom profile setup

* Separator between back

* Support profile import via url

* Move profiles module

* Refactor files

* Remove symlink

* Add user to docker group

* Update schema description

* Handle list services

* mypy fixes

* mypy fixes

* Rename profilesv2 to profiles

* flake8

* mypy again

* Support selecting DM

* Fix mypy

* Cleanup

* Update greeter setting

* Update schema

* Revert toml changes

* Poc external dependencies

* Dependency support

* New encryption menu

* flake8

* Mypy and flake8

* Unify lsblk command

* Update bootloader configuration

* Git hooks

* Fix import

* Pyparted

* Remove custom font setting

* flake8

* Remove default preview

* Manual partitioning menu

* Update structure

* Disk configuration

* Update filesystem

* luks2 encryption

* Everything works until installation

* Btrfsutil

* Btrfs handling

* Update btrfs

* Save encryption config

* Fix pipewire issue

* Update mypy version

* Update all pre-commit

* Update package versions

* Revert audio/pipewire

* Merge master PRs

* Add master changes

* Merge master changes

* Small renaming

* Pull master changes

* Reset disk enc after disk config change

* Generate locals

* Update naming

* Fix imports

* Fix broken sync

* Fix pre selection on table menu

* Profile menu

* Update profile

* Fix post_install

* Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc.

* Swaped around some setuptools logic in pyproject

Since we define `package-data` and `packages` there should be no need for:
```
[tool.setuptools.packages.find]
where = ["archinstall", "archinstall.*"]
```

* Removed pyproject collisions. Duplicate definitions.

* Made sure pyproject.toml includes languages

* Add example and update README

* Fix pyproject issues

* Generate locale

* Refactor imports

* Simplify imports

* Add profile description and package examples

* Align code

* Fix mypy

* Simplify imports

* Fix saving config

* Fix wrong luks merge

* Refactor installation

* Fix cdrom device loading

* Fix wrongly merged code

* Fix imports and greeter

* Don't terminate on partprobe error

* Use specific path on partprobe from luks

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update archinstall/lib/disk/device_model.py

Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>

* Update github workflow to test archinstall installation

* Update sway merge

* Generate locales

* Update workflow

---------

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
2023-04-19 12:55:42 +02:00
codefiles 5253e57e9f
Remove superfluous time sync steps (#1752) 2023-04-19 12:52:51 +02:00
Callum Andrew 98f13ece6e
profiles/sway: update packages (#1745) 2023-04-16 09:36:56 +02:00
牧瀬紅莉栖 c241203ded
Add runtime dependency for dmenu (#1514) 2023-04-16 09:36:01 +02:00
codefiles 5689d4f59f
Fix sd-boot code duplication (#1721) 2023-04-04 09:46:49 +02:00
Jefferson Michael e77f90cef0
PT BR translation improvements (#1717) 2023-04-04 09:19:16 +02:00
r0t0r-r0t0r 6e3c6f8863
Fix i3 profile (#1714) 2023-04-02 00:04:53 +02:00
bd-g 7ad00d96e1
Make it easier to save configuration files (#1659)
* updated save menu for configuration files

* add log message to TUI to let user know we may run for a second finding save directories

* remove testing line

* remove unnecessary non-relative import

* fix bug when skipping save location

* make save configuration translatable

* fix linting errors

* handle skip and reset options correctly

* fix flake8 linting error

---------

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-04-01 10:13:18 +02:00
Anton Hvornum dc5291f781
Removing legacy build files setup.py and setup.cfg (#1711)
* Removing legacy build and dist files

* Bumped requirement for setuptools to deal with dynamic license inclusion

* Added dynamic versioning and licensing to pyproject.toml

* Clarified the license according to the LICENSE file, GPL-3.0-only
2023-03-31 18:14:34 +02:00
Anton Hvornum 1c6b0bae73
Replaced double-grep with awk (#1710) 2023-03-31 11:29:07 +02:00
Anton Hvornum 9efbe9e6e8
Improved PKGBUILD and correctly identify __version__ without git (#1709) 2023-03-31 11:13:59 +02:00
Anton Hvornum 315f87ce82
Fixed a indentation in a table of docs (#1708) 2023-03-31 11:05:52 +02:00
laymoth c3e3ac67c6
Update id translation (#1700) 2023-03-30 12:55:14 +02:00
laymoth 60cdb81c78
Update locale files (#1699) 2023-03-30 10:55:28 +02:00
Bao a822735dfe
Guard against null in config processor (#1705)
Fixes #1704
2023-03-30 10:08:08 +02:00
codefiles c5348564c9
Update `SysCommand()` calls in `installer.py` (#1703) 2023-03-30 09:35:01 +02:00
Anton Hvornum 4f539a1931
Added missing pkgver definition (#1697) 2023-03-29 15:41:55 +02:00
Anton Hvornum 4429b3897c
Updated PKGBUILD with a pkgver, depends and hashsums (#1696)
* Fixing some values that trigger issues in PKGBUILD

* license dynamic

* Updated PKGBUILD to contain a pkgver() as well as update hashsums and added systemd as depends
2023-03-29 15:30:11 +02:00