Logo
Explore Help
Sign In
kevinveenbirkenbach/linux-image-manager
1
0
Fork 0
You've already forked linux-image-manager
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
853a503a3fe5c23cc3755e2b0138afeba115d0ba
linux-image-manager/lim/__init__.py

4 lines
113 B
Python
Raw Normal View History

refactor!: port shell scripts to Python package Bash scripts were untestable and duplicated device/LUKS/mount logic; the lim/ package centralizes it behind one subprocess wrapper and a YAML image catalog (single point of truth). BREAKING CHANGE: scripts/*.sh removed. Use `lim --type <cmd>`; new types mount/umount/single-boot/raid1-boot/lock/unlock/import/export replace direct script calls. --extra is deprecated and ignored. - distributions.yml + lim/catalog.py hold the image catalog (PyYAML) - pytest suite: 102 tests with mocked subprocess (tests/unit) and a 250-line max file-length guard (tests/lint) - ruff strict (select ALL), GitHub Actions CI, Dependabot; Travis gone - Makefile: install (symlink ~/.local/bin/lim) and test targets - fixes over bash: SUDO_USER-aware chown, mmcblk/nvme partition paths, sha512 checksum support, whole-pipeline failure detection, blkid UUID fallback for pre-mounted images, conditional fstab seeding for PARTUUID/LABEL images, clean errors for missing binaries
2026-07-14 11:27:49 +02:00
"""Linux Image Manager — administration tool for Linux images and encrypted storage."""
__version__ = "1.0.0"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 26ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API