[pacman-dev] Source Package Repositories

Allan McRae allan at archlinux.org
Tue Sep 1 05:43:14 UTC 2015

On 01/09/15 11:26, Sébastien Luttringer wrote:
> On Fri, 2015-08-14 at 07:36 +1000, Allan McRae wrote:
>> On 14/08/15 05:44, Sébastien Luttringer wrote:
>>> On Sun, 2015-07-05 at 21:36 +1000, Allan McRae wrote:
>> Debug packages are just normal packages.  There is nothing stopping
>> them
>> being added to a repository today.  (This would take about an hour
>> for
>> someone to make the necessary patching to Arch tools...)
> I always see source packages linked to how we upload package to AUR.
> Now that AUR has moved to git, I'm wondering why we don't drop these
> source packages in order to let source management to git.

The AUR used source packages because that is how makepkg created them...
 The AUR is also an Arch specific construct (which I abandoned the
second I could not upload a source package made by makepkg).

With git repositories for packages, you need another tool to look for
package updates.  With source repositories, pacman will download the
updates for you as part of your usual package management.

> I understand the need of getting the source of the package I installed
> locally, but what is the pros of having special source packages in
> order to replace ABS, instead of a regular package putting source files
> in a directory like /usr/src/pacman/$pkgname/$pkgver?

That requires installing the binary package to get the sources.


More information about the pacman-dev mailing list