Closed luisramos0 closed 3 years ago
This comment was where the initial list of 235 spree_core files that we needed were listed. These files were copied, merged or ignored.
These were the initial stats: 133 are live code classes:
102 are test code classes (a lot of these will be ignored):
This is the list of issues and PRs that were created gradually to move the files to OFN:
And this is the list of files remaining:
Some DB default data:
core/db/default/spree/roles.rb COPY
core/db/default/spree/zones.rb MAYBE COPY
I am not sure we need these:
core/app/models/spree/product/scopes.rb MAYBE NO COPY - see product_fitlers, do we use this?
core/spec/models/spree/product/scopes_spec.rb see previous
core/app/models/spree/product_scope/scopes.rb MAYBE NO COPY same as above
core/app/models/spree/variant/scopes.rb MAYBE NO COPY same as above
core/spec/models/spree/variant/scopes_spec.rb see previous
oh, this is done.
What we should change and why (this is tech debt)
Quick summary of the reasons to do this:
In this epic we remove spree_core dependency and bring to OFN the spree models that we really need on our side. We will need to move a few 1000s of lines of code but the task is relatively simple to execute :tada:
We need to start with a detailed analysis of what decorators exist in OFN and what files from spree_core we will need to bring.