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 experimental vote util to yay #1765

Merged
merged 9 commits into from
Jun 17, 2022
Merged

Add experimental vote util to yay #1765

merged 9 commits into from
Jun 17, 2022

Conversation

Jguer
Copy link
Owner

@Jguer Jguer commented Jun 17, 2022

Experimental support for aur package voting using votar

Partially implements #1075

  • Requires AUR_USERNAME and AUR_PASSWORD to be set
  • yay -Wv <packages> votes for packages
  • yay -Wu <packages> removes votes from packages

@Jguer Jguer self-assigned this Jun 17, 2022
@Jguer Jguer mentioned this pull request Jun 17, 2022
@Morganamilo
Copy link
Contributor

I think web login may be a bad idea. The aur already has an api for this ssh aur.archlinux.org vote yay

@Jguer Jguer enabled auto-merge (squash) June 17, 2022 16:52
@Jguer
Copy link
Owner Author

Jguer commented Jun 17, 2022

I think web login may be a bad idea. The aur already has an api for this ssh aur.archlinux.org vote yay

That's great to know, was not aware of it, will add support to the upstream library as default (web will always be flaky)

@Jguer Jguer merged commit 0fdfe79 into next Jun 17, 2022
@Jguer Jguer deleted the jguer/vote-util branch June 17, 2022 16:55
@Morganamilo
Copy link
Contributor

There's a bunch you can do!

morganamilo@Octavia ~ %  ssh aur.archlinux.org help
Commands:
  adopt <name>                      Adopt a package base.
  disown <name>                     Disown a package base.
  flag <name> <comment>             Flag a package base out-of-date.
  git-receive-pack                  Internal command used with Git.
  git-upload-pack                   Internal command used with Git.
  help                              Show this help message and exit.
  list-repos                        List all your repositories.
  restore <name>                    Restore a deleted package base.
  set-comaintainers <name> [...]    Set package base co-maintainers.
  set-keywords <name> [...]         Change package base keywords.
  setup-repo <name>                 Create a repository (deprecated).
  unflag <name>                     Remove out-of-date flag from a package base.
  unvote <name>                     Remove vote from a package base.
  vote <name>                       Vote for a package base.

@Jguer
Copy link
Owner Author

Jguer commented Jun 17, 2022

TIL, unflag in particular might be useful 😄

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