You are not logged in.

#1 2022-06-09 23:45:28

EBR
Member
Registered: 2022-06-09
Posts: 4

[SOLVED] AUR and yay

If I used yay to get a package from aur and git fetch the source code from github after that I waited for sometime and source code in github has been updated but aur hasn't.
does yay update the package or ignore it?
and thank you
(English isn't my first language so sorry for any mistake)

Last edited by EBR (2022-06-10 09:49:01)

Offline

#2 2022-06-10 01:25:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 26,859
Website

Re: [SOLVED] AUR and yay

That depends on whether the package is a VCS package or not.  Does the package name end with "-git"?  If it does, then it can be rebuilt at anytime to get the lasted code from git, the PKGBUILD would not need to be updated in the AUR.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-06-10 09:50:04

EBR
Member
Registered: 2022-06-09
Posts: 4

Re: [SOLVED] AUR and yay

Thanks

Offline

#4 2022-06-10 10:08:21

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,759
Website

Re: [SOLVED] AUR and yay

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MEG B550 UNIFY // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2022-06-10 14:32:06

moson
Member
Registered: 2021-06-03
Posts: 5
Website

Re: [SOLVED] AUR and yay

You can make yay track changes to -git packages:
When you install a -git package it'll store the commit hash at which the package was built and installed.

Now when there is a new commit and you run

yay -Syu --devel

It will recognize it and rebuild the package.
You can also make this the default option with

yay --save --devel

After that you can continue to just run

yay

It'll catch any updates. Also the git ones...

Offline

Board footer

Powered by FluxBB