-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Uninformative error when branch name contains a dot #1553
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
Comments
Agreed, this could be an edge case bug that wasn't covered with some changes to branch name slugging. |
Hm, I tried locally with the pypy project and built their |
I think it was a docs project @minrk had set up with his fork of the ipython/ipython GH repo to experiment. He might have more details. |
The branch name was 'conf.py-hacks' Pushing the same commit to a new branch 'target' resulted in a successful build. |
The original implementation replaced "/conf.py" with an empty string, where it only wanted to return the directory name of the conf.py file. This resulted in problems when "/conf.py" was part of the directory name! Fixes #1553.
I investigated on this and found that the problem is not related to the dot in the branch name but the substring |
Thanks, @gregmuellegger! |
We were just experimenting with some docs stuff, and @minrk created a branch name with a dot (
.
) in it. Builds on this branch all failed, and the only error message in the logs was "top level build failure". It took us a while to work out that the branch name was the problem.I don't think it's especially important to allow branch names with dots, but it would be nice to at least get an error that pointed us to the branch name.
The text was updated successfully, but these errors were encountered: