.NET Core CLI tools and runtime
Go to file
DistroBaker 0e8f5e926e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/dotnet3.1.git#428bf1314fa8a746ba7b42d456587e95b5fef149
2021-02-09 15:49:36 +01:00
tests Merged update from upstream sources 2021-01-17 22:32:43 +00:00
.gitignore Merged update from upstream sources 2021-01-17 22:32:43 +00:00
build-bootstrap-tarball RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
build-coreclr-clang10.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
build-dotnet-tarball Merged update from upstream sources 2021-01-17 22:32:43 +00:00
check-debug-symbols.py RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
cli-telemetry-optout.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
core-setup-gcc11.patch Merged update from upstream sources 2021-01-17 22:32:43 +00:00
core-setup-hardening-flags.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
coreclr-hardening-flags.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
coreclr-libunwind-fno-common.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
corefx-39633-cgroupv2-mountpoints.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
corefx-39686-cgroupv2-01.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
corefx-39686-cgroupv2-02.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
corefx-42900-clang-10.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
corefx-optflags-support.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
disable-aspnetcore-targetingpackoverride.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
dotnet3.1.spec Merged update from upstream sources 2021-02-04 14:56:19 +00:00
dotnet.sh.in RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
gating.yaml RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
rename-tarball RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
source-build-warnings-are-not-errors.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:49:41 +02:00
sources Merged update from upstream sources 2021-01-17 22:32:43 +00:00
update-release Merged update from upstream sources 2021-01-17 22:32:43 +00:00

Overview

This is the .NET Core 3.1 package for Fedora.

This package is maintained by the Fedora DotNet SIG (Special Interest Group). You can find out more about the DotNet SIG at:

Please report any issues using bugzilla.

Specification

This package follows package naming and contents suggested by upstream, with one exception. It installs dotnet to /usr/lib64/dotnet (aka %{_libdir}).

Contributing

General Changes

  1. Fork the repo.

  2. Checkout the forked repository.

    • git clone ssh://$USER@pkgs.fedoraproject.org/forks/$USER/rpms/dotnet3.1.git
    • cd dotnet3.1
  3. Make your changes. Don't forget to add a changelog.

  4. Do local builds.

    • fedpkg local
  5. Fix any errors that come up and rebuild until it works locally.

  6. Do builds in koji.

    • fedpkg scratch-build --srpm
  7. Commit the changes to the git repo.

    • git add any new patches
    • git remove any now-unnecessary patches
    • git commit -a
    • git push
  8. Create a pull request with your changes.

  9. Once the tests in the pull-request pass, and reviewers are happy, do a real build.

    • fedpkg build
  10. For non-rawhide releases, file updates using bodhi to ship the just-built package out to users.

    OR

    • fedpkg update

Updating to an new upstream release

  1. Fork the repo.

  2. Checkout the forked repository.

    • git clone ssh://$USER@pkgs.fedoraproject.org/forks/$USER/rpms/dotnet3.1.git
    • cd dotnet3.1
  3. Build the new upstream source tarball. Update the versions in the spec file. Add a changelog. This is generally automated by the following.

    • ./update-release <sdk-version> <runtime-version>

    If this fails because of compiler errors, you might have to figure out a fix, then add the patch in build-dotnet-tarball script rather than the spec file.

  4. Do local builds.

    • fedpkg local
  5. Fix any errors that come up and rebuild until it works locally. Any patches that are needed at this point should be added to the spec file.

  6. Do builds in koji.

    • fedpkg scratch-build --srpm
  7. Upload the source archive to the Fedora look-aside cache.

    • fedpkg new-sources path-to-generated-dotnet-source-tarball.tar.gz
  8. Commit the changes to the git repo.

    • git add any new patches
    • git remove any now-unnecessary patches
    • git commit -a
    • git push
  9. Create a pull request with your changes.

  10. Once the tests in the pull-request pass, and reviewers are happy, do a real build.

    • fedpkg build
  11. For non-rawhide releases, file updates using bodhi to ship the just-built package out to users.

    OR

    • fedpkg update

Testing

This package uses CI tests as defined in tests/test.yml. Creating a pull-request or running a build will fire off tests and flag any issues. We have enabled gating (via gating.yaml) on the tests. That prevents a build that fails any test from being released until the failures are waived.

The tests themselves are contained in this external repository: https://github.com/redhat-developer/dotnet-regular-tests/