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

lookup: add "native" tag for native modules #378

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

gibfahn
Copy link
Member

@gibfahn gibfahn commented Mar 1, 2017

Fixes: #377

  • npm test passes
  • contribution guidelines followed here
  • commit message follows commit guidelines

cc/ @richardlau

richardlau

This comment was marked as off-topic.

gdams

This comment was marked as off-topic.

@gibfahn
Copy link
Member Author

gibfahn commented Mar 2, 2017

@gdams We should build on 7.7.0 with --exclude-tag native and make sure it's green.

@gdams
Copy link
Member

gdams commented Mar 2, 2017

@gdams We should build on 7.7.0 with --exclude-tag native and make sure it's green.

https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/619/

@MylesBorins
Copy link
Contributor

it is worth mentioning that the way we do testing of native module 7.7.0 will still pass. this is something we should explore separately, specifically building using that header compiled with make rather than the source tree

@gibfahn
Copy link
Member Author

gibfahn commented Mar 2, 2017

@MylesBorins I meant that we should run https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker-nobuild (which was previously called https://ci.nodejs.org/view/Node.js-citgm/job/gibfahn-citgm-smoker-more-platforms). That job fetches from nodejs.org, so it should pick up the failures (I hope).

@gdams
Copy link
Member

gdams commented Mar 2, 2017

@richardlau
Copy link
Member

That job fetches from nodejs.org, so it should pick up the failures (I hope).

Not if run with --exclude-tag native 😄

@gibfahn
Copy link
Member Author

gibfahn commented Mar 2, 2017

@richardlau Yeah, --exclude-tag native should all pass, --include-tag native should all fail...

@gdams
Copy link
Member

gdams commented Mar 3, 2017

So level failed on ppcle & ppcbe but nothing else.

This is because it has a dependency on leveldown, which is a native module, but downloads prebuilt binaries for most platform.

@gdams
Copy link
Member

gdams commented Mar 4, 2017

lets get #292 landed and then you can add the native tags to those modules too

gdams

This comment was marked as off-topic.

@gibfahn
Copy link
Member Author

gibfahn commented Mar 6, 2017

I think we need to think about whether a native module that uses node-pre-gyp to download binaries is a native module. Obviously it technically is, but from the point of view of CitGM maybe we need two categories, maybe native-build and native-download (although that'd be platform specific so difficult to do).

Alternately we could just make sure we specify the --build-from-source flag (or the npm config variable) and try to force everything to build from source. We could even try to disable the network while that part of the install is happening.

@gibfahn
Copy link
Member Author

gibfahn commented Mar 22, 2017

@gdams updated

gdams

This comment was marked as off-topic.

@gibfahn gibfahn requested a review from MylesBorins March 22, 2017 15:25
@gdams
Copy link
Member

gdams commented Apr 10, 2017

@nodejs/citgm can we get some reviews please

targos

This comment was marked as off-topic.

@gibfahn
Copy link
Member Author

gibfahn commented Apr 10, 2017

@MylesBorins you okay with me landing this?

MylesBorins

This comment was marked as off-topic.

@gibfahn gibfahn merged commit 83438bf into nodejs:master Apr 10, 2017
@gibfahn
Copy link
Member Author

gibfahn commented Apr 10, 2017

Backported to v1.x in 2b2e00a

@gibfahn gibfahn deleted the tag-native branch April 10, 2017 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants