https://bugzilla.redhat.com/show_bug.cgi?id=2537836



--- Comment #4 from Omair Majid <[email protected]> ---
Thanks for the review! I appreciate the feedback.

Here's a quick (runtime) dependency graph of the .NET packages:

```
digraph G {
  rankdir=LR;
  node [fontname="Helvetica", fontsize=10];
  "aspnetcore-runtime-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "aspnetcore-runtime-dbg-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "aspnetcore-targeting-pack-11.0" [style=filled, fillcolor=lightblue,
shape=box];
  "dotnet-apphost-pack-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-host" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-hostfxr-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-runtime-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-runtime-dbg-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-sdk-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-sdk-11.0-source-built-artifacts" [style=filled, fillcolor=lightblue,
shape=box];
  "dotnet-sdk-aot-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-sdk-dbg-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-targeting-pack-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet-templates-11.0" [style=filled, fillcolor=lightblue, shape=box];
  "dotnet11.0" [style=filled, fillcolor=lightblue, shape=box];
  "aspnetcore-runtime-11.0" -> "dotnet-runtime-11.0" [color="blue",
penwidth=2.0];
  "aspnetcore-runtime-dbg-11.0" -> "aspnetcore-runtime-11.0" [color="blue",
penwidth=2.0];
  "aspnetcore-targeting-pack-11.0" -> "dotnet-host" [color="blue",
penwidth=2.0];
  "dotnet-apphost-pack-11.0" -> "dotnet-host" [color="blue", penwidth=2.0];
  "dotnet-hostfxr-11.0" -> "dotnet-host" [color="blue", penwidth=2.0];
  "dotnet-runtime-11.0" -> "dotnet-hostfxr-11.0" [color="blue", penwidth=2.0];
  "dotnet-runtime-11.0" -> "libicu" [color="gray", style="dashed"];
  "dotnet-runtime-dbg-11.0" -> "dotnet-runtime-11.0" [color="blue",
penwidth=2.0];
  "dotnet-sdk-11.0" -> "aspnetcore-runtime-11.0" [color="blue", penwidth=2.0];
  "dotnet-sdk-11.0" -> "aspnetcore-targeting-pack-11.0" [color="blue",
penwidth=2.0];
  "dotnet-sdk-11.0" -> "dotnet-apphost-pack-11.0" [color="blue", penwidth=2.0];
  "dotnet-sdk-11.0" -> "dotnet-runtime-11.0" [color="blue", penwidth=2.0];
  "dotnet-sdk-11.0" -> "dotnet-targeting-pack-11.0" [color="blue",
penwidth=2.0];
  "dotnet-sdk-11.0" -> "dotnet-templates-11.0" [color="blue", penwidth=2.0];
  "dotnet-sdk-aot-11.0" -> "brotli-devel" [color="gray", style="dashed"];
  "dotnet-sdk-aot-11.0" -> "clang" [color="gray", style="dashed"];
  "dotnet-sdk-aot-11.0" -> "dotnet-sdk-11.0" [color="blue", penwidth=2.0];
  "dotnet-sdk-aot-11.0" -> "openssl-devel" [color="gray", style="dashed"];
  "dotnet-sdk-aot-11.0" -> "zlib-devel" [color="gray", style="dashed"];
  "dotnet-sdk-dbg-11.0" -> "dotnet-sdk-11.0" [color="blue", penwidth=2.0];
  "dotnet-targeting-pack-11.0" -> "dotnet-host" [color="blue", penwidth=2.0];
  "dotnet-templates-11.0" -> "dotnet-host" [color="blue", penwidth=2.0];
}
```


(In reply to Yaakov Selkowitz from comment #3)
> Ran fedora-review on the latest copr builds.  After filtering out the
> various false alarms and exceptions, a few minor things stick out:
> 
> * `%{_libdir}/dotnet` is owned only if dotnet-host is installed, and that's
> not built if it's not the latest version.  Is there a use case where another
> subpackage would be installed without (some version of) dotnet-host?

I can't see such a use-case. If anything needs any package or subpackage
related to .NET, (runtime, SDK, application server) all those components have a
dependency on dotnet-host. The dependency graph above should make that clearer.

`{%libdir}/dotnet` is also owned by dotnet-sdk-11.0-source-built-artifacts. We
could make -source-built-artifacts depend on dotnet-host directly. However, no
one can actually use -source-built-artifacts without a .NET SDK (which would
bring in dotnet-host again).

> * The license files are only installed by dotnet-host, and that's not built
> if it's not the latest version.  Same question?

Same thing. There's no practical way to get a usable part of dotnet without
getting `dotnet-host` too.

> * Per https://fedoraproject.org/wiki/Changes/Sequoia_openpgpverify, please
> BuildRequires: openpgpverify (instead of gnupg2) and use %{openpgpverify}
> instead of %{gpgverify}.

Fixed:
https://forge.fedoraproject.org/dotnet/dotnet11.0/commit/7b8777254b415d0feb49a0a457450d0fc7297865

Running a build now:
https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet-preview/build/11095470/


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2537836

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202537836%23c4

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to