[pacman-dev] [RFC][PATCH 0/3] Add source package information to repo database

Allan McRae allan at archlinux.org
Fri Nov 1 22:21:39 EDT 2013


AKA - the I hate ABS patchset...

This patchset adds source package information to the sync dbs.  Once this is given
the all clear, it will be followed by patches reading the information into libalpm
and adding a "pacman -B" that will download the source package and extract to
/var/build/pacman  (or somewhere...).   This would be a complete ABS replacement
on Arch.

Queries:

1) I add a separate file to the db and reuse the variable names from the desc
file. This means some probably duplication in the sync db reading code.  Or should I
add the info to the desc file and give it different names?

2) I add a -S/--source flag to add the source file description.  This is similar to
--delta and --files.  I toyed with the idea of including the source information by
default.  Opinions on this?



Allan McRae (3):
  makepkg: sign source packages with --sign
  Always supply base name and version info in .PKGFILE if needed
  repo-add: add source package information to sync db

 lib/libalpm/be_package.c |  2 ++
 lib/libalpm/be_sync.c    |  2 ++
 scripts/makepkg.sh.in    | 30 +++++++++++++------
 scripts/repo-add.sh.in   | 75 ++++++++++++++++++++++++++++++++++++++++++++++--
 4 files changed, 99 insertions(+), 10 deletions(-)

-- 
1.8.4.2



More information about the pacman-dev mailing list