abuiles / ember-watson

An Ember.js codemod to make upgrades automatic.
https://blog.abuiles.com/ember-watson/
MIT License
306 stars 43 forks source link

idea: convert non-pod project structure to pod structure #52

Open shime opened 9 years ago

shime commented 9 years ago

it would be great to have a command that would merge the old project to the new pod structure

this is probably related to #44 and ember-cli/ember-cli#2652

knownasilya commented 9 years ago

There is already an existing effort that tries to address that same idea: https://github.com/trabus/ember-cli-podify

abuiles commented 9 years ago

Closing in favor of https://github.com/trabus/ember-cli-podify

brookjordan commented 8 years ago

Is this still being worked on?

fivetanley commented 8 years ago

@brookjordan given abuiles comment above, I would assume not.

brookjordan commented 8 years ago

@fivetanley The repo he mentioned at https://github.com/trabus/ember-cli-podify looks kinda dead.

fivetanley commented 8 years ago

I can re-open the issue, but it needs a champion. Given the difficulty level and in-flux current state of pods, I'm not sure anyone would have the time to dedicate to it.

brookjordan commented 8 years ago

Ah ok. Makes sense. Pity, I just got all excited when I was searching for a way to convert a big project and this popped up.

abuiles commented 8 years ago

I know @trabus wants to complete this but since the addon story is not certain yet we would rather hold until there is something.

I work full-time in a big project where we are using pods as they are today, so once the story is clear I'll be interested in exploring this further ... in the meantime, I won't work on it... contributions are welcome.

trabus commented 8 years ago

Yeah, I hit a wall on ember-cli-podify, which lead to ember-cli-mv and ember-cli-rename, to unblock podify. Unfortunately I hit a wall there as well, specifically updating paths and whatnot (I needed help working with ASTs). There are a lot of difficulties with moving and renaming files, that I believe we will need to add support for in watson to support this work. There is also the issue of parsing hbs files, you currently have to use regexp, which sucks.

Anyhow, I do want to pick this back up, moving the bulk of the work to ember-watson. I just need to find the time. I also had some supporting work to do on structures that should make such transforms between pods and non-pods easier.

NullVoxPopuli commented 8 years ago

Any updates on this? I have a quickly growing project that would benefit greatly from pods.

knownasilya commented 8 years ago

This probably won't move until the new pods RFC is implemented.