Skip to content

More AUR helpers

Compare
Choose a tag to compare
@excalibur1234 excalibur1234 released this 19 Jan 21:20
· 346 commits to master since this release

This release contains many new features. Here is a short overview:

  • The UI has been simplified by changing the following options:

    • 'force update system' has been removed from the UI and integrated in the 'update system' option. Whenever an update fails, you are now offered to forcefully install all updates anyway (on your own risk).
    • 'empty package cache' has been completely removed. Internally, it used 'sudo pacman -Scc', which is discouraged by pacman developers. 'fix pacman errors' contains 'sudo pacman -Sc'. If you want to (almost) empty your package cache, use it instead.
    • 'force install packages' has been completely removed. It simply added a ' --force' flag to pacman's installation command. I have added it to 'install packages' when the package installation failed, but i got tired of an extra question every time i cancel a package installation with CTRL+C. If you really miss this feature (or want the same functionality in 'install packages' as in 'remove packages'), please contact me.
    • 'force remove packages' has been removed from the UI and integrated into 'remove packages' whenever package removal fails.
    • The 'list package by size' option has been added to the UI. It has also gained an info preview.
  • PacUI supports now these AUR helpers in the following order of priority. Additional AUR helpers should be rather easy to implement, because the code is now modular.

  • Additionally, PacUI can now be used much more easily without any optional dependencies. AUR helpers and 'downgrade' are optional dependencies of PacUI.
    The UI and help pages adapt to these cases and only show available options. Options (such as 'install packages') should adapt accordingly and only display warnings when absolutely necessary.

  • 'remove packages' now gives you the following choice whenever package removal fails:

    • Remove all packages without checking their dependencies. This is equivalent to the former 'force remove packages'.
    • Retry again. This is useful when you have selected a couple of dependencies. Now, you can simply reselect all packages (press and hold your TAB key), except for the dependencies. This option is much safer!
    • As most options, you can quit them with ESC anytime you want.
  • The tty has received a great amount of attention. It should now be possible to use PacUI in tty (almost) without noticing any drawbacks compared to terminal use. This has been challenging in the past due to a bug in fzf.

  • Info preview windows have been added to the 'dependency tree' and 'reverse dependency tree' options.

  • All critical parts of PacUI now use either variables or temporary files in a secure way.
    All but one 'rm' command have been removed from PacUI. This is general good coding practice.
    All useful tips by shellcheck have been implemented.
    In critical parts of PacUI (e.g. when lowering pacman securities in 'fix pacman errors'), it is now made sure that - even in case PacUI crashes - no important settings are left in a changed state.

  • A lot of bugfixes, minor code changes, more code comments, new configuration files in 'edit config files', speed and general improvements.