Commit Graph

3097 Commits

Author SHA1 Message Date
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
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