Hi,
we just released a new Spree extension that helps deleting unneeded data created by Spree from database.
https://github.com/nebulab/spree-garbage-cleaner
The extension works defining a couple of rake task, one to verify how many records will be deleted (rake db:garbage:stats) and another that does the job (rake db:garbage:cleanup). Records to be deleted are incomplete orders and anonymous users, considered as garbage if older then 7 days (as editable preference).
We built the extension as a starting point and we have tried to make it easily extendable to other models or configurations if needed.
We need the community to help us understand if we didn't consider (or left out) something so we would like to receive some feedback from spree users to improve the extension.
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
Thanks, we are glad our work is appreciated.
We are also working on a branch for older versions (without namespace) for some of our stores. If someone is interested in a specific version let us know. We can try to provide a tested branch for that version too.
Alberto Vena
We used that version to run tests but the extension should work with every Spree version after the namespace refactor. Do you think we have to set dependencies in another way?
P.S. pull requests are welcome. :)
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/L9ojM77qnYUJ.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/_7kfIvMafZcJ.