Go to file
Omair Majid 1e0234e937 Update to .NET SDK 8.0.108 and Runtime 8.0.8
Resolves: RHEL-52387
2024-08-16 10:18:13 -04:00
.fmf Initial import 2023-08-17 16:14:55 -04:00
tests Update to .NET SDK 8.0.108 and Runtime 8.0.8 2024-08-16 10:18:13 -04:00
.gitignore Update to .NET SDK 8.0.108 and Runtime 8.0.8 2024-08-16 10:18:13 -04:00
build-arm64-bootstrap-tarball Initial import 2023-08-17 16:14:55 -04:00
build-dotnet-tarball Initial import 2023-08-17 16:14:55 -04:00
check-debug-symbols.py Initial import 2023-08-17 16:14:55 -04:00
copr-build Update to .NET SDK 8.0.100 RC 1 and Runtime 8.0.0 RC 1 2023-09-15 10:59:26 -04:00
dotnet7.0.rpmlintrc Initial import 2023-08-17 16:14:55 -04:00
dotnet8.0.spec Update to .NET SDK 8.0.108 and Runtime 8.0.8 2024-08-16 10:18:13 -04:00
dotnet.sh.in Initial import 2023-08-17 16:14:55 -04:00
gating.yaml Initial import 2023-08-17 16:14:55 -04:00
msbuild-9449-exec-stop-setting-a-locale.patch Backport MSBuild locale fix 2024-02-20 12:23:20 -05:00
README.md Initial import 2023-08-17 16:14:55 -04:00
release-key-2023.asc Update to .NET SDK 8.0.103 and Runtime 8.0.3 2024-03-20 14:08:27 -04:00
release.json Update to .NET SDK 8.0.108 and Runtime 8.0.8 2024-08-16 10:18:13 -04:00
roslyn-analyzers-ppc64le-apphost.patch Initial import 2023-08-17 16:14:55 -04:00
rpminspect.yaml Fix tests 2023-08-23 12:32:00 -04:00
runtime-openssl-sha1.patch Allow certificate validation with SHA-1 signatures. 2024-03-31 18:21:05 -04:00
runtime-re-enable-implicit-rejection.patch Update to .NET SDK 8.0.105 and Runtime 8.0.5 2024-05-16 13:31:26 -04:00
sources Update to .NET SDK 8.0.108 and Runtime 8.0.8 2024-08-16 10:18:13 -04:00
update-release Update to .NET SDK 8.0.105 and Runtime 8.0.5 2024-05-16 13:31:26 -04:00
vstest-intent-net8.0.patch Initial import 2023-08-17 16:14:55 -04:00

dotnet8.0

This is the work in progress .NET 8.0 package for Fedora.

Builds for Fedora, CentOS Stream and RHEL are available from https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet-preview/

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/dotnet7.0.git
    • cd dotnet7.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/dotnet7.0.git
    • cd dotnet7.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/