Refactor #80
closed
Reports data should be accessed in a simple way
Added by Ohad Levy almost 15 years ago.
Updated over 14 years ago.
Description
Currently report status is stored in one integer, it should be broken down into multiple database tables allowing to reduce the size of the database (by not storing the entire Puppet::Transaction::Report).
this should allow to search in a more rails way for all hosts that has a report with change count > 20
- Target version deleted (
0.1-3)
as the new version of puppet is going to be a massive rewrite of how reports are handled, I'm going to push this db schema changes until its clear what info puppet will provide.
additionally, I was never really happy with my ideas for the schema structure, so any ideas are welcomed.
Ohad Levy wrote:
I've created http://github.com/ohadlevy/foreman/tree/report_scopes
I think it solves all of the topics in this issue without changing the database schema - I'll appreciate a code review :)
well.. I've just learned that indexes do not work on bitwise columns.. even though I really like that code...
- Target version set to 0.1-3
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF