Skip to content

Move noask_file_text to platform#1946

Draft
ekohl wants to merge 1 commit into
voxpupuli:masterfrom
ekohl:clean-host-file
Draft

Move noask_file_text to platform#1946
ekohl wants to merge 1 commit into
voxpupuli:masterfrom
ekohl:clean-host-file

Conversation

@ekohl

@ekohl ekohl commented Aug 12, 2025

Copy link
Copy Markdown
Member

This really depends on the platform and doesn't belong in the file abstraction.

if !check_for_command('pkgutil')
# https://www.opencsw.org/package/pkgutil/
noask_text = self.noask_file_text
noask_text = self['platform'].noask_file_text

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the only use. Should it instead move to a private helper in this class?

This really depends on the platform and doesn't belong in the file
abstraction.
@ekohl ekohl marked this pull request as draft August 12, 2025 14:08
@ekohl

ekohl commented Aug 12, 2025

Copy link
Copy Markdown
Member Author

The tests should be moved too. Before I do, I'd like an answer to #1946 (comment)

@bastelfreak

Copy link
Copy Markdown
Member

How likely is it that people use beaker to test solaris 10? can't we just drop the code?

@ekohl ekohl mentioned this pull request Aug 12, 2025
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.

2 participants