You are not logged in.

#1 2021-07-01 03:15:05

xeromycota
Member
Registered: 2020-10-06
Posts: 21

Is there any AUR helper that can keep src folder after build?

I am user of ros2-galactic AUR package. This package clones and builds a lot of source into ~/.cache/yay/ros2-galactic/src. Everytime yay builds AUR packages, it delete src and pkg folder afterward. Is there any AUR helper that can keep src folder after build? I just want to not re-download and clean build ros2-galactic huge source every time there is an update. I don't mind ugly hack as solution to this problem.

Offline

#2 2021-07-01 04:22:51

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: Is there any AUR helper that can keep src folder after build?

nocleanafter?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2021-07-01 05:29:57

xeromycota
Member
Registered: 2020-10-06
Posts: 21

Re: Is there any AUR helper that can keep src folder after build?

kokoko3k wrote:

nocleanafter?

No good, https://github.com/Jguer/yay/issues/1539/

Offline

#4 2021-07-01 05:40:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Is there any AUR helper that can keep src folder after build?

Just build it without using a helper... You could write a wrapper script to automate some of it if it is that important.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-07-01 09:34:24

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

Re: Is there any AUR helper that can keep src folder after build?

xeromycota wrote:
kokoko3k wrote:

nocleanafter?

No good, https://github.com/Jguer/yay/issues/1539/

Shows again pacman wrappers are useless if you want to do anything out of the norm.

Just build it without using a helper... You could write a wrapper script to automate some of it if it is that important.

Considering ROS has 100s of AUR packages, you'll at least need to get the list of dependencies somehow. (e.g. aur-depends from aurutils, or auracle buildorder)

Last edited by Alad (2021-07-01 09:36:03)


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

Offline

#6 2021-07-01 10:14:44

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: Is there any AUR helper that can keep src folder after build?

auracle buildorder and auracle outdated are all I need from an AUR helper. The rest is a bit of git here and a swat of bash there.

Offline

#7 2021-07-01 10:26:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Is there any AUR helper that can keep src folder after build?

You could also configure makepkg to save those files somewhere ...

https://wiki.archlinux.org/title/Makepk … tion_times


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2021-07-01 19:34:56

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Is there any AUR helper that can keep src folder after build?

Lone_Wolf wrote:

You could also configure makepkg to save those files somewhere ...

Does not work for https://aur.archlinux.org/packages/ros2-galactic/ as the repo in source https://github.com/ros2/ros2/tree/relea … c-20210523 contains ros2.repos a yaml file of repos which vcs import will clone during prepare.
Would need some sort of scripting to convert ros2.repos to a source array including determining if each target is a branch,  tag or commit.

Offline

#9 2021-07-02 18:22:10

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Is there any AUR helper that can keep src folder after build?

upstream provides source code in a non-stasndard way, got it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2021-07-05 01:57:48

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

Re: Is there any AUR helper that can keep src folder after build?

Why would they do this instead of using git submodules?


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

Offline

Board footer

Powered by FluxBB