this post was submitted on 27 Nov 2024
15 points (94.1% liked)

Arch Linux

8539 readers
2 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS
 

Hey, how do we generally handle forks of packages that we wish to use on the AUR?

For example, we have package A on the AUR and we have A-fork with a feature that is not merged into A due to various reasons (dead projects, other concerns, etc).

Do we create a new AUR package that is based off that fork? Wouldn't that pollute the AUR with packages that are similar but are forks of each other?

What if I am developing a package B that depends on the A-fork that is not in the AUR? Do I have to create A-fork as an AUR package so that my package B can be built?

you are viewing a single comment's thread
view the rest of the comments

Do we create a new AUR package that is based off that fork? Wouldn’t that pollute the AUR with packages that are similar but are forks of each other?

Lots of packages does this already. So I assume it's okay, if you can't get the change into the one already there.

What if I am developing a package B that depends on the A-fork that is not in the AUR? Do I have to create A-fork as an AUR package so that my package B can be built?

Yes. You need to make sure all the dependencies are available from either official repository or the AUR when creating an AUR package.