Skip to content
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 simpler shell syntax to deepen repository checkout #128

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

diazona
Copy link
Owner

@diazona diazona commented Dec 6, 2023

The shell used by ReadTheDocs seems to have a problem with the command used to check if a repository is shallow, so I'm replacing the use of [ (equivalent to the test builtin) with a simple pipeline that uses minimal shell syntax, just a single || operator.

Closes #124

@diazona diazona added bug Something isn't working documentation Improvements or additions to documentation labels Dec 6, 2023
@diazona diazona added this to the v0.2 milestone Dec 6, 2023
@diazona diazona self-assigned this Dec 6, 2023
The shell used by ReadTheDocs seems to have a problem with the command
used to check if a repository is shallow, so I'm replacing the use of
`[` (equivalent to the `test` builtin) with a simple pipeline that uses
minimal shell syntax, just a single `||` operator.
@diazona diazona force-pushed the fix-readthedocs-unexpected-operator/1/dev branch from 1bc724b to 476be74 Compare December 6, 2023 04:50
@diazona diazona assigned sjlongland and unassigned diazona Dec 6, 2023
@diazona diazona requested a review from sjlongland December 6, 2023 04:53
@sjlongland sjlongland merged commit 1718346 into main Dec 6, 2023
12 checks passed
@sjlongland sjlongland deleted the fix-readthedocs-unexpected-operator/1/dev branch December 6, 2023 11:23
@sjlongland
Copy link
Collaborator

KISS approach should help, let's see how it fares.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"unexpected operator" in docs build
2 participants