1cc4f2e [models] Try to unify multiple ways to compute state_string

6 files Authored by msimacek 6 years ago, Committed by mizdebsk 6 years ago,
    [models] Try to unify multiple ways to compute state_string
    
    There were two ways of computing package state_string:
    - state_string instance method doing in python evaluation
    - state_string_expression attribute doing the evaluation in the database
    
    This attempts to unify them by keeping the SQL one and providing a basic
    facility for in-python evaluation of such simple queries, based on
    sqlachemy.evaluator
    
        
file modified
+50 -2
file modified
+2 -1
file modified
+2 -3
file modified
+16 -39
file modified
+13 -0
file modified
+25 -0