[pacman-dev] [PATCH 0/3] Add "Usage" option for repos

Dave Reisner dreisner at archlinux.org
Sun Aug 4 13:25:10 EDT 2013


I've been using these patches for a while now (see the author date on the
actual patches) and would like to present them again for feedback. I've
found it tremendously useful (particularly as an Arch packager) to be able
to keep an eye on other repos like [staging] without actually having them
enabled.

Dave Reisner (3):
  libalpm: introduce a usage level for repos
  pacman: add front end support for repo usage level
  pactree: set full usage on DBs when registering

 doc/pacman.conf.5.txt        | 18 +++++++++++++++
 lib/libalpm/alpm.h           | 22 ++++++++++++++++++
 lib/libalpm/be_local.c       |  1 +
 lib/libalpm/be_sync.c        |  4 ++++
 lib/libalpm/db.c             | 22 ++++++++++++++++++
 lib/libalpm/db.h             |  1 +
 lib/libalpm/deps.c           | 15 +++++++++++--
 lib/libalpm/sync.c           | 15 +++++++++++--
 src/pacman/conf.c            | 53 ++++++++++++++++++++++++++++++++++++++++++++
 src/pacman/sync.c            | 11 +++++++++
 src/util/pactree.c           |  3 ++-
 test/pacman/tests/sync051.py | 17 ++++++++++++++
 test/pacman/tests/sync052.py | 14 ++++++++++++
 13 files changed, 191 insertions(+), 5 deletions(-)
 create mode 100644 test/pacman/tests/sync051.py
 create mode 100644 test/pacman/tests/sync052.py

-- 
1.8.3.4



More information about the pacman-dev mailing list