-
Notifications
You must be signed in to change notification settings - Fork 245
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
Ignore failed pull request comments #92
Conversation
db32f62
to
325c5a2
Compare
@jhass I assume that GitHub is also using |
Sure, trying to reduce those failures is good, but I view that as a separate change. Maybe there's a logger I can throw a error or fatal at to not completely swallow it? What I want to get rid of is failure of posting further valid comments if there's an invalid one in the middle. |
The diff output of the local git version and Github is not always consistent especially in areas where file renames happened, Github tends to recognize these better, leading to messages we can't post because their diff position is non-existent on Github.
325c5a2
to
0127cbd
Compare
I added printing a warning to stderr. |
Ignore failed pull request comments
@jhass thanks, you'll be certainly be the MVP of Pronto |
Well, I wanted to move away from HoundCI since it ignores our configs all the time, so we tried running Pronto in an automated fashion and found these issues ;) |
Mmh, looking into preparing to try with the |
But it does set it https://github.com/libgit2/rugged/blob/e5de8acfbaf159c043444804260f9ade753267a4/ext/rugged/rugged_diff.c#L130-L132, weird, we'll see I guess |
@jhass are those diaspora configs? 😄
Seems to be implemented in libgit2, maybe only the docs are out of date: https://github.com/libgit2/libgit2/search?utf8=%E2%9C%93&q=patience |
Yeah ;) |
@jhass wow. Do tell if you'll end up switching to |
Well, Hound is disabled and we're running Pronto (with my patches) for a while now, check the activity of @diaspora-code-review ;) |
The diff output of the local git version and Github is not always consistent
especially in areas where file renames happened, Github tends to recognize
these better, leading to messages we can't post because their diff position is
non-existent on Github.