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

special/bin: climb up directories to find binary module #437

Merged
merged 4 commits into from Nov 1, 2019
Merged

special/bin: climb up directories to find binary module #437

merged 4 commits into from Nov 1, 2019

Conversation

sveyret
Copy link
Contributor

@sveyret sveyret commented Oct 31, 2019

Issue #436

@codecov
Copy link

codecov bot commented Oct 31, 2019

Codecov Report

Merging #437 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #437   +/-   ##
=======================================
  Coverage   99.15%   99.15%           
=======================================
  Files          36       36           
  Lines         714      714           
=======================================
  Hits          708      708           
  Misses          6        6
Impacted Files Coverage Δ
src/special/bin.js 100% <100%> (ø) ⬆️
src/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40fa69c...3d305e5. Read the comment docs.

@sveyret
Copy link
Contributor Author

sveyret commented Oct 31, 2019

Note that the same problem exists for ignoreBinPackages. I am about to update it too, please wait before merging.

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

It would seem that you need to rebase your branch against master too

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

Could you add a test too ?

@sveyret
Copy link
Contributor Author

sveyret commented Oct 31, 2019

It would seem that you need to rebase your branch against master too

Are you sure? It says it is already up to date…

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

Actually it fails because of the changes I made in a dependent build due to #433

As soon as that build passes I'll merge it and then you can rebase.

Please don't ask what is this dependent build, I'll work on removing it :)

@sveyret
Copy link
Contributor Author

sveyret commented Oct 31, 2019

Here is the rebased version with modifications made also for ignoreBinPackages.
I still need to have a look to see if I can easily add tests.

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

Some tests would be nice yes :)

Thank you for your work, it's appreciated

@sveyret
Copy link
Contributor Author

sveyret commented Oct 31, 2019

I added tests and also made some other modifications:

  • changed the per-directory .gitignore into a single one into the test directory (they all were the same)
  • removed a test which was duplicate

Each of these modification are in a separate commit for if you do not want to take them.

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

Thanks! I’ll take a look at it closely tomorrow but it looks good from my phone. Cheers

Also, happy halloween if you are into that kind of things :)

@rumpl
Copy link
Member

rumpl commented Oct 31, 2019

Unrelated but I used to work in Annecy, tres belle ville :)

@sveyret
Copy link
Contributor Author

sveyret commented Nov 1, 2019

@rumpl Just a reminder as you said you'd have a look at this one today… 😄

@@ -499,19 +499,6 @@ export default [
},
},
},
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understood well, it's doing exactly the same thing as 2 tests above (report unused bin dependencies if ignoreBinPackage equal false).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooooh good catch!

@rumpl rumpl merged commit abcff5f into depcheck:master Nov 1, 2019
@rumpl
Copy link
Member

rumpl commented Nov 1, 2019

Thanks for all the work you have been doing lately!

@sveyret sveyret deleted the moduleClimb branch November 1, 2019 21:55
@sveyret
Copy link
Contributor Author

sveyret commented Nov 1, 2019

You're welcome. Actually, I'm just making it work for my project… 😉

@rumpl
Copy link
Member

rumpl commented Nov 1, 2019

Need anything else or do you want me to make a release just for you?

@sveyret
Copy link
Contributor Author

sveyret commented Nov 1, 2019

Well, I made everything I needed, so yes, if you can make a release, that'd be great!

@rumpl
Copy link
Member

rumpl commented Nov 1, 2019

Lets get #451 in it too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants