- update Entropy TODO

- entropy.db: always run SQL table updates even on live
This commit is contained in:
Fabio Erculiani
2009-03-24 21:02:55 +01:00
parent fd457af5c7
commit ed239b2f46
2 changed files with 9 additions and 7 deletions

View File

@@ -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

View File

@@ -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