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

Fixes #30649 - self-update for list-versions #387

Merged

Conversation

jameerpathan111
Copy link
Contributor

Fixes #30649

Description:
This PR adds support for foreman-maintain upgrade list-versions to check if update for foreman-maintain package is available.

[root@dell-per620-2 foreman_maintain]# ./bin/foreman-maintain upgrade list-versions --help
Usage:
    foreman-maintain upgrade list-versions [OPTIONS]

Options:
    --disable-self-upgrade        Disable automatic self upgrade (default: false)
    -h, --help                    print help

[root@dell-per620-2 foreman_maintain]# ./bin/foreman-maintain upgrade list-versions
Checking for new version of satellite-maintain...

rubygem-foreman_maintain.noarch                                               1:0.6.8-1.el7sat                                                foreman-maintain
Security: kernel-3.10.0-1127.18.2.el7.x86_64 is an installed security update
Security: kernel-3.10.0-1127.el7.x86_64 is the currently running version

Updating satellite-maintain package.

The satellite-maintain package successfully updated.
Re-run satellite-maintain with required options!

[root@dell-per620-2 foreman_maintain]# ./bin/foreman-maintain upgrade list-versions --disable-self-upgrade
6.6.z
6.7


@theforeman-bot
Copy link
Member

Issues: #30649

@jameerpathan111
Copy link
Contributor Author

Ref: PR #305

@jameerpathan111
Copy link
Contributor Author

@kgaikwad @patilsuraj767 @upadhyeammit need your review.

@patilsuraj767
Copy link
Contributor

LGTM 👍

@kgaikwad kgaikwad added the 0.6.x changes targeted for 6.8 label Aug 24, 2020
@kgaikwad kgaikwad merged commit acab9b4 into theforeman:master Aug 28, 2020
@kgaikwad
Copy link
Member

Thank you @jameerpathan111 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants