Skip to content

Conversation

valepakh
Copy link

@valepakh valepakh commented May 21, 2025

Fix for the #463
The Directive is not an enum, but a class so string coercion doesn't work here

Also the test with eachLine was not properly testing it.
First, the fileType was not of a proper type, second, eachLine on a string with 1 line was not testing the second term.

Proper test for the CONFIG flag was added to the DebCopyAction so now it recognizes it even when it's combined with other flags.
Combining flags is moved to the common code so it's possible to write fileType CONFIG | NOREPLACE in the common configuration section and it will be picked by both rpm and deb.
The test for the rpm is added but it's disabled for some reason so I left it as is, although I checked it locally.

@valepakh
Copy link
Author

valepakh commented Sep 8, 2025

@rpalcolea could you please take a look at this?

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