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: 319
Popularity: 26.69
First Submitted: 2016-07-09 19:49 (UTC)
Last Updated: 2022-02-14 21:44 (UTC)

Latest Comments

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

Faerbit commented on 2021-06-22 20:43 (UTC)

Hi Fabio, I added the git makedep, but I don't see the point of the r prefix, since this repo doesn't have releases.

FabioLolix commented on 2021-06-22 18:41 (UTC) (edited on 2021-06-22 18:42 (UTC) by FabioLolix)

Hello, this is missing git in makedepends and the pkgver don't have the 'r' prefix https://wiki.archlinux.org/title/VCS_package_guidelines#Git

Faerbit commented on 2020-02-10 10:01 (UTC)

Thanks for the heads up. I just removed the directive, since it defaults to aur-auto-vote.service anyway.

kapheine commented on 2020-02-10 03:50 (UTC)

I had to move the 'Unit' key from the [Unit] section of aur-auto-vote.service to the [Timer] section, otherwise I got this warning:

Feb 09 19:44:03 buffalo systemd[1]: /etc/systemd/system/aur-auto-vote.timer:3: Unknown key name 'Unit' in section 'Unit', ignoring.

This is with systemd 244 (244.2-2-arch) installed.

Faerbit commented on 2020-01-27 16:59 (UTC)

@Strykar: Please read your error log carefully. There is nothing wrong with BeautifulSoup. I just tested my installation and it works without a problem.

Your error logs points to not beeing able to execute "pacman -Qmq". As to why this is I cannot say. Maybe you broke your pacman installation? Bad hardware?

Strykar commented on 2020-01-27 06:52 (UTC) (edited on 2020-01-27 06:53 (UTC) by Strykar)

Is this still broken due to BeautifulSoup?

Error log - https://gist.github.com/Strykar/874b611bfefe7c9847ea3aac5d4f5209

Faerbit commented on 2019-02-26 08:00 (UTC) (edited on 2020-06-06 10:43 (UTC) by Faerbit)

Not as long as everybody remembers to reinstall this package. Your votes are account bound, and they will most likely not reinstall a package that crashed their OS, and this vote will then be removed.

Note that you should not be forced to reinstall your OS because of a crashed package. Instead fix it from a live boot USB key.

daweiy commented on 2019-02-25 22:42 (UTC)

Quick question: does this mean the packages that can crash an OS and require reinstallation of the OS will get more votes than the same packages that are stable?

cryzed commented on 2019-01-29 13:22 (UTC)

Hey, author here. The developer of SoupSieve (BeautifulSoup's new CSS selector implementation) created an issue on the GitHub repository. I should hopefully have fixed the problem, please let me know if everything works!

Faerbit commented on 2019-01-28 12:32 (UTC)

Please report upstream issues upstream.

xzz53 commented on 2019-01-28 12:30 (UTC) (edited on 2019-01-28 12:30 (UTC) by xzz53)

Recent beautifulsoup update ([2019-01-26 19:42] [ALPM] installed python-soupsieve (1.7.3-1) [2019-01-26 19:42] [ALPM] upgraded python-beautifulsoup4 (4.6.3-1 -> 4.7.1-1)) has broken selectors:

 File "/usr/bin/aur-auto-vote", line 127, in <module>
    main(arguments)
  File "/usr/bin/aur-auto-vote", line 86, in main
    voted_packages = tuple(p.name for p in sorted(get_voted_packages(session)))
  File "/usr/bin/aur-auto-vote", line 50, in get_voted_packages
    package = Package(*(c.get_text(strip=True) for c in row.select('> td')[1:]))
  File "/usr/lib/python3.7/site-packages/bs4/element.py", line 1376, in select
    return soupsieve.select(selector, self, namespaces, limit, **kwargs)
  File "/usr/lib/python3.7/site-packages/soupsieve/__init__.py", line 108, in select
    return compile(select, namespaces, flags).select(tag, limit)
  File "/usr/lib/python3.7/site-packages/soupsieve/__init__.py", line 59, in compile
    return cp._cached_css_compile(pattern, namespaces, flags)
  File "/usr/lib/python3.7/site-packages/soupsieve/css_parser.py", line 192, in _cached_css_compile
    CSSParser(pattern, flags).process_selectors(),
  File "/usr/lib/python3.7/site-packages/soupsieve/css_parser.py", line 894, in process_selectors
    return self.parse_selectors(self.selector_iter(self.pattern), index, flags)
  File "/usr/lib/python3.7/site-packages/soupsieve/css_parser.py", line 778, in parse_selectors
    sel, m, has_selector, selectors, relations, is_pseudo, index
  File "/usr/lib/python3.7/site-packages/soupsieve/css_parser.py", line 614, in parse_combinator
    "The combinator '{}' at postion {}, must have a selector before it".format(combinator, index)
SyntaxError: The combinator '>' at postion 0, must have a selector before it

Faerbit commented on 2016-11-27 20:35 (UTC) (edited on 2016-11-27 20:36 (UTC) by Faerbit)

>aur-auto-vote.service.skel failing integrity check. Fixed.

leosanvieira commented on 2016-11-27 20:32 (UTC)

aur-auto-vote.service.skel failing integrity check.

leosanvieira commented on 2016-10-08 17:28 (UTC)

Yeah, you're right, i forgot about that...

Faerbit commented on 2016-10-08 11:12 (UTC)

Fixed that too :) No I didn't change the package version since this is a git packge...

leosanvieira commented on 2016-10-05 13:23 (UTC)

These lines should be in the [Unit] section. Did you change the package version?, because pacaur doesn't seem to think there was an update at all.

Faerbit commented on 2016-10-04 14:40 (UTC)

Good idea. I didn't thought of this. Added it now.

leosanvieira commented on 2016-10-04 12:30 (UTC)

Hi, Shouldn't aur-auto-vote.service.skel file have the two lines below ? Because without these it only failed silently with me. Requires=network-online.target After=network-online.target