Package Details: aur-auto-vote-git r150.3a626c5-1

Git Clone URL: https://aur.archlinux.org/aur-auto-vote-git.git (read-only, click to copy)
Package Base: aur-auto-vote-git
Description: Automates voting on installed and uninstalled AUR packages
Upstream URL: https://github.com/cryzed/bin
Licenses: MIT
Submitter: Faerbit
Maintainer: Faerbit
Last Packager: Faerbit
Votes: 404
Popularity: 13.88
First Submitted: 2016-07-09 19:49 (UTC)
Last Updated: 2022-02-14 21:44 (UTC)

Latest Comments

1 2 3 Next › Last »

servitkar commented on 2023-02-08 08:19 (UTC)

Commit #r154.e72b838-1 should fix the error..

cos commented on 2023-01-31 03:56 (UTC)

I'm currently getting the following error when attempting to run aur-auto-vote:

$ aur-auto-vote cos
Password:
Traceback (most recent call last):
  File "/usr/bin/aur-auto-vote", line 129, in <module>
    main(arguments)
  File "/usr/bin/aur-auto-vote", line 81, in main
    voted_packages = tuple(p.name for p in sorted(get_voted_packages(session)))
  File "/usr/bin/aur-auto-vote", line 52, in get_voted_packages
    package = Package(*(c.get_text(strip=True) for c in row.select(':scope > td')[1:]))
TypeError: Package.__new__() takes 9 positional arguments but 10 were given

stop50 commented on 2022-08-09 20:56 (UTC)

@ewout @Faerbit The credentials could be in a file in /etc and the timer and service check for its existence with ConditionFileNotEmpty=. it would be also safer since not everything is in the service.

And i would change from simple to oneshot, since simple is for services that run permanent and don't fork, and one-shot for services that do one thing and then quit.

Faerbit commented on 2022-05-18 17:40 (UTC)

@ewout There is configuration in the systemd service file though. For this to be done properly, the script would need to read the config from somewhere else than the CLI.

ewout commented on 2022-05-18 13:23 (UTC)

Please install the systemd service in /usr/lib/systemd/system instead.

Faerbit commented on 2022-02-14 21:47 (UTC)

Thanks @thiagowfx for the heads up. I updated the pkgver, which should also reflect the need to upgrade. As with any -git packages all users are free and able to upgrade at their discretion without me doing anything :)

thiagowfx commented on 2022-02-14 03:32 (UTC) (edited on 2022-02-14 03:34 (UTC) by thiagowfx)

If this is not working for you anymore thanks to the aur v6 rollout, just update the package:

Traceback (most recent call last):
  File "/usr/bin/aur-auto-vote", line 132, in <module>
    main(arguments)
  File "/usr/bin/aur-auto-vote", line 84, in main
    if not login(session, arguments.username, password):
  File "/usr/bin/aur-auto-vote", line 38, in login
    return bool(soup.select_one('#archdev-navbar').find('a', href=lambda h: h and h.rstrip('/').endswith('/logout')))
AttributeError: 'NoneType' object has no attribute 'find'

c.f. https://github.com/cryzed/bin/issues/13

It would be nice if the maintainer could update the pkgrel to reflect the need to upgrade. This is typically something that is not done for -git packages but it would help reduce confusion in this specific situation.

RetiredTurtle commented on 2021-11-08 08:43 (UTC)

Hello, can anyone write me a runnit service for this package?

Faerbit commented on 2021-08-11 17:27 (UTC) (edited on 2021-08-11 17:27 (UTC) by Faerbit)

I doubt very much there will ever be a release. But to make you happen, I added it anyway :)

Thanks for your time.

Note to other users: This change will make pacman complain once, that the package change is a downgrade. Since this is expected, you can ignore it and go ahead.

FabioLolix commented on 2021-08-11 17:19 (UTC)

The use of 'r' prefix is explained in the same page, right above the git section https://wiki.archlinux.org/title/VCS_package_guidelines#The_pkgver()_function