- update Entropy TODO
- entropy.db: always run SQL table updates even on live
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user