deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject Replace datamapper with sequel
Date Tue, 15 Jan 2013 15:08:52 GMT
Hi,

This is an initial attempt to replace DataMapper with more ligher
ORM (Sequel).
The main reason of doing this is lack of DataMapper RPM's in distributions
we want to support.

Pros:

- Less dependencies (sequel + sqlite3)
- More performance tunning (sequel allows to modify SQL queries to get less
  queries)
- Caching (not interesting right now, but might be in future)

Cons:

- No automigration (you will need to run fixture reset rake task)

Let me know what you think :)

If you want try this patch, please reset the 'mock' fixtures and DB using:

'rake mock:fixtures:reset'

Also please run 'bundle update' to get rid of DataMapper and install Sequel.

Let me know what you think :)

-- Michal


Mime
View raw message