Commit Graph

3083 Commits

Author SHA1 Message Date
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
Anton Hvornum 9f102a66a4
Add some tweaks to make PKGBUILD more manageable (#1695)
* Fixing some values that trigger issues in PKGBUILD

* license dynamic
2023-03-29 14:39:47 +02:00
Anton Hvornum 9fe9fd6e62
Version bump v2.5.4 (#1694) 2023-03-29 13:29:13 +02:00
codefiles 194f132577
Use `pacstrap -K` (#1693) 2023-03-29 12:48:42 +02:00
Daniel Girtler 83f4b4178f
Save encryption configuration (#1672)
* Save encryption configuration

* Fix deserialization problem

* Added .part_uuid to MapperDev

---------

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>
2023-03-29 12:48:11 +02:00
Anton Hvornum b2fc71c9e5
Added .part_uuid to MapperDev (#1691) 2023-03-27 13:47:07 +02:00
Anton Hvornum fdb1b48330
Removed the archlinux-keyring package update
it should no longer be needed as there's a service populating keys. (#1690)
2023-03-26 23:00:52 +02:00
Anton Hvornum ef5011114d
Improved handling of .json() helper handling. By dumping it with the JsonEncoder and loading it back in we ensure that any recursive objects also meers the json friendly dict criterias. (#1689) 2023-03-26 22:05:52 +02:00
Lautron 942112f871
Check if line begins with 'warning' before adding it to package info (#1674)
* Check if line begins with 'warning' before adding it to package info,
fix #1673

* Implement @Torxed suggestion from #1674

* Replaced 4 spaces with 1 tab

---------

Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-03-26 21:47:36 +02:00
Murphy 6fdfd93e69
Partition creation prompt text (#1683)
* new prompt text

* remove quotes
2023-03-26 21:42:24 +02:00
codefiles f6113107d6
Change exit status indications to exit codes (#1685) 2023-03-26 21:40:08 +02:00
codefiles 79eb6bba62
Fix `exit_code` (#1679) 2023-03-14 21:24:15 +01:00
Yunus Emre Aydın f0a6adb96d
Fixed flake8 warnings (#1676) 2023-03-14 11:05:17 +01:00
Steven Deobald 8f6cc07062
The Live ISO image does not have 'python-setuptools' installed (#1533) 2023-03-10 15:08:24 +01:00
chestwood96 6884cd52cb
Initial swapfile prototype (#1558)
* Initial swapfile prototype

* add_swapfile different exception handling

* Added error handling to add_swapfile prototype

---------

Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2023-03-10 15:07:36 +01:00
mrvantage e4f3198505
Error handling cmd history (#1560)
* If we encounter a FileNotFoundError, the cmd_history.txt file or parent directory does not exist. This leads to vague errors upstream of cmd executable file not existing if this is the case. Probably this is a valid situation and we should just pass on the error.
2023-03-10 14:58:41 +01:00
Escape0707 5669f3ba46
Generate -fallback variant of boot entries for systemd-boot (#1583)
* Generate -fallback variant of boot entries for systemd-boot

---------

Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-03-10 11:50:24 +01:00
Murphy 6c87996201
Add sector unit (#1668) 2023-03-10 10:45:48 +01:00
bd-g 114e3626e2
Sway profile - select seat (#1661)
* sway profile choose seat
2023-03-10 10:17:19 +01:00
Chengjun Xie 9b08c244e6
rename `keyboard-language` to `keyboard-layout` (#1670)
`keyboard-language` doesn't work.
2023-03-08 15:30:10 +01:00
Alexmelman88 f9975e22b0
Update ru locale (#1660)
* Update general_conf.py

* Add files via upload
2023-03-01 17:48:50 +01:00
Himadri Bhattacharjee 08769f3107
Fixes mypy errors. (#1658) 2023-02-28 19:49:59 +01:00
Anton Hvornum 70213ee114
Fixed indentation issue after #1657 2023-02-28 15:52:30 +01:00
Himadri Bhattacharjee 2559e0dc10
Uses dict setdefault instead of manually checking if key-value pair exists. (#1657) 2023-02-28 15:46:38 +01:00
Alexander Speshilov b41d701727
fix example in docs/examples/python.rst (#1606) 2023-02-28 14:20:53 +01:00
Campbell Jones 60d76d907a
Revise packages in Budgie profile (#1585)
* Revise packages in Budgie profile

* Use budgie pkg group, remove nm-applet
2023-02-28 06:49:45 +01:00
Roxfr b81ee19dad
French translation update (#1608)
* Add files via upload

* Add files via upload
2023-02-28 06:48:54 +01:00
NorwayFun 870e8fc46e
Add Georgian translation (#1625) 2023-02-28 06:48:25 +01:00