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

yum completion #10

Closed
wants to merge 10 commits into from
Closed

yum completion #10

wants to merge 10 commits into from

Conversation

pseyfert
Copy link
Contributor

adding the following yum commands:

  • update-to (just what update expands)
  • upgrade-to (just what update expands)
  • history (the actual tricky one)
  • help (printing the available commands)
  • load-transaction (_files)
  • load-ts (_files)
  • check (just what the man page suggested)
  • reinstall (just what erase does - suggest installed packages)
  • downgrade (just what erase does - suggest installed packages)
  • repolist (just what the man page suggested)
  • distribution-synchronization (just what erase does - suggest installed packages)
  • distro-sync (just what erase does - suggest installed packages)

history still needs work. For some of the commands one should supply a transaction id (i.e. just a number from 1 to yum history stats | grep Transactions | sed "s/.*: //" or last or all) or a range (e.g. 5..23). At the moment I just have all last as well as transaction IDs 1-3 hard coded for testing.

Also, I didn't implement all history commands - I left out those where I couldn't easily test if I would suggest a valid command, such as in yum history rollback.

@danielshahaf
Copy link
Member

danielshahaf commented Oct 25, 2016 via email

@pseyfert
Copy link
Contributor Author

okay. As a patch file attached to the email?

Looking back at the master I see the formatting is before my patch mixed (spaces vs tabs) already. What's the desired indentation style?

@danielshahaf
Copy link
Member

danielshahaf commented Oct 25, 2016 via email

@pseyfert
Copy link
Contributor Author

closed by 2ba985f

@pseyfert pseyfert closed this Nov 12, 2016
@pseyfert pseyfert deleted the yum-completion branch November 12, 2016 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants