Go to file
2022-04-14 17:31:57 -04:00
tests Update to .NET SDK 6.0.103 and Runtime 6.0.3 2022-03-11 08:35:36 -05:00
.gitignore Update to .NET SDK 6.0.104 and Runtime 6.0.4 2022-04-14 17:31:57 -04:00
arcade-no-apphost.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
build-arm64-bootstrap-tarball Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
build-dotnet-tarball Update to .NET SDK 6.0.102 and Runtime 6.0.2 2022-02-15 11:46:24 -05:00
check-debug-symbols.py Update to .NET SDK 6.0.104 and Runtime 6.0.4 2022-04-14 17:31:57 -04:00
command-line-api-use-work-tree-with-git-apply.patch Update to work-in-progress RC2 release 2021-09-27 09:40:31 -04:00
dotnet6.0.rpmlintrc Initial .NET 6 package 2021-07-24 14:20:14 -04:00
dotnet6.0.spec Update to .NET SDK 6.0.104 and Runtime 6.0.4 2022-04-14 17:31:57 -04:00
dotnet.sh.in Initial import (#1802803) 2020-02-20 20:23:21 -05:00
fsharp-no-apphost.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
fsharp-use-work-tree-with-git-apply.patch Update to work-in-progress RC2 release 2021-09-27 09:40:31 -04:00
gating.yaml Enable gating for stable branches and RHEL 2021-04-01 10:46:18 -04:00
installer-12516-portablerid.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
msbuild-no-systemconfiguration.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
msbuild-no-systemsecurity.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
README.md Merge from dotnet-sig's dotnet6.0 repository 2021-12-19 12:12:42 -05:00
rename-tarball Update to .NET SDK 5.0.202 and Runtime 5.0.5 2021-04-14 23:02:35 -04:00
roslyn-57003-mono-named-mutex.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
roslyn-analyzers-no-apphost.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
roslyn-no-apphost.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
rpminspect.yaml Add an rpminspect file for get rpminspect to pass 2021-03-22 11:56:59 -04:00
runtime-66594-s390x-debuginfo.patch Update to .NET SDK 6.0.104 and Runtime 6.0.4 2022-04-14 17:31:57 -04:00
runtime-arm64-lld-fix.patch Update to .NET SDK 6.0.101 and Runtime 6.0.1 2022-01-28 08:44:07 -05:00
runtime-fedora-37-rid.patch Update to .NET SDK 6.0.102 and Runtime 6.0.2 2022-02-15 11:46:24 -05:00
runtime-mono-remove-ilstrip.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
sdk-22373-portablerid.patch Update to .NET 6 GA 2021-11-11 08:10:43 -05:00
sdk-telemetry-optout.patch Update to .NET SDK 5.0.202 and Runtime 5.0.5 2021-04-14 23:02:35 -04:00
sources Update to .NET SDK 6.0.104 and Runtime 6.0.4 2022-04-14 17:31:57 -04:00
update-release Update to .NET SDK 6.0.101 and Runtime 6.0.1 2022-01-28 08:44:07 -05:00
vstest-use-work-tree-with-git-apply.patch Update to work-in-progress RC2 release 2021-09-27 09:40:31 -04:00
xliff-tasks-use-work-tree-with-git-apply.patch Update to work-in-progress RC2 release 2021-09-27 09:40:31 -04:00

dotnet6.0

This is the .NET 6.0 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

The steps below are for the final package. Please only contribute to this pre-release version this if you know what you are doing. Original instructions follow.

General Changes

  1. Fork the repo.

  2. Checkout the forked repository.

    • git clone ssh://$USER@pkgs.fedoraproject.org/forks/$USER/rpms/dotnet6.0.git
    • cd dotnet6.0
  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/dotnet6.0.git
    • cd dotnet6.0
  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/