[PR #171] [MERGED] Add support for Recommended packages on Debian #284

Open
opened 2026-01-29 16:31:51 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quamotion/dotnet-packaging/pull/171
Author: @qmfrederik
Created: 9/17/2020
Status: Merged
Merged: 9/17/2020
Merged by: @qmfrederik

Base: masterHead: features/deb-recommends


📝 Commits (2)

  • 64cd20f Add support for recommended packages on Debian
  • 1e5bd1e Add unit tests

📊 Changes

4 files changed (+67 additions, -1 deletions)

View changed files

📝 Packaging.Targets.Tests/Deb/DebPackageCreatorTests.cs (+44 -0)
📝 Packaging.Targets/Deb/DebPackageCreator.cs (+7 -1)
📝 Packaging.Targets/DebTask.cs (+15 -0)
📝 Packaging.Targets/build/Packaging.Targets.targets (+1 -0)

📄 Description

Debian packages can define 'recommended' dependencies, which are strong, but not absolute, dependencies.

This PR adds support for that. A .NET project can define a recommended package by specifying the DebRecommends property, like this:

  <ItemGroup>
    <DebRecommends Include="libssl1.1" />
  </ItemGroup>

Recommended packages are installed by default, unless the --no-install-recommends flag is specified when running apt-get install.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/quamotion/dotnet-packaging/pull/171 **Author:** [@qmfrederik](https://github.com/qmfrederik) **Created:** 9/17/2020 **Status:** ✅ Merged **Merged:** 9/17/2020 **Merged by:** [@qmfrederik](https://github.com/qmfrederik) **Base:** `master` ← **Head:** `features/deb-recommends` --- ### 📝 Commits (2) - [`64cd20f`](https://github.com/quamotion/dotnet-packaging/commit/64cd20ff5d0d6af33fdd974c9cfdc4623105b83f) Add support for recommended packages on Debian - [`1e5bd1e`](https://github.com/quamotion/dotnet-packaging/commit/1e5bd1e4c2c6c92dbf92848beeac137e89824865) Add unit tests ### 📊 Changes **4 files changed** (+67 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Packaging.Targets.Tests/Deb/DebPackageCreatorTests.cs` (+44 -0) 📝 `Packaging.Targets/Deb/DebPackageCreator.cs` (+7 -1) 📝 `Packaging.Targets/DebTask.cs` (+15 -0) 📝 `Packaging.Targets/build/Packaging.Targets.targets` (+1 -0) </details> ### 📄 Description Debian packages can define ['recommended' dependencies](https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends), which are _strong, but not absolute, dependencies_. This PR adds support for that. A .NET project can define a recommended package by specifying the `DebRecommends` property, like this: ```xml <ItemGroup> <DebRecommends Include="libssl1.1" /> </ItemGroup> ``` Recommended packages are installed by default, unless the `--no-install-recommends` flag is specified when running `apt-get install`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:31:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#284