2023-12-07 15:51:25 +00:00
|
|
|
# dotnet8.0
|
|
|
|
|
|
|
|
The dotnet8.0 package
|
2020-04-10 16:29:37 +00:00
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
This is the .NET 8.0 package for RHEL/CentOS Stream.
|
2023-02-23 05:00:25 +00:00
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
Please report any issues [using Jira](https://issues.redhat.com) in the RHEL
|
|
|
|
project against `dotnet8.0` component.
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
# Specification
|
|
|
|
|
|
|
|
This package follows [package naming and contents suggested by
|
|
|
|
upstream](https://docs.microsoft.com/en-us/dotnet/core/build/distribution-packaging),
|
|
|
|
with one exception. It installs dotnet to `/usr/lib64/dotnet` (aka
|
|
|
|
`%{_libdir}`).
|
|
|
|
|
|
|
|
# Contributing
|
|
|
|
|
|
|
|
1. Fork the repo.
|
|
|
|
|
|
|
|
2. Checkout the forked repository.
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
- `git clone git@gitlab.com:$USER/centos_rpms_dotnet8.0.git dotnet8.0`
|
2023-12-07 15:57:37 +00:00
|
|
|
- `cd dotnet8.0`
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
3. Make your changes. Don't forget to add a changelog.
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
If you are updating to a new upstream release: Get the new upstream source
|
|
|
|
tarball and the detached signature. Update the versions in the spec file.
|
|
|
|
Add a changelog. This is generally automated by the following.
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
- `./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.
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
- `centpkg local`
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
- `centpkg scratch-build --srpm`
|
2020-04-10 16:29:37 +00:00
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
7. If this is a new release, upload the source archive and dtached signature to
|
|
|
|
the look-aside cache.
|
2020-04-10 16:29:37 +00:00
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
- `centpkg new-sources dotnet-source-tarball.tar.gz dotnet-source-tarball.tar.gz.sig`
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
- `centpkg build`
|
2020-04-10 16:29:37 +00:00
|
|
|
|
|
|
|
# Testing
|
|
|
|
|
2024-08-07 14:22:33 +00:00
|
|
|
This package uses CI tests as defined in `tests/ci.fmf`. 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
|
2020-04-10 16:29:37 +00:00
|
|
|
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/
|