Skip to content

patch: migrate to prebuilidify + flowzone + upgrade all deps#83

Open
aethernet wants to merge 4 commits into
masterfrom
aethernet/flowzone
Open

patch: migrate to prebuilidify + flowzone + upgrade all deps#83
aethernet wants to merge 4 commits into
masterfrom
aethernet/flowzone

Conversation

@aethernet
Copy link
Copy Markdown
Contributor

switch from prebuild to prebuildify
switch from travisci + appveyor to flowzone
upgrade deps

@aethernet aethernet marked this pull request as draft December 5, 2023 11:14
Comment thread README.md
## Support

If you're having any problem, please [raise an issue][newissue] on GitHub and
the Resin.io team will be happy to help.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be worth updating this to say Balena instead of Resin.io 😆

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

will do in another PR

Comment thread README.md
Comment on lines 90 to 91
- Issue Tracker: [github.com/resin-io-modules/mountutils/issues][issues]
- Source Code: [github.com/resin-io-modules/mountutils][source]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

And I guess these URLs need updating too!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

same

@dfunckt
Copy link
Copy Markdown
Contributor

dfunckt commented Dec 21, 2023

I removed the Resin CI required checks -- should be good for merging.

@aethernet aethernet marked this pull request as ready for review January 15, 2025 16:24
@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@flowzone-app flowzone-app Bot enabled auto-merge January 15, 2025 16:52
branches: [main, master]

jobs:
flowzone:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm guessing this needs some changes to continue testing on mac/windows, cc @klutchell ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Page- Flowzone still doesn't support npm tests on macos or windows, it hasn't really been a priority. It needs to be done via custom actions like we did here:

https://github.com/balena-io-modules/winusb-driver-generator/blob/master/.github/workflows/flowzone.yml
https://github.com/balena-io-modules/winusb-driver-generator/blob/master/.github/actions/test/action.yml

I would like to add multiple OS support to npm checks in Flowzone, but it complicates our testing matrix quite a bit and I don't want to slow down the pre-checks. We can open a research/project if it's worth looking into further.

Comment thread package.json
"configure": "node-gyp configure",
"build": "node-gyp build",
"build": "node-gyp-build && npm run prebuildify",
"prebuildify": "prebuildify -t 18.18.2 -t 20.5.1 --strip",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What was the reason for moving away from --all? Since the specific targets are likely to rapidly become redundant for actual usage

Comment thread package.json
"nan": "^2.14.0",
"prebuild-install": "^4.0.0"
"node-gyp-build": "^4.7.1",
"prebuildify": "^5.0.1"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Shouldn't this be a dev dependency?

Comment thread package.json
"test": "mocha tests -R spec",
"install": "prebuild-install || node-gyp rebuild",
"prebuild-release": "prebuild --all --strip"
"install": "node-gyp-build"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should this be a prepare script?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure about that one. I took it straight out of the prebuildify documentation. What would be the benefit of a using a prepare script instead?

@aethernet aethernet force-pushed the aethernet/flowzone branch 3 times, most recently from 0b81122 to 27505a6 Compare January 16, 2025 15:36
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.

6 participants