You are not logged in.

#576 2016-07-03 19:59:09

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: pacaur - an AUR helper that minimizes user interaction

dockland wrote:

If it's Vim, there are three commands useful to remember.

:q - just quit/close
:q! - quit ignoring changes
:wq - write changes and quit

Also remembering to hit insert to be able to directly edit the file, and then hit escape to get to where your above commands can work.

I keep telling myself I need to learn and setup vim, but I never do tongue

Offline

#577 2016-07-04 12:13:08

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: pacaur - an AUR helper that minimizes user interaction

escape to get to where your above commands can work.

Faster: Ctrl+c

I keep telling myself I need to learn and setup vim, but I never do

I've used emacs for over 2 years, and learned the vim basics via vimtutor(1) in an hour. Just do it. wink

</editor discussion in the AUR helper thread>

Last edited by Alad (2016-07-04 12:13:41)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#578 2016-07-06 02:46:55

z1lt0id
Member
Registered: 2012-09-20
Posts: 177

Re: pacaur - an AUR helper that minimizes user interaction

Since the update it seems the --devel function has broken.  It keeps wanting to update a package that isn't there.  Here is the output

┌─╼[/etc/xdg/pacaur] 
└────╼ pacaur -Syyu --rebuild --devel
:: Synchronizing package databases...
 core                                                      119.0 KiB  1384K/s 00:00 [################################################] 100%
 extra                                                    1742.5 KiB  8.64M/s 00:00 [################################################] 100%
 community                                                   3.5 MiB  7.88M/s 00:00 [################################################] 100%
 multilib                                                  160.9 KiB  11.2M/s 00:00 [################################################] 100%
 infinality-bundle                                           4.3 KiB  1439K/s 00:00 [################################################] 100%
 infinality-bundle.sig                                     287.0   B  0.00B/s 00:00 [################################################] 100%
 infinality-bundle-multilib                                  2.0 KiB  0.00B/s 00:00 [################################################] 100%
 infinality-bundle-multilib.sig                            287.0   B  0.00B/s 00:00 [################################################] 100%
 infinality-bundle-fonts                                    96.5 KiB  74.2K/s 00:01 [################################################] 100%
 infinality-bundle-fonts.sig                               287.0   B  0.00B/s 00:00 [################################################] 100%
 alucryd                                                    16.0 KiB  47.1K/s 00:00 [################################################] 100%
 alucryd-multilib                                            6.7 KiB  0.00B/s 00:00 [################################################] 100%
 openrc-eudev                                               33.5 KiB  64.9K/s 00:01 [################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
:: resolving dependencies...
:: no results found for aseman-qt-tools

Offline

#579 2016-07-06 08:18:44

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

One of your package requires aseman-qt-tools as dependency, instead of aseman-qt-tools-git which exists in the AUR.

Offline

#580 2016-08-02 15:20:09

marmistrz
Member
Registered: 2016-01-05
Posts: 122

Re: pacaur - an AUR helper that minimizes user interaction

`pacuar -Sc` doesn't clear the packages in ~/.cache/pacaur.

Is this the expected behavior?

Offline

#581 2016-08-02 19:41:25

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Yes, -Sc/-Scc will only clear packages if PKGDEST is defined.

On a side note, the whole clean package feature is a bit messy and I wish to improve it soon - I am just not sure how to do so properly yet.

Offline

#582 2016-10-04 03:16:01

BurhanDanger
Member
From: Sylhet, Bangladesh.
Registered: 2016-09-13
Posts: 29

Re: pacaur - an AUR helper that minimizes user interaction

Couple of questions , i) how to clean ~/.config/pacaur/ directory with pacaur command (like pacaur -Scc) , if not possible , is it safe to remove manually.
ii) How to disable ZSH completion for AUR packages only since this lags for me , or even better is there a way to cache package names of AUR to be used by completion

Offline

#583 2016-10-04 10:07:27

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

i) this is implemented in -Sc in pacaur-git, but not yet in the stable package.
ii) No idea since I didn't write the ZSH completion file. I recently did some test with caching the whole AUR package list (with the bash completion file), but noticed some lag too (although still usable). It looks like it's due to the sheer number of packages to parse rather than the online cower request.

Offline

#584 2016-10-04 13:50:16

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: pacaur - an AUR helper that minimizes user interaction

While we're talking about zsh completion for pacaur, it does display all the available options, but pressing tab repeatedly doesn't select anything. If no one provides a patch I will try to provide one, but I'm busy for the next two weeks.

Offline

#585 2016-10-10 10:30:20

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: pacaur - an AUR helper that minimizes user interaction

bstaletic wrote:

While we're talking about zsh completion for pacaur, it does display all the available options, but pressing tab repeatedly doesn't select anything. If no one provides a patch I will try to provide one, but I'm busy for the next two weeks.

Zsh completion is working fine for me. It has the same behaviour as the pacman zsh-completion. Which is the command that does not work for you?


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#586 2016-10-11 11:11:33

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: pacaur - an AUR helper that minimizes user interaction

A bit more testing sowed me that pacaur's zsh completion is mostly working properly, but the scenario I was talking about still exists in some cases. namely:

pacaur -Sau --<Tab>

does display possible completions, but doesn't complete even after multiple tab key strokes.

Offline

#587 2016-10-11 12:09:10

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: pacaur - an AUR helper that minimizes user interaction

I can confirm that the option that is breaking the ZSH completion is:

pacaur -Su --<TAB>

I'll take a closer look at this issue.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#588 2016-10-11 17:50:57

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: pacaur - an AUR helper that minimizes user interaction

The ZSH completion issue with -Su is fixed in the last commit. Nevertheless, there is a lot of work to do in the ZSH completion file. I've also noticed that -Ss completion is broken in both pacman and pacaur.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#589 2016-10-12 14:16:37

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

I am not sure search is supposed to have completion. You are passing search patterns, not package names.

Offline

#590 2016-10-12 18:03:06

ChuckDaniels
Member
Registered: 2014-03-31
Posts: 31

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk wrote:

I am not sure search is supposed to have completion. You are passing search patterns, not package names.

You are right, I suppose it is proper approach to search completion.


“That’s the second biggest linux kernel I’ve ever seen!”

Offline

#591 2016-11-02 17:49:57

eyenseo
Member
Registered: 2014-12-20
Posts: 7

Re: pacaur - an AUR helper that minimizes user interaction

Is there an option that pacaur doesn't overwrite a custom PKGBUILD file? If not I would love to have one ideally with something like pacdiff wink

Offline

#592 2016-11-02 19:14:00

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

No, pacaur isn't designed to work with user-modified packages, or stuff like customizepkg. If you're modifying a package, you might want to use a different package name or try using pacman hook. This has been written for modified repository packages, but might work with AUR packages too.

Last edited by Spyhawk (2016-11-02 19:15:27)

Offline

#593 2016-11-02 19:30:15

eyenseo
Member
Registered: 2014-12-20
Posts: 7

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk wrote:

No, pacaur isn't designed to work with user-modified packages, or stuff like customizepkg. If you're modifying a package, you might want to use a different package name or try using pacman hook. This has been written for modified repository packages, but might work with AUR packages too.

I was hoping that - since we are already reviewing changed aur PKGBUILD files - it wouldn't be too difficult to add this functionality too. But thank you for the answer and the links smile

Offline

#594 2016-11-02 19:43:23

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Not all changes in the PKGBUILD are problematic, but the dependencies changes surely are (as people add or remove needed dependencies depending on their compilation option changes). This would break the RPC dependency solver, and working around that issue is completely silly. I don't really see the point of implementing support for half baked features that will result in way too much unneeded bug reports, so better tell the user to change the pkgname if he wants to tinker with the upstream PKGBUILDs.

Offline

#595 2016-12-29 17:58:51

SeaWolf
Member
From: France
Registered: 2009-03-30
Posts: 22

Re: pacaur - an AUR helper that minimizes user interaction

I'm getting some error messages:

$ pacaur -i esetroot
mktemp: failed to create file via template ‘/run/user/1000/pacaur.infoaur.XXXX’: No such file or directory

$ pacaur -y hsetroot
touch: cannot touch '/run/user/1000/pacaur.sudov.lck': No such file or directory

I think it's because I use OpenRC, not systemd, so the "/run/user" directory doesn't exist.

Offline

#596 2016-12-29 21:16:45

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

SeaWolf wrote:

I'm getting some error messages:

I think it's because I use OpenRC, not systemd, so the "/run/user" directory doesn't exist.

Yep, exactly that.

Offline

#597 2017-01-06 13:19:52

quite
Member
Registered: 2013-02-15
Posts: 24

Re: pacaur - an AUR helper that minimizes user interaction

Is pacaur supposed to be able to avoid rebuilding (cannot say upgrading) devel packages for which nothing new has been committed upstream? Imagine I do

  pacaur -S pass-git

All good and installed.

  pacaur -a -Syu

pass-git was not listed, rebuild or reinstalled, because pacaur somehow detected that I wouldn't make a difference.

Offline

#598 2017-01-06 13:46:49

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Yes.

Offline

#599 2017-01-06 14:51:06

quite
Member
Registered: 2013-02-15
Posts: 24

Re: pacaur - an AUR helper that minimizes user interaction

Okay. I think it might not be working correctly. I had a bit of a hard time to find a perfect test case, since I recently started using pacaur, and I'm not sure if the "devel package outdated" detected would need the package to have been built by pacaur in the first place (and be cached in ~/.cache/pacaur, which may or may not be necessary). But, now I found a case.

I previously had 162-1 of sxhkd-git. `pacaur -a -Syu` did not find sxhkd-git outdated. Adding `--devel` to that did display quite a few packages, including sxhkd-git but also others that I had just updated with `pacaur -S` (among them dmenu-frecency-git). (it is not clear to me if `--devel` is needed or not, thus I tried it).

So, I run `pacaur -S sxhkd-git` and lo and behold, I get version 163-1. And still, the previous paragraph is remains valid.

Offline

#600 2017-01-06 15:59:02

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: pacaur - an AUR helper that minimizes user interaction

And why is that a problem? No AUR helper will try to reinstall every *-git package on a `$helper -Syua` because that would be silly... all they do is check the reported version on the AUR.

--devel flags exist for the sake of checking *-git packages for updates by cloning each and every one and checking the pkgver()-updated version against what you have cached/installed.

Last edited by eschwartz (2017-01-06 16:00:22)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB