mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 21:32:52 +00:00
[PR #74] [MERGED] RPM: Only flag files in /usr/share/doc as Doc #219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/74
Author: @qmfrederik
Created: 8/31/2018
Status: ✅ Merged
Merged: 8/31/2018
Merged by: @qmfrederik
Base:
master← Head:fixes/rpm-doc-files📝 Commits (3)
c47ecd0Only mark files in "/usr/share/doc" as documentation files5e80a6fUpdate Docker files with fixes for RPM packages03a32b1Skip distros for which we don't specify libicu dependencies📊 Changes
5 files changed (+505 additions, -7 deletions)
View changed files
📝
.travis.yml(+6 -4)📝
Packaging.Targets/Rpm/FileAnalyzer.cs(+1 -3)📝
demo/cliscd/centos.7-x64/reference.txt(+166 -0)📝
demo/cliscd/fedora.28-x64/reference.txt(+166 -0)📝
demo/cliscd/ol.7-x64/reference.txt(+166 -0)📄 Description
We used a fairly odd heuristic to determine which files are flagged as 'documentation' in RPM packages. This caused most non-executable files to be marked as docs. This would include, say, the .NET assemblies and any HTML/js/css/... artifacts for ASP.NET Core apps.
By default, most distro's will not install documentation files in containers, and this change would cause the resulting installation to be unusable (because, for example, the .NET assemblies are missing).
This PR fixes that.
Fixes #61
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.