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

Add FreeBSD support #435

Merged
merged 6 commits into from
Nov 18, 2020
Merged

Add FreeBSD support #435

merged 6 commits into from
Nov 18, 2020

Conversation

igalic
Copy link
Contributor

@igalic igalic commented Nov 16, 2020

Pull Request (PR) description

if we can't rely on our PATH, we're hosed anyway.

This Pull Request (PR) fixes the following issues

Fixes #434

if we can't rely on our PATH, we're hosed anyway.
@igalic
Copy link
Contributor Author

igalic commented Nov 16, 2020

n.b.: I want to add tests to this… for all supported OSes… but OpenBSD & FreeBSD aren't supported right now anyway, so…

since i don't know much about Windows, I'm leaving that as is for now.
But in terms of escaping / testing, and consolidating! our testing, it
would make sense to extend it to Windows as well.
@bastelfreak bastelfreak added the bug Something isn't working label Nov 17, 2020
Copy link
Contributor Author

@igalic igalic left a comment

Choose a reason for hiding this comment

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

let's just directly access the facts object

spec/defines/global_config_entry_spec.rb Outdated Show resolved Hide resolved
spec/defines/nodejs_npm_spec.rb Outdated Show resolved Hide resolved
Copy link
Contributor Author

@igalic igalic left a comment

Choose a reason for hiding this comment

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

this line must go to pass rubocop

spec/defines/global_config_entry_spec.rb Outdated Show resolved Hide resolved
@bastelfreak bastelfreak merged commit f558f49 into master Nov 18, 2020
@bastelfreak bastelfreak deleted the fix/freebsd branch November 18, 2020 08:18
@igalic
Copy link
Contributor Author

igalic commented Nov 18, 2020

this needs a better changelog entry, so we should at least change the title here: we now actually support FreeBSD, and it's metadata.json and as such it now has tests

@igalic igalic changed the title fix failures on BSDs by not using fully qualified path Add FreeBSD support Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nodejs::npm::global_config_entry cannot work on a platform that puts npm into a different path
3 participants