Skip to content

Added support for Alpine Linux#1655

Open
pgpleroux wants to merge 5 commits intoRexOps:masterfrom
pgpleroux:master
Open

Added support for Alpine Linux#1655
pgpleroux wants to merge 5 commits intoRexOps:masterfrom
pgpleroux:master

Conversation

@pgpleroux
Copy link

@pgpleroux pgpleroux commented Feb 27, 2026

Added Alpine Linux + syntax fixes

Made perlcrit happy
Changed .perlcritic to not force stupid rules
Changed $hash{'key'} to $hash{key} even if I disabled TooMuchCode::ProhibitDuplicateLiteral because it is better style

Fixed serious bug in all affected code:
eval "use $class" will ALWAYS return undef!
changed to use Class::Load in affected code
detected 78 other uses of this, including in test - not fixed
Other serious bugs discovered at test:
I added 'use strict' that caused tests to fail - will fix it

This pull request proposes to fix # by .

Checklist towards merging

  • (re)based on top of latest source code
  • has changelog entry
  • automated tests pass
  • has clean git history
  • has well-written commit messages

Made perlcrit happy
Changed .perlcritic to not force stupid rules
Changed $hash{'key'} to $hash{key} even if I disabled TooMuchCode::ProhibitDuplicateLiteral because it is better style
Fixed serious bug in all affected code:
  eval "use $class" will ALWAYS return undef!
  changed to use Class::Load in affected code
  detected 78 other uses of this, including in test - not fixed
Except t/file.t strange undefined is_windows() :-(
Missing dependencies added:
* IPC::Shareable.pm
* String::Escape
Commented windows out in t/file.t
GitHub is confusing me ... :-)
Rex::Hardware::Network depends on Rex::Commands::Gather
but was 'use Rex::Hardware::Network' in Gather
caused by circular Rex::Hardware::Network
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.

1 participant