Skip to content

RTD project failing to init/update submodules. #5721

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

Closed
tgamblin opened this issue May 23, 2019 · 2 comments
Closed

RTD project failing to init/update submodules. #5721

tgamblin opened this issue May 23, 2019 · 2 comments
Labels
Support Support question

Comments

@tgamblin
Copy link

tgamblin commented May 23, 2019

Details

I'm trying to set up a single repository for localized documentation projects, and that involves having a submodule for my main project, with a lot of "fake" symlink tree directories in docs/* that point back to the main project and differ only in what language is set in config.py. This build was working before but it seems to have gotten into a weird state.

Expected Result

Project is checked out and submodules are inited and updated, as they would be for this sequence of commands:

git clone https://github.com/spack/localized-docs.git
cd localized-docs
git submodule init
git submodule update
cd docs/ja
sphinx-build -b html -d _build/doctrees  -W . _build/html

These commands work on my laptop, so I am not sure what's going on with the RTD directory.

Actual Result

Project is checked out and symlinks into a submodule directory fail to resolve. This results in a requirements.txt not found error.

@saadmk11 saadmk11 added the Support Support question label May 23, 2019
@stsewd
Copy link
Member

stsewd commented May 23, 2019

This is because we now validate these files before the fetching submodules, we are moving these validations to a later step #5627

See #5238

@stsewd stsewd closed this as completed May 23, 2019
@tgamblin
Copy link
Author

Thanks! This enabled me to get things working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants