Updated https://github.com/bulletmark/pacpush to remove cower and have updated the AUR package here.
Search Criteria
Package Details: pacpush 3.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pacpush.git (read-only, click to copy) |
---|---|
Package Base: | pacpush |
Description: | Utility to push an Arch hosts package and AUR caches to other hosts |
Upstream URL: | https://github.com/bulletmark/pacpush |
Keywords: | pacsync |
Licenses: | GPL-3.0-or-later |
Submitter: | bulletmark |
Maintainer: | bulletmark |
Last Packager: | bulletmark |
Votes: | 2 |
Popularity: | 0.000538 |
First Submitted: | 2017-11-07 06:18 (UTC) |
Last Updated: | 2024-12-01 22:10 (UTC) |
Dependencies (12)
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR)
- pyalpm (pyalpm-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-platformdirs
- python-requests
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-setuptools-scm (make)
- python-wheel (make)
Required by (0)
Sources (1)
bulletmark commented on 2018-02-09 01:53 (UTC)
Alad commented on 2018-02-09 01:44 (UTC)
Thanks!
bulletmark commented on 2018-02-09 01:19 (UTC)
@Alad, that link you gave me for https://aur.archlinux.org/rpc.php was perfect. I have already implemented the change and will submit it later. Doing this stuff is much easier in python than shell!
Alad commented on 2018-02-09 00:50 (UTC)
The following might be a more useful suggestion:
Alad commented on 2018-02-08 22:17 (UTC) (edited on 2018-02-08 22:20 (UTC) by Alad)
The test suited is related to nlohmann-json, which is a single header file but has a massive test suite...
Anyway to retrieve packages + versions you can query the AUR RPC, using one request for multiple packages, for example:
pacman -Qm | xargs aur rpc -t info | jq -r '.results[] | [.Name, .Version] | @tsv'
(aur-rpc is a small script I wrote due to limitations with GET requests.) In python you'd probably use import json
instead of jq
.
bulletmark commented on 2018-02-08 21:59 (UTC)
@Alad, I personally avoid -git packages. Also, auracle takes forever to build and install (including the test suite it runs) which I'd like to avoid given how small pacpush is. I merely need a way to get a list of installed AUR packages which have newer versions. Can you suggest something else? Actually, is there a way to query the aur with a list of packages to return the current versions? Or a way to download a complete list of packages + versions? Finding "backend" info about Arch is difficult.
Alad commented on 2018-02-08 20:26 (UTC)
Would you mind updating this to use auracle? cower poses a heavy tax on the AUR due to it filing one request per package.
https://lists.archlinux.org/pipermail/aur-dev/2018-January/004416.html
Pinned Comments