Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the new -l/--list option to simply get the list of pending updates #123

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

Antiz96
Copy link
Owner

@Antiz96 Antiz96 commented Mar 12, 2024

Introduce the new arch-update -l/arch-update --list option that simply displays the list of pending updates (including AUR packages if yay/paru is installed and flatpak packages if flatpak is installed).

This option allow users to get the list of pending updates in a non-interactive way, e.g. to have it scheduled in a cronjob to get the list of pending updates automatically and periodically from a remote machine or a headless server for instance (for those using arch-update cli on servers). It basically acts like checkupdates, except it includes AUR and flatpak packages (if the related dependencies are installed).

Closes #122

@Antiz96 Antiz96 added the feature/request New feature or request label Mar 12, 2024
@Antiz96 Antiz96 added this to the 1.12.2 milestone Mar 12, 2024
@Antiz96 Antiz96 self-assigned this Mar 12, 2024
@Antiz96 Antiz96 marked this pull request as ready for review March 12, 2024 15:49
@Antiz96 Antiz96 marked this pull request as draft March 12, 2024 15:49
@Antiz96 Antiz96 marked this pull request as ready for review March 12, 2024 16:12
Copy link
Owner Author

@Antiz96 Antiz96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Antiz96 Antiz96 merged commit 746268d into main Mar 12, 2024
1 check passed
@Antiz96 Antiz96 deleted the list branch March 12, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New arch-update -l/--list option to simply get the list of pending updates
1 participant