Go to file
Omair Majid ecce7a2b28 Delete duplicate /tests/.fmf directory
There's one at /.fmf already.
2023-08-17 14:54:14 -04:00
.fmf Migrate from STI to tmt 2023-03-01 14:01:10 -05:00
tests Delete duplicate /tests/.fmf directory 2023-08-17 14:54:14 -04:00
.gitignore Update to .NET SDK 7.0.102 and Runtime 7.0.2 2023-01-12 10:03:55 -05:00
build-arm64-bootstrap-tarball Update to .NET SDK 8 Preview 6 and Runtime 8 Preview 6 2023-07-17 09:49:52 -04:00
build-dotnet-tarball Update to .NET SDK 8.0.100 Preview 7 and Runtime 8.0.0 Preview 7 2023-08-14 10:12:49 -04: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
copr-build Update to .NET SDK 8.0.100 Preview 1 and Runtime 8.0.0 Preview 1 2023-02-22 17:10:15 -05:00
dotnet7.0.rpmlintrc Fix some remaining references to 6.0 2022-07-26 15:53:08 -04:00
dotnet8.0.spec Update to .NET SDK 8.0.100 Preview 7 and Runtime 8.0.0 Preview 7 2023-08-14 10:12:49 -04:00
dotnet.sh.in Initial import (#1802803) 2020-02-20 20:23:21 -05:00
gating.yaml Update to .NET SDK 8.0.100 Preview 7 and Runtime 8.0.0 Preview 7 2023-08-14 10:12:49 -04:00
README.md Update README 2023-02-23 00:00:25 -05:00
release.json Update to .NET SDK 8.0.100 Preview 7 and Runtime 8.0.0 Preview 7 2023-08-14 10:12:49 -04:00
roslyn-analyzers-ppc64le-apphost.patch Update to .NET 7 RC 2 2022-11-10 17:18:33 -05:00
rpminspect.yaml Update to .NET SDK 7.0.100 and Runtime 7.0.0 2023-01-10 18:24:12 -05:00
update-release Update to .NET SDK 8.0.100 Preview 7 and Runtime 8.0.0 Preview 7 2023-08-14 10:12:49 -04:00
vstest-intent-net8.0.patch Fix build on ppc64le and s390x 2023-06-01 18:33:27 -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/