slashes in export
Status: Beta
Brought to you by:
worden
in the auto-migrate-wds branch, "export source files" is giving me a tarfiles where project directory names contain slashes when the project names contain slashes. Slashes are supposed to be replaced by "%2f" so all project directories will be on the same level. Oddly, the branch has the code that fixes this, but it's somehow not fixed.
Anonymous
Replacement by "%2F" is not desirable actually, because percent signs cause make to mess up.
Anyway it doesn't matter what I replace the slashes with until the other half of the bug is fixed, because they're not being replaced. This is because of using --transform=s|(directory on server)|(directory in tarfile)| once for each project, and putting the projects in the wrong order - project X before project X/Y - so that the transformation for X gets applied to the files in X/Y and the transformation for X/Y isn't used. I need to somehow guarantee that they get included in the other order.
I put a FIXME comment to that effect in ProjectEngine/PEOperation.php.
Wait, so if that's true then the problem is that there's a slash in the working directory name for X/Y. I should fix that and the problem will vanish.