-
Notifications
You must be signed in to change notification settings - Fork 79
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
Allow symlinks in gh-pages #37
Comments
os.walk doesn't follow symlinks by default. If you want to add a PR to make that an option I'd be willing to add that. |
I had to reorganize some other things and this became an easy add so ghp-import now supports passing -l on the command line to follow symlinks out of your docs directory. |
ghp-import did not push symlinks within directory. However, the versioned directory setup requires symlinks to operate as intended. Refs c-w/ghp-import#37
ghp-import did not push symlinks within directory. However, the versioned directory setup requires symlinks to operate as intended. Refs c-w/ghp-import#37
This build is based on 7dbb1a6. This commit was created by the following Travis CI build and job: https://travis-ci.org/dhimmel/code-96/builds/337056625 https://travis-ci.org/dhimmel/code-96/jobs/337056626 [ci skip] The full commit message that triggered this build is copied below: pickme: ghp-import restore --follow-links ghp-import did not push symlinks within directory. However, the versioned directory setup requires symlinks to operate as intended. Refs c-w/ghp-import#37
This build is based on 7dbb1a6. This commit was created by the following Travis CI build and job: https://travis-ci.org/dhimmel/code-96/builds/337056625 https://travis-ci.org/dhimmel/code-96/jobs/337056626 [ci skip] The full commit message that triggered this build is copied below: pickme: ghp-import restore --follow-links ghp-import did not push symlinks within directory. However, the versioned directory setup requires symlinks to operate as intended. Refs c-w/ghp-import#37
For reference, the commit was cb1dd9a.
This is not a great description of the current behavior of Or the README mention:
Here is where Specifically, it is passed through to
So from reading this, I believe the behavior of ghp-import without --follow-links is to follow symlinks for files but not directories. With --follow-links, the behavior is follow symlinks for files and directories. I'm going to open another issue regarding symlinks, but wanted to understand the current behavior first, hence posting to this issue. |
ghp-import did not push symlinks within directory. However, the versioned directory setup requires symlinks to operate as intended. Refs c-w/ghp-import#37
For a strange use case, we have a gh-pages directory that requires a symlink. The symlink is fine in the build directory, but never comes across when using gh-pages.
In my quick read of the code, I can't see anything obvious that would allow us to bring symlinks across. It would be great if this could be supported
The text was updated successfully, but these errors were encountered: