Skip to content

Revise the RPackage::installedFiles() implementation#207

Merged
mvo5 merged 1 commit into
mvo5:masterfrom
amaa-99:39-merge-revise-the-rpackageinstalledfiles-implementation
Jul 8, 2026
Merged

Revise the RPackage::installedFiles() implementation#207
mvo5 merged 1 commit into
mvo5:masterfrom
amaa-99:39-merge-revise-the-rpackageinstalledfiles-implementation

Conversation

@amaa-99

@amaa-99 amaa-99 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Changed the implementation to return std::string instead of relying on a static variable for storage lifetime.
Avoided calling FileExists() twice in case the file was already found.
Added returning an informative message in case the list can't be retrieved.
Added skipping the insertion of empty lines instead of relying on a single empty line always being read from the input file. Removed the unused HAVE_RPM variant of RPackage::installedFiles().
(closes amaa-99#39)

@amaa-99 amaa-99 force-pushed the 39-merge-revise-the-rpackageinstalledfiles-implementation branch 4 times, most recently from db5c6a6 to 7322935 Compare July 6, 2026 19:08
Changed the implementation to return std::string instead of relying on a static variable for storage lifetime.
Avoided calling FileExists() twice in case the file was already found.
Added returning an informative message in case the list can't be retrieved.
Added skipping the insertion of empty lines instead of relying on a single empty line always being read from the input file.
Removed the unused HAVE_RPM variant of RPackage::installedFiles().
@amaa-99 amaa-99 force-pushed the 39-merge-revise-the-rpackageinstalledfiles-implementation branch from 7322935 to a815a9b Compare July 7, 2026 10:04

@mvo5 mvo5 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Nice!

@mvo5 mvo5 merged commit 2bbc899 into mvo5:master Jul 8, 2026
1 check passed
@amaa-99 amaa-99 deleted the 39-merge-revise-the-rpackageinstalledfiles-implementation branch July 8, 2026 08:51
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.

Merge: Revise the RPackage::installedFiles() implementation

2 participants