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

Handle EDITOR env variable being set #6420

Closed
scbedd opened this issue Jun 27, 2023 · 3 comments
Closed

Handle EDITOR env variable being set #6420

scbedd opened this issue Jun 27, 2023 · 3 comments
Assignees
Labels
Asset-Sync Any issues relating to moving test assets out of repos.

Comments

@scbedd
Copy link
Member

scbedd commented Jun 27, 2023

Currently, the test-proxy uses lightweight tags. Process to push

# check for changes with git status, if no changes abandon
git status
git add -A .
git commit -c user=blah email=blah -m "message"
git tag <tagname>
git push <tagname>

The issue is that when EDITOR is set, pushes of tags with no commit message will PROMPT for a message. This is PROBABLY an error, as a tag with no commit message is a lightweight tag and should be fully supported by git. However, @heaths has the EDITOR var value set, and as such is getting an invisible prompt for the annotated tag message. It is invisible because vim is a CLI app, and the way that git is in a new window. No communication can happen, hang occurs.

This is tangentially related to #4720

@scbedd scbedd added the Asset-Sync Any issues relating to moving test assets out of repos. label Jun 27, 2023
@scbedd scbedd self-assigned this Jun 27, 2023
@heaths
Copy link
Member

heaths commented Jun 27, 2023

Seems it's not the EDITOR, but indeed tag.gpgsign. I'm curious how git tag -c tag.gpgsign=false ... broke the build. It's been supported for a while. How old is git on those agents?!

@scbedd
Copy link
Member Author

scbedd commented Jun 27, 2023

Abysmally old. I'll definitely add tag.gpgsign=false again and check to see if it works on the default git. Worth a shot!

@scbedd scbedd moved this from 🤔 Triage to 🐝 Dev in Azure SDK EngSys 🚢🎉 Jun 29, 2023
@scbedd
Copy link
Member Author

scbedd commented Jun 29, 2023

Closing this! Fixed and rolled out!

@scbedd scbedd closed this as completed Jun 29, 2023
@github-project-automation github-project-automation bot moved this from 🐝 Dev to 🎊 Closed in Azure SDK EngSys 🚢🎉 Jun 29, 2023
@scbedd scbedd moved this from 🎊 Closed to 🔬 Dev in PR in Azure SDK EngSys 🚢🎉 Jun 29, 2023
@kurtzeborn kurtzeborn moved this from 🔬 Dev in PR to 🎊 Closed in Azure SDK EngSys 🚢🎉 Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Asset-Sync Any issues relating to moving test assets out of repos.
Projects
Archived in project
Development

No branches or pull requests

2 participants