You are not logged in.

#326 2019-05-23 14:46:50

Vash63
Member
Registered: 2012-09-22
Posts: 26

Re: aurutils - helper tools for the aur

I'm using aurutils-git right now at the latest master (updated from a build a month or so ago) and I'm not sure if I'm using --ignore correctly as it doesn't seem to be working. I've tried creating a plaintext file at ~/.config/aurutils/sync/ignore that has just 'ttf-ms-win10' in it, yet when I run 'aur sync -u' it still finds and tries to update this package. Same results with 'aur sync -u --ignore="ttf-ms-win10"'

Offline

#327 2019-05-23 15:23:30

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: aurutils - helper tools for the aur

Does it actually list the package in vifm, and try to build it?

Last edited by Alad (2019-05-23 15:26:40)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#328 2019-05-23 16:24:35

Vash63
Member
Registered: 2012-09-22
Posts: 26

Re: aurutils - helper tools for the aur

Ah, it does not. I was thinking it wouldn't show up on the list of updates at all, my mistake.

Offline

#329 2019-06-04 15:36:10

throwaway1873
Member
Registered: 2019-06-04
Posts: 2

Re: aurutils - helper tools for the aur

I'm really sorry if this is a dumb question but I've tried searching for this everywhere but couldn't find a suitable answer.

How do you get a diff view of the PKGBUILD upon updating a package with all the added/changed/removed lines highlighted in aurutils like you used to get in pacaur?

Everywhere I've searched seems to suggest that aurutils gives a diff view by default in vifm but I only get this instead:

https://imgur.com/KRiqCE8.jpg

Even the arch wiki seems to suggest that aurutils has PKGBUILD diff view integrated but I still can't seem to get it to work.

Any help would be really appreciated! Thanks!


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2019-06-04 16:09:00)

Offline

#330 2019-06-04 16:41:52

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 874

Re: aurutils - helper tools for the aur

Hi there, far as I know you can't view a diff with vifm (see man vifm), though you can with vimdiff...
The picture you show is the way it should be.
What sources did you read that suggest you could diff with vifm?

Offline

#331 2019-06-04 17:14:32

throwaway1873
Member
Registered: 2019-06-04
Posts: 2

Re: aurutils - helper tools for the aur

Not vifm but the comparison table on the arch wiki page for aur helpers shows that aurutils has diff view capability.

Offline

#332 2019-06-04 17:24:47

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 874

Re: aurutils - helper tools for the aur

Ah, clear, well I wouldn't know how to do that, vimdiff maybe?

edit: which still isn't an answer to your Q. ;-)

Last edited by qinohe (2019-06-04 17:27:06)

Offline

#333 2019-06-05 12:41:07

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: aurutils - helper tools for the aur

If the package has already been installed, a diff will be shown in aur-sync if a newer version is available on the AUR. This however only happens on the first invocation, or (in the git version), when vifm exited successfully.

https://github.com/AladW/aurutils/pull/ … d9a2ecdbd7


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#334 2019-06-05 12:47:09

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 874

Re: aurutils - helper tools for the aur

Hmm, must say I use 'aur sync -cu' to update my packages and have vifm installed, though, I have never seen this diff after exit vifm...

Offline

#335 2019-06-05 12:48:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,035

Re: aurutils - helper tools for the aur

Merging with the aurutils thread

Offline

#336 2019-06-05 12:54:28

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: aurutils - helper tools for the aur

qinohe wrote:

Hmm, must say I use 'aur sync -cu' to update my packages and have vifm installed, though, I have never seen this diff after exit vifm...

-c shouldn't make a difference. The diff is not shown after vifm exit, but rather inside vifm (as seperate .patch files).

What I meant here is that in the git version, when vifm exits successfully (exit 0), a "marker" is set so that the same diff is not shown on subsequent aur-sync calls.  Reversely, when exiting with :cq (exit 1 on vifm) e.g. for an unexpected change, you will still see the diffs when running aur-sync after.

Last edited by Alad (2019-06-05 12:58:02)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#337 2019-06-05 12:57:00

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 874

Re: aurutils - helper tools for the aur

Will have a better look next time there's an update for one of the packages, never noticed it, thanks

Offline

#338 2019-07-28 11:34:15

Vash63
Member
Registered: 2012-09-22
Posts: 26

Re: aurutils - helper tools for the aur

Having a strange issue whenever I try to actually build and install with 'aur sync' - it builds fine, and adds itself to the repo without issue, but then fails when running the sync through pacman. Example:

==> Creating package "mutter-performance"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mutter-performance 3.32.2+43+gb7f158811-4 (zo 28 jul 2019 13:30:17 CEST)
==> Cleaning up...
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package 'mutter-performance-3.32.2+43+gb7f158811-4-x86_64.pkg.tar.xz'
  -> Computing checksums...
  -> Removing existing entry 'mutter-performance-3.32.2+43+gb7f158811-3'...
  -> Creating 'desc' db entry...
  -> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/custom/custom.db.tar'
:: Synchronizing package databases...
error: failed retrieving file 'custom.files' from disk : expected download size exceeded----------------]   0%
error: failed to update custom (download library error)
error: failed to synchronize all databases

I just tried removing all of my repository .db/.db.tar and .files/.files.tar files and rebuilding the repo with repo-add and still had the same issue next time I ran `aur sync -u`. Not really sure where to look here or what caused this as it had been working fine for a while, maybe it doesn't like one of my package files?

Edit: Also worth noting that just running `pacman -Sy` fixes it but I have to run this every time before it will pick up my package updates now, the auto upgrade from `aur sync` never works

Last edited by Vash63 (2019-07-28 13:22:34)

Offline

#339 2019-07-28 20:00:53

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 1,972
Website

Re: aurutils - helper tools for the aur

This issue popped up a few times, but I have no idea on the cause. It might help to do a binary search on your repo (add the first half of the packages, etc.) to see if you can pin it down to a particular package.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

Board footer

Powered by FluxBB