Separate machinery and machinery_phoenix library
Closed this issue · 4 comments
Machinery right now makes it difficult to use it with non-phoenix projects because of its hard dependency on phoenix and ecto, also its not Phoenix 1.4 and ecto 3.0 compatible yet. I think splitting machinery into two packages machinery and machinery_phoenix/machinery_webui will improve its flexibility. Ecto itself has done it with "ecto" and "ecto_sql". Do you think it would be worth refactoring ?
Seems reasonable, I also don't like the fact of having this huge dependency when building smalle state machines, something that might be worth doing indeed for the next release
Machinery has more or less all the required features. I'll suggest forking this version into bare state machine without Ecto and phoenix and see how its adopted. That should amount to minimal work and also providing usage stats of both versions. Also upgrading Web ui will require more time because of phoenix 1.4 and other dependencies.
I've started on this. https://github.com/atonse/machinery
I've got all tests passing. I'll have to create a separate web_ui repo to put all the phoenix stuff in there.
This is done folks, I merged the PR and removed the rest into another, closing this, will try to release a new version soon