tests | ||
.gitignore | ||
arcade-no-apphost.patch | ||
build-arm64-bootstrap-tarball | ||
build-dotnet-tarball | ||
check-debug-symbols.py | ||
command-line-api-use-work-tree-with-git-apply.patch | ||
dotnet6.0.rpmlintrc | ||
dotnet7.0.spec | ||
dotnet.sh.in | ||
fsharp-no-apphost.patch | ||
fsharp-use-work-tree-with-git-apply.patch | ||
gating.yaml | ||
installer-12516-portablerid.patch | ||
msbuild-no-systemconfiguration.patch | ||
msbuild-no-systemsecurity.patch | ||
README.md | ||
rename-tarball | ||
roslyn-57003-mono-named-mutex.patch | ||
roslyn-analyzers-no-apphost.patch | ||
roslyn-no-apphost.patch | ||
rpminspect.yaml | ||
runtime-66594-s390x-debuginfo.patch | ||
runtime-arm64-lld-fix.patch | ||
runtime-fedora-37-rid.patch | ||
runtime-fix-cmakeargs-handling.patch | ||
runtime-mono-remove-ilstrip.patch | ||
sdk-22373-portablerid.patch | ||
sdk-telemetry-optout.patch | ||
update-release | ||
vstest-use-work-tree-with-git-apply.patch | ||
xliff-tasks-use-work-tree-with-git-apply.patch |
dotnet7.0
This is the work-in-progress .NET 7.0 package for Fedora. When it's ready, it will be merged into Fedora proper.
This package is maintained by the Fedora DotNet SIG (Special Interest Group). You can find out more about the DotNet SIG at:
- https://fedoraproject.org/wiki/SIGs/DotNet
- https://fedoraproject.org/wiki/DotNet
- https://lists.fedoraproject.org/archives/list/dotnet-sig@lists.fedoraproject.org/
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
-
Fork the repo.
-
Checkout the forked repository.
git clone ssh://$USER@pkgs.fedoraproject.org/forks/$USER/rpms/dotnet7.0.git
cd dotnet7.0
-
Make your changes. Don't forget to add a changelog.
-
Do local builds.
fedpkg local
-
Fix any errors that come up and rebuild until it works locally.
-
Do builds in koji.
fedpkg scratch-build --srpm
-
Commit the changes to the git repo.
git add
any new patchesgit remove
any now-unnecessary patchesgit commit -a
git push
-
Create a pull request with your changes.
-
Once the tests in the pull-request pass, and reviewers are happy, do a real build.
fedpkg build
-
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
-
Fork the repo.
-
Checkout the forked repository.
git clone ssh://$USER@pkgs.fedoraproject.org/forks/$USER/rpms/dotnet7.0.git
cd dotnet7.0
-
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. -
Do local builds.
fedpkg local
-
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.
-
Do builds in koji.
fedpkg scratch-build --srpm
-
Upload the source archive to the Fedora look-aside cache.
fedpkg new-sources path-to-generated-dotnet-source-tarball.tar.gz
-
Commit the changes to the git repo.
git add
any new patchesgit remove
any now-unnecessary patchesgit commit -a
git push
-
Create a pull request with your changes.
-
Once the tests in the pull-request pass, and reviewers are happy, do a real build.
fedpkg build
-
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/