Releases: grahfmusic/pacjunkie
Releases · grahfmusic/pacjunkie
Pre-Release (v0.5)
PacJunkie Version 0.5 Release Notes
Overview
PacJunkie is a console application designed to check for new Arch Linux package updates, AUR packages, and optionally check and install development AUR packages. This release includes enhancements for better handling of upgrades, improved UI/UX, and additional functionalities to ensure smooth operations.
Key Features
- Title Screen: Added a visually appealing title screen using
toilet
for text art. - Dynamic Menu: A dynamic menu is now available, allowing users to choose different upgrade options with ease.
- Real-time Output Display: Commands display real-time output using
dialog --programbox
. - Progress Bar: Progress bars for various upgrade steps provide a clear indication of the process.
- Formatted Upgrade Listing: Displays a formatted list of available upgrades with package name, current version, and upgradable version.
- Abort Handling: Added signal handling for SIGINT, SIGTERM, and custom signals to gracefully abort upgrades.
Functions and Scripts
Main Functions
strip_ansi()
: Strips ANSI escape sequences from text.cleanup()
: Cleans up temporary files.abort_upgrade()
: Handles abort signals and performs cleanup.get_dialog_size()
: Calculates dialog size based on terminal dimensions.display_title()
: Displays a title screen.display_menu()
: Displays a dynamic menu usingdialog
.center_text()
: Centers text within the terminal.display_realtime_output()
: Displays real-time command output in a dialog box.center_block()
: Centers a block of text within a given width.calculate_max_lengths()
: Calculates the maximum lengths of package names and versions for formatting.display_progress_bar()
: Displays a progress bar for commands.list_upgrades()
: Lists available upgrades and displays them in a formatted manner.upgrade_core()
: Upgrades core system packages.upgrade_aur()
: Upgrades AUR packages.upgrade_devel()
: Upgrades development packages.update_all()
: Upgrades all packages.format_upgrade_log()
: Parses and formats upgrade logs.calculate_menu_height()
: Calculates dynamic menu height.
Usage
Run the script and follow the on-screen instructions to list and upgrade packages. The script handles core system upgrades, AUR package upgrades, and development package upgrades separately or all at once based on user selection.
Cleanup
Temporary files and leftover processes are cleaned up automatically after the script execution.
Known Issues
- None reported at this time.
Future Enhancements
- Additional customization options for users.
- More robust error handling and logging.
- Integration with other package managers for cross-platform support.
For more details and the latest updates, visit the GitHub repository.
Thank you for using PacJunkie!