From ed239b2f46ea7af86009fc36de8aa6558260db67 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 24 Mar 2009 21:02:55 +0100 Subject: [PATCH] - update Entropy TODO - entropy.db: always run SQL table updates even on live --- docs/TODO | 3 ++- libraries/entropy/db.py | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/TODO b/docs/TODO index b12771a9d..7f7e2f6b2 100644 --- a/docs/TODO +++ b/docs/TODO @@ -2,7 +2,8 @@ TODO list Proposed for Entropy 1.0 (before and after) (requires API changes, perhaps): - - server-side timestamp creation on each upload + - server-side deptest should only complain about the default repo + - server-side timestamp creation on each upload (inside DB dir) - Improve packages injection speed - SHA512 instead of MD5 - Move entropy client settings in etpConst to SystemSettings diff --git a/libraries/entropy/db.py b/libraries/entropy/db.py index 81499207e..18af0d564 100644 --- a/libraries/entropy/db.py +++ b/libraries/entropy/db.py @@ -443,12 +443,13 @@ class LocalRepository: if not self.skipChecks: if os.access(self.dbFile,os.W_OK) and self.doesTableExist('baseinfo') and self.doesTableExist('extrainfo'): - if self.entropyTools.islive(): - # check where's the file - if etpConst['systemroot']: - self.databaseStructureUpdates() - else: - self.databaseStructureUpdates() + #if self.entropyTools.islive(): + # # check where's the file + # if etpConst['systemroot']: + # self.databaseStructureUpdates() + #else: + # self.databaseStructureUpdates() + self.databaseStructureUpdates() # now we can set this to False