Package Details: pacpush 3.2.2-1

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: GPL3
Submitter: bulletmark
Maintainer: bulletmark
Last Packager: bulletmark
Votes: 2
Popularity: 0.053400
First Submitted: 2017-11-07 06:18 (UTC)
Last Updated: 2023-10-22 21:53 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

bulletmark commented on 2018-02-09 01:53 (UTC)

Updated https://github.com/bulletmark/pacpush to remove cower and have updated the AUR package here.

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:

https://github.com/cdown/aur

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

bulletmark commented on 2017-11-07 06:21 (UTC) (edited on 2017-11-09 05:45 (UTC) by bulletmark)

Note this package was previously named as pacsync but /usr/bin/pacsync already existed in community package pacutils. So have renamed the package here and on my github repo at https://github.com/bulletmark/pacpush.