-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix git #3441
Fix git #3441
Conversation
This reverts commit 3385305.
On prod:
|
Maybe upgrade
|
Can we use gitpython? |
Yea, our entire VCS backend needs a lot more work and testing. |
@ericholscher I have the same behaviour that the one you mentioned here in my computer
but it seems that the way we are executing that command from inside the RTD code automatically escapes it or something since I found this issue by running the command with RTD. |
@humitos quotes are needed, because |
@ericholscher so, Edit bug is back? What about upgrading git requirement to 2.x? |
"Edit in Github" for annotated tags bug (#3302) is back. The rest should work without any problem. |
Why it is not possible to just update |
Upgrading the |
It does. Both commands that were run by @ericholscher on prod fail, but this one (with quotes around format string) fails because of old git version (1.9.1):
Try it on your system with
|
Yes. It works in my system from the terminal but it doesn't work when that
command is ran by the RTD code. It seems there is something wrong when
scapping the quotes
El 1 ene. 2018 2:09 a. m., "anatoly techtonik" <[email protected]>
escribió:
… It does. Both commands that were run by @ericholscher
<https://github.com/ericholscher> on prod fail, but this one (with quotes
around format string) fails because of old git version (1.9.1):
***@***.***:~/checkouts/readthedocs.org/user_builds/pip/checkouts/latest$ git for-each-ref --format="%(if)%(*objectname)%(then)%(*objectname)%(else)%(objectname)%(end) %(refname)" refs/tags
fatal: unknown field name: if
Try it on your system with git 2.x:
git for-each-ref --format="%(if)%(*objectname)%(then)%(*objectname)%(else)%(objectname)%(end) %(refname)" refs/tags
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3441 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAO7sOnx0EvDd2P4qoF8nAZzCUBMtoGkks5tGITAgaJpZM4RK2dT>
.
|
I see. Need to modify tests to actually run |
This is required to fix Edit button on annotated tags readthedocs#3441 (reverted fix)
No description provided.