[pacman-dev] [PATCH 0/5] download diskspace checking
Dave Reisner
d at falconindy.com
Sun Oct 16 14:59:12 EDT 2011
I don't think this patchset is ready for merging, but I figured I'd post it
here for some possible feedback. This is mostly for the purposes of adding
diskspace checking prior to downloads, but it also changes some ancient
behavior that Judd added of grouping sync records by repo. Instead, we just
gather all the records together at once and download them. I've left some
comments in the header for each patch...
d
Dave Reisner (5):
diskspace: add _alpm_check_downloadspace()
dload: add RO copy of servers list to each payload
sync: dont group sync records by repository
sync: check for necessary disk space for download
sync: move file download loop out of download_files
lib/libalpm/diskspace.c | 54 ++++++++++++++
lib/libalpm/diskspace.h | 2 +
lib/libalpm/dload.h | 1 +
lib/libalpm/sync.c | 184 ++++++++++++++++++++++++++++------------------
src/pacman/callback.c | 2 +-
5 files changed, 170 insertions(+), 73 deletions(-)
--
1.7.7
More information about the pacman-dev
mailing list