-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use relative path for local environment #137
Comments
IIRC it wasn't working :) |
Wordmove was successfully pulling content, with a local path of ".", however the find and replaces yielded incorrect results when pushing. It seems unreasonable to insist that all developers have absolutely identical setups. I expect that placing the |
I guess we never felt the need for this feature, happy to review pull requests if you have time :) |
Can't afford to explain myself where's the constraint about
we're talking about path; you can develop sites inside What am I missing? Is all about the loss of automagic or what else? Thanks for your clarifications. |
In case anyone else is interested, I wrote a node script that you can use as a post-checkout hook with git. https://github.com/connormckelvey/hooks/blob/master/wordmove-post-checkout It will run when you clone a repository and run when you switch branches. Works pretty well for my team. |
I've opted to write down a little wiki entry w/ your contribuition here. It would be great to have some more details about the script. E.g. I've scanned the code and I have a little question: what it does if I'll checkout a branch from inside a subdirectory? Anyway your idea is just really appreciated: we like very much workflow oriented tips ;) Cheers |
@pioneerskies not quite sure what you mean by "checkout a branch from inside a subdirectory?" |
Nope :)
I know that isn't an usual path anyway |
Good point. I suppose I need to write a function to find the Movefile. |
Removing from milestone w/o mercy. I'm sorry, but more important things are there to be fixed ;) |
We have introduced internally the not-so-tricky-trick to use
and so using erb interpolation and env variable convention throughout the team. It's not documented, but I feel comfortable with the "convention over implementation" approach |
Commit b0be2f9 introduced a note in the Movefile template: "User an absolute path here".
@Arkham do you remember why?
I think that, locally, it could be useful to use relative path when working with other developers
The text was updated successfully, but these errors were encountered: