You are not logged in.

#1 2025-08-16 12:51:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,087

Use public repo as source for aur repo ?

I have all my aur packages in a local repo that pushes directly to aur.
The recent downtimes made me realise that I have no independent backup.

My plan is to setup public repos with sourcehut or codeberg.
I'm leaning to treating 3rd party as upstream and telling aur to pull from there, but pushing to both is an alternative.

How can I implement this change and which alternative would you prefer ?


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 Yesterday 10:27:07

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,231
Website

Re: Use public repo as source for aur repo ?

I'm using aurpublish for this usecase: https://github.com/eli-schwartz/aurpublish / https://archlinux.org/packages/extra/any/aurpublish/

This way I can have a central repo on Github (but really it could be any git forge): https://github.com/christian-heusel/aur

Offline

#3 Yesterday 11:28:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,087

Re: Use public repo as source for aur repo ?

I do remember looking at aurpubllish some years ago, but think  "subtree push stratagem" is what gave me concern.

Does it store everything in one big local repo and use custom commands to push/pull individual packages ?


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 Yesterday 11:33:35

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,231
Website

Re: Use public repo as source for aur repo ?

Yes exactly, you git add/commit etc. as usual and then also do a aurpublish <directory> to publish to the AUR.

Offline

#5 Yesterday 12:10:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,087

Re: Use public repo as source for aur repo ?

I sometimes mess up a local package repo and have to recreate it from scratch / pull from upstream.
The only way I found to do this with aurpublish was to delete the entire repo and redo the whole setup.

Since then I've stuck to separate local repos so problems in one repo don't affect the rest.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB