Dylan M. Taylor
6c6c8d8000
Stop installing xorg packages for Wayland profiles ( #4348 )
...
* Add WaylandProfile to avoid installing xorg packages for Wayland compositors
* Refactor: use composition (is_wayland) instead of WaylandProfile inheritance
* Fix X11 profiles to inherit xorg packages from XorgProfile
* Style: use consistent multi-line super().__init__ for Wayland profiles
* Refactor: replace is_wayland with DisplayServerType enum
Add DisplayServerType enum (Xorg/Wayland) to Profile. All profiles
now inherit Profile directly with an explicit display_server param.
desktop.py installs xorg-server and xorg-xinit for Xorg profiles.
XorgProfile remains for standalone Xorg selection.
* Remove unnecessary super().packages from desktop profiles
2026-04-03 09:38:02 +11:00
Daniel Girtler
d3f32f308c
Update ruff formatter ( #3496 )
...
* Update ruff formatter
* Update
2025-05-24 07:58:42 +00:00
Daniel Girtler
c67ac97f18
Ruff formatting ( #3459 )
...
* Update
* Update
2025-05-15 14:26:41 +02:00
correctmost
a9fd14fee1
Remove some unnecessary type unions ( #3378 )
2025-04-09 14:16:23 +02:00
correctmost
873e7b2c64
Remove unused description fields from profiles ( #3357 )
2025-04-07 14:26:17 +10:00
correctmost
2825818af6
Enable useless-parent-delegation pylint rule and fix warnings ( #2962 )
2024-11-30 19:59:28 +11:00
correctmost
ee2ed3fe54
Start using typing.override to annotate overridden methods and properties ( #2934 )
2024-11-25 19:51:16 +11:00
correctmost
f3f7700945
Remove unused Any instances from TYPE_CHECKING blocks ( #2878 )
...
This will make it easier to start removing more Any instances from
the codebase.
2024-11-19 18:30:41 +11:00
correctmost
0aa6dcc78e
Sort and format imports in examples/ and default_profiles/ ( #2873 )
2024-11-19 07:54:17 +11:00
correctmost
8cda091e6d
Start replacing Optional with union syntax (UP007 rule in Ruff) ( #2836 )
2024-11-17 09:02:08 +11:00
correctmost
7235e21c3a
Remove some deprecated typing.Dict and typing.List usage ( #2673 )
2024-09-08 08:10:38 +10:00
correctmost
7835784be5
Fix most of the mypy errors in archinstall/default_profiles/ ( #2636 )
2024-08-27 15:07:49 +10:00
Himadri Bhattacharjee
f8d2690920
move preview text method for profiles into xorg superclass, override when needed ( #1918 )
...
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-07-31 09:40:45 +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