Renato Golin via llvm-dev
2020-Sep-13 19:34 UTC
[llvm-dev] [cfe-dev] Phabricator -> GitHub PRs?
On Sun, 13 Sep 2020 at 15:51, Hubert Tong <hubert.reinterpretcast at gmail.com> wrote:> If you mean "amend" the message in the Web UI before merging, then yes, >> they let you change the message, but it's very easy to forget to do >> that. > >That's what I meant, yes. "Easy to forget" generally goes away when you repeat it enough times. Also, occasionally forgetting to edit the commit message is not an egregious thing. It's not like the default message is wrong or anything. You could even remember, but GitHub's web application (at least when used> with Firefox) could, after failing due to transient connection problems, > revert your message changes. This is in addition to the annoyance of GitHub > pages reloading with outdated state and previously-submitted messages > appearing as being under draft. >Right, I think this is more of a browser issue than a git issue, but I agree it does have an effect on the commit message. I don't think the web page would directly have that effect, so perhaps when using unstable connections, reverting to use the plain website for merges would help. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200913/91bdae54/attachment.html>
Hubert Tong via llvm-dev
2020-Sep-13 20:36 UTC
[llvm-dev] [cfe-dev] Phabricator -> GitHub PRs?
On Sun, Sep 13, 2020 at 3:34 PM Renato Golin <rengolin at gmail.com> wrote:> On Sun, 13 Sep 2020 at 15:51, Hubert Tong < > hubert.reinterpretcast at gmail.com> wrote: > >> If you mean "amend" the message in the Web UI before merging, then yes, >>> they let you change the message, but it's very easy to forget to do >>> that. >> >> > That's what I meant, yes. "Easy to forget" generally goes away when you > repeat it enough times. > > Also, occasionally forgetting to edit the commit message is not an > egregious thing. It's not like the default message is wrong or anything. > > You could even remember, but GitHub's web application (at least when used >> with Firefox) could, after failing due to transient connection problems, >> revert your message changes. This is in addition to the annoyance of GitHub >> pages reloading with outdated state and previously-submitted messages >> appearing as being under draft. >> > > Right, I think this is more of a browser issue than a git issue, but I > agree it does have an effect on the commit message. > > I don't think the web page would directly have that effect, so perhaps > when using unstable connections, reverting to use the plain website for > merges would help. >As far as I know, I am using the web interface GitHub provides for (squash+)merging approved PRs. As in, yes, the web page causes me the issue I described. Maybe there's a command line tool that does a better job with the GitHub APIs. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200913/a64e54cb/attachment.html>
Renato Golin via llvm-dev
2020-Sep-13 20:51 UTC
[llvm-dev] [cfe-dev] Phabricator -> GitHub PRs?
On Sun, 13 Sep 2020 at 21:37, Hubert Tong <hubert.reinterpretcast at gmail.com> wrote:> As far as I know, I am using the web interface GitHub provides for >> (squash+)merging approved PRs. As in, yes, the web page causes me the issue >> I described. Maybe there's a command line tool that does a better job with >> the GitHub APIs. >> >Ug, ok, that's bad. I thought you meant a browser plugin. Few things I can think to help are: * If you have commit rights, squash locally and push to master directly * Otherwise, ask for someone else to squash merge for you if your connection won't improve soon But if this is a transient thing, and it happens without notice, then I still don't think the end result is such a horrible state. I'd only treat it as a problem if a lot of people start having that often, but if this is the case, then Github has bigger problems and we won't be the only ones. Did you open a ticket with Github about this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200913/74f6ebb8/attachment.html>