feat: release v2.0.0 with tab completion, package filtering, db health checks, flatpak and logrotate
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
This commit is contained in:
1 parent
8d4157b42d
commit
8bec4ed932
27 files changed
+1053
-69
No files matched your search
+39
-2
@@ -27,7 +27,7 @@ linux-updater health
|
||||
|
||||
**Example Output:**
|
||||
```text
|
||||
Linux System Updater v1.3.0
|
||||
Linux System Updater v2.0.0
|
||||
Detected System: Ubuntu 24.04.1 LTS (Family: debian)
|
||||
|
||||
Pre-flight Health Diagnostics:
|
||||
@@ -40,6 +40,7 @@ Pre-flight Health Diagnostics:
|
||||
[ PASS ] lock_lock No lock active at /var/lib/apt/lists/lock
|
||||
[ PASS ] memory_available Available RAM is sufficient: 7850MB
|
||||
[ PASS ] pending_reboot No pending system reboot detected.
|
||||
[ PASS ] package_db Package database is consistent.
|
||||
-----------------------------------------------------------------
|
||||
Overall Pre-flight Status: PASSED
|
||||
```
|
||||
@@ -53,7 +54,7 @@ linux-updater check
|
||||
|
||||
**Example Output:**
|
||||
```text
|
||||
Linux System Updater v1.3.0
|
||||
Linux System Updater v2.0.0
|
||||
Detected System: Fedora Linux 40 (Family: rhel)
|
||||
Checking available updates...
|
||||
|
||||
@@ -91,6 +92,42 @@ If you only want to upgrade specific software (e.g. security patches for OpenSSL
|
||||
sudo linux-updater update --packages openssl nginx
|
||||
```
|
||||
|
||||
### Security-Only Updates (`--security`)
|
||||
To restrict updates solely to security patches and CVE advisories (supported on RHEL, Fedora, CentOS, Rocky, AlmaLinux, Debian, and Ubuntu):
|
||||
|
||||
```bash
|
||||
sudo linux-updater update --security
|
||||
```
|
||||
|
||||
### Excluding Packages (`--exclude`)
|
||||
To exclude specific packages or glob patterns from being upgraded (e.g., pinning kernels, proprietary drivers, or database servers):
|
||||
|
||||
```bash
|
||||
sudo linux-updater update --exclude "kernel*" "nvidia*"
|
||||
```
|
||||
|
||||
### Flatpak Application Updates (`--flatpak`)
|
||||
If you use Flatpak for desktop applications or isolated utilities, pass `--flatpak` to automatically update all Flatpaks after operating system packages have updated:
|
||||
|
||||
```bash
|
||||
sudo linux-updater update --flatpak
|
||||
```
|
||||
|
||||
### Shell Tab Autocompletion (`completion`)
|
||||
`linux-updater` provides zero-latency static tab completion for both Bash and Zsh. Subcommands, flags, and JSON configuration files auto-complete upon pressing `<Tab>`:
|
||||
|
||||
```bash
|
||||
# Enable completion in current Bash shell:
|
||||
eval "$(linux-updater completion bash)"
|
||||
|
||||
# Enable completion in current Zsh shell:
|
||||
eval "$(linux-updater completion zsh)"
|
||||
|
||||
# Permanently install into user profile:
|
||||
linux-updater completion bash >> ~/.bashrc
|
||||
linux-updater completion zsh >> ~/.zshrc
|
||||
```
|
||||
|
||||
### Simulation / Dry Run (`--dry-run`)
|
||||
To simulate the complete update transaction without changing package states:
|
||||
|
||||
|
||||
Reference in new issue
Block a user