Hello,
I have already done some investigations on this, so my findings (and
questions) might help the SIG to get started on packaging dotnet for
Fedora.
To comply to the rules of Fedora packaging, the packages must be able
to build themselves. The exception is a bootstrap ([0] and [1]), where
we are allowed to use provided binaries, with approval from the
packaging committee.
Some trouble will be the number of nuget packages that are pulled in
during the build process. We need to package each individually I
guess.
From my current understanding, we have these first candidates for packages:
* dotnet-cli [2]
* dotnet-coreclr [3]
* dotnet-corefx [4]
* msbuild [5]
If I understand correctly, msbuild can be built with target Mono or
target CoreCRL.
There is ongoing work on the xplat branch of msbuild to target Mono [6].
The question if we end up having two packages, mono-msbuild and dotnet-msbuild?
Is mono-msbuild at all useful for dotnet, ie. can we compile dotnet
packages with mono-msbuild? That needs to be investigated.
dotnet-corefx depends on dotnet-coreclr?
Both depend on dotnet-cli?
Are those statements correct?
I have not tried that yet.
Omair, by the way, good to have you onboard!
Can you shed some light on these questions?
All the best,
Timotheus
[0]:
https://fedoraproject.org/wiki/Packaging:Guidelines#Exceptions
[1]:
https://fedoraproject.org/wiki/Packaging:Guidelines#Bootstrapping
[2]:
https://github.com/dotnet/cli
[3]:
https://github.com/dotnet/coreclr
[4]:
https://github.com/dotnet/corefx
[5]:
https://github.com/Microsoft/msbuild
[6]:
https://github.com/Microsoft/msbuild/tree/xplat