Package Details: powerpill 2018.5-1

Git Clone URL: https://aur.archlinux.org/powerpill.git (read-only)
Package Base: powerpill
Description: Pacman wrapper for faster downloads.
Upstream URL: https://xyne.archlinux.ca/projects/powerpill
Keywords: arch_linux pacman system
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 200
Popularity: 1.207182
First Submitted: 2012-11-29 03:58
Last Updated: 2018-05-11 15:44

Latest Comments

Xyne commented on 2018-03-18 15:12

@CarterCox You need to install the dependencies from the AUR, or enable my repo in Pacman: https://xyne.archlinux.ca/repos/

gnucon commented on 2018-03-17 10:55

@CarterCox you can install the missing modules from aur yaourt -S python3-xcgf python3-xcpf python3-memoizedb

CarterCox commented on 2018-03-12 14:04

I tried to install but pacman couldn't install missing dependencies:

$ makepkg ==> Making package: powerpill 2017.11-1 (Mon Mar 12 11:02:14 -03 2018) ==> Checking runtime dependencies... ==> Installing missing dependencies... error: target not found: pm2ml>2012.12.12 error: target not found: python3-xcgf error: target not found: python3-xcpf ==> ERROR: 'pacman' failed to install missing dependencies.

zerophase commented on 2018-02-15 05:09

@xyne pacmatic has a good example of zsh completions, I think something similar to the pacmatic completions should work for most of powerpill in fish.

https://github.com/fish-shell/fish-shell/blob/master/share/completions/pacmatic.fish

dapolinario commented on 2018-02-14 23:53

@Xyne, actually the base is pacman.fish.

The "progname" variable is not used when you really need to create a pacman-based database: set -l listinstalled "(pacman -Q | string replace '' \ t)", set -l listgroups "(pacman -Sg) \ t'Package Group '"

and in two other lines I did not understand what it is for, if the -e and -f parameters are related to pacman or to complete: complete -c pacman -e, complete -c pacman -f

Therefore, if you replace the progname content with powerpill and bb-wrapper, that's a start (since the pacaur.fish script follows the same basic plus additional pacaur commands).

You can do a pull resquest on the github of the fish project, if they accept it, a headache for you.

Thankful!

Xyne commented on 2018-02-14 23:25

@dapolinario I'm open to the idea but I don't use fish so I am unfamiliar with the syntax and would not be able to test it.

Would it be enough to just replace all instances of "pacman" with "powerpill", "bauerbill" or "bb-wrapper" and add some lines for extra commands to generate a new file? Looking at pacman.fish [1], I see that it sets the "progname" variable at the top and then uses that throughout most of the file, but not everywhere, so the logic isn't immediately clear.

I am also unsure about how to handle the attributions and eventual license if I modify pacman.fish for include it in my projects. It may be better to ask the fish devs to include completions for powerpill etc. as they seem to accept all completion files. If it would help, I could try to write a simple script to generate the files from pacman.fish to facilitate maintenance.

[1] https://raw.githubusercontent.com/fish-shell/fish-shell/master/share/completions/pacman.fish

dapolinario commented on 2018-02-02 21:10

Can you add fish completion to this package, using pacman's fish completion as a template?

Xyne commented on 2017-12-31 05:11

@bemeurer Thanks for reporting the error and posting the traceback. It should be fixed with today's pm2ml update.

bemeurer commented on 2017-12-27 14:07

I inconsistently run into the following error https://gist.github.com/bemeurer/a051eb7a3962ae9438e53c37f16a9846

It seems to happen whenever I run PACMAN=powerpill pacaur -Syu --devel --needed --noconfirm and there is and update. If when it errors I run the command again, it runs successfully.

Xyne commented on 2017-11-26 21:55

> I'm running my own version of python3
I don't know what that means. Regardless, run the setup script with your version to install the modules to a recognized path.

All comments