-
Notifications
You must be signed in to change notification settings - Fork 24
Add filtering_lines param to show issues only in modified lines #30
Conversation
@barbosa Can you take a look at this? |
Hey @ShivamPokhriyal - thank you very much for working on this. Would you want to include a few unit tests guaranteeing the logic is correct too? I can guide you through if you need any help. |
I had a quick look into the test setup and it seems like this is being used as the git diff. |
I wonder if this shouldn't be covering that case. May we need to double-check what that test is actually doing. |
Looked into this test case and now I'm wondering about the actual meaning of So, should we modify the test or create another parameter? |
@barbosa bumping again |
@ShivamPokhriyal I'd say it would be better to have another param as the original Checking "lines" only would have to have higher priority than "files" though. |
Makes sense! Any ideas on the name of the new parameter? |
filtering_lines?
…On Mon, Jun 7, 2021 at 11:02 AM Shivam Pokhriyal ***@***.***> wrote:
Makes sense! Any ideas on the name of the new parameter?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABZNSDV5UROZSANCH6JTR3TRTNRXANCNFSM45KONVOQ>
.
|
@@ -0,0 +1,14 @@ | |||
diff --git a/app/build.gradle b/app/build.gradle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using this PR https://github.com/dimagi/commcare-android/pull/2500/files for diff
@barbosa Another round of review please. |
Got it, I just have to specify local path in gemfile. |
@ShivamPokhriyal did it work as expected when running with the changes locally? Lmk and I can merge this and submit a new version of the plugin. |
Ran it locally on this PR dimagi/commcare-android#2501 and it worked fine. @barbosa
|
Just noticed that earlier I was using
The error I get is
Will look more into it tomorrow. But just wanted to flag it here to not merge the PR yet. |
1 similar comment
Just noticed that earlier I was using
The error I get is
Will look more into it tomorrow. But just wanted to flag it here to not merge the PR yet. |
Ohh nevermind, I think it was happening because git diff was using my local diff and not for PR. But now, with
probably need to change that to something like |
…issues Test will currently fail because filtering_lines implementation is buggy currently
@barbosa added the changes. Another round of review please. |
@barbosa bumping you again. |
This is now available on v0.0.9 |
Addresses #18