Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__main__.py
AgeCommit message (Collapse)Author
2023-04-19PyParted and a large rewrite of the underlying partitioning (#1604)Daniel Girtler
* 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>
2022-02-02Added a by-path import to support git clone - import of the library (#931)Anton Hvornum
2021-05-15Some additional formattingDylan Taylor
2021-04-05Add console_scripts archinstall entry pointPyfisch
archinstall should be callable from the command-line. Previously this was achieved with a shell script, however Python packages contain a built in way to to this via the entry points mechanism.
2020-12-06Making list_examples() results cachedAnton Hvornum
This to lock in found modules, in case paths dissapear during runtime.
2020-12-06More debuggingAnton Hvornum
2020-12-06Debug for testingAnton Hvornum
2020-12-06PATH correction for /examples/Anton Hvornum
2020-12-06Removed /examples/ from list_profiles() by defaultAnton Hvornum
Adding it back in in "module mode" so that it can find guided.py correctly. This voids showing it in the user-question section.
2020-11-29Merging in find_installation_script() into Script() for a more unified ↵Anton Hvornum
handler of any given script type or location. Which should correct #62.
2020-11-08Tweaked #58 slightly. Execution is done with an attempt to retain file line ↵Anton Hvornum
numbers when executing. It also consolidates behavior of files and remote documents in a 'similar' manner.
2020-11-08Added additional debug on error in selected profilesLord Anton Hvornum
2020-11-08Variable type-o issue.Anton Hvornum
2020-11-02Merge branch 'master' into masterAnton Hvornum
2020-11-02Replaced spaces with tabsdemostanis
2020-11-01Fix for issue #59Anton Hvornum
Relative paths work great for running as a script. But break when running as a module since there is no `src/` folder to mention. This should clear that up as the `src/` now lives under wherever the python package was installed.
2020-10-23Ran autopep8demostanis
2020-10-23Remove useless logdemostanis
2020-10-23Add support for remote profilesdemostanis
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-19Fix typos.Varun Madiath
2020-07-21Added some more documentation. Also added a __init__.py in the git repo so ↵Anton Hvornum
that cloning enables importing as well. This should enable both git clone to work as well as pypi.
2020-07-10Spelling errorAnton Hvornum
2020-07-08Added symlinks instead of copying when building. Also mofied the __file__ ↵Anton Hvornum
path in __main__.py as it was pointing a bit off for some reason
2020-07-08Added support for .py profiles. Added a simple 'desktop.py' for now that is ↵Anton Hvornum
just a mock to make sure it's working.
2020-07-07Added pythons -m module support. __main__.py is the main module entry path, ↵Anton Hvornum
and setup.py now includes the examples (which as been renamed for more convenient module importing) which - enables __main__.py to locate the examples and import them via importlib and execute them.