Menu

#169 slashes in export

open
nobody
None
5
2012-08-15
2012-02-29
Lee Worden
No

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.

Discussion

  • Lee Worden

    Lee Worden - 2012-04-14

    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.

     
  • Lee Worden

    Lee Worden - 2012-04-14

    I put a FIXME comment to that effect in ProjectEngine/PEOperation.php.

     
  • Lee Worden

    Lee Worden - 2012-04-14

    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.

     

Anonymous
Anonymous

Add attachments
Cancel