[aur-general] [AUR4] Is there a tool for using a single git repo for several packages?

Chi Hsuan Yen yan12125 at gmail.com
Mon Jun 8 11:33:52 UTC 2015

(Due to my poor English, the subject may not be easy to understand. I'll
explain it below.)

Hello AUR users,

First I'm glad to see that AUR now switches to a git-based package system.
I'm always interested in what are changed for an AUR package. Before AUR4,
such an information is generally not available unless the submitter leaves
a comment.

Now I'd like to talk about my scenario. Before AUR4, I maintain a single
git repo for all packages. I need to re-upload all my packages now. There
are several handy utilities listed at the AUR wiki [1]. Among them,
"import-to-aur4" seems suitable for those who use git repos before AUR4.
However, import-to-aur4.sh does not meet my need:

1. It's designed for aur-dev rather than aur4. The workflow is slightly
2. Looks like it's a one-time script rather than for long-term use. (See
the example usage below)

Is there an existing tool that can read individual packages from a single
repo and push it to AUR4? A use case can be:

$ vim python-foobar/PKGBUILD
$ git commit -a -m "python-foobar: Update to version x.y.z"
$ ./push-package-to-aur4.sh python-foobar

push-package-to-aur4.sh reads from local repo, creates the repo remotely if
necessary and pushes PKGBUILD, .SRCINFO, and other source files.

Hope my descriptions are clear enough :)

Best regards,

Yen Chi Hsuan

[1] https://wiki.archlinux.org/index.php/Arch_User_Repository

More information about the aur-general mailing list