Join GitHub today
x/build/cmd/gerritbot: auto-wrap description #24832
Per https://go-review.googlesource.com/c/vgo/+/105335/9//COMMIT_MSG#9 it would be good/nice to have gerritbot auto-wrap the first comment to save people having to do this by hand (which in a webpage text box is painful)
referenced this issue
Apr 13, 2018
I'm not entirely comfortable with breaking long lines in the CL description. Those lines might be source code or other text with meaningful line breaks. I don't care much what happens with text that people type into the edit box on the web page, but I don't see how to reliably do the right thing with description sent in via
@ianlancetaylor - might be I've misclassified this for "gerritbot"; I was only looking to automate the wrapping of the description take from the Github PR when populating the CL description.
i.e. for golang/vgo#3 we would auto-wrap the description that is in the first comment:
Or did I misunderstand your point?