This will allow us to eventually combine the depends and desc entries
within the sync database.
Signed-off-by: Allan McRae al...@archlinux.org
---
lib/libalpm/be_sync.c |9 ++---
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
Whenever depends is needed from the local db, so is desc. The only
disadvantage to merging them is the additional time taken to read the
depends entries when they are not needed. As depends is in general
relatively small, the additional time taken to read it in will be
negligable. Also, merging
Merging desc and depends files in sync and local db.
Signed-off-by: Allan McRae al...@archlinux.org
---
test/pacman/pmdb.py | 62 ++---
test/pacman/pmpkg.py |4 ---
2 files changed, 18 insertions(+), 48 deletions(-)
diff --git
On 30/10/10 16:03, Allan McRae wrote:
Whenever depends is needed from the local db, so is desc. The only
disadvantage to merging them is the additional time taken to read the
depends entries when they are not needed. As depends is in general
relatively small, the additional time taken to read
This should hopefully reduce local db corruption issues.
Signed-off-by: Allan McRae al...@archlinux.org
---
lib/libalpm/be_local.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 4574bd4..cb12abb 100644
---
On 30/10/10 16:19, Allan McRae wrote:
On 30/10/10 16:03, Allan McRae wrote:
Whenever depends is needed from the local db, so is desc. The only
disadvantage to merging them is the additional time taken to read the
depends entries when they are not needed. As depends is in general
relatively
This should hopefully reduce local db corruption issues.
Signed-off-by: Allan McRae al...@archlinux.org
---
lib/libalpm/be_local.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 4574bd4..cb12abb 100644
On Sat, Oct 30, 2010 at 3:01 PM, Nagy Gabor ng...@bibl.u-szeged.hu wrote:
Wouldn't this cause a notable slow-down?
I thought the issue was rather that the local db entries would be
synced when the actual package files are probably not synced.
But if we sync everything, then it's very likely to
On Mon, Oct 25, 2010 at 1:03 PM, Nagy Gabor ng...@bibl.u-szeged.hu wrote:
Nagy and I discussed a bit that topic.
Don't we already read all local depends file for conflict and/or dep
checking ?
So this means we'll now read all local depends + all desc files ?
Why not put epoch stuff in the
On Sat, Oct 30, 2010 at 11:26 PM, Allan McRae al...@archlinux.org wrote:
That is because none of the packages know about epoch yet. You are going
to have to manually update packages that use the force flag for the time
being.
BTW, the db update in [testing] has epoch=1 as the db-4.9
On 30/10/10 23:40, Xavier Chantry wrote:
On Sat, Oct 30, 2010 at 3:01 PM, Nagy Gaborng...@bibl.u-szeged.hu wrote:
Wouldn't this cause a notable slow-down?
I thought the issue was rather that the local db entries would be
synced when the actual package files are probably not synced.
But if
11 matches
Mail list logo