mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #15250] Add CI format check #14262
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/15250
Author: @jakobkukla
Created: 10/27/2025
Status: 🔄 Open
Base:
master← Head:ci-format📝 Commits (3)
20d2601Run tree-wide dotnet formatb2f081dFix StyleCop pattern matching whitespace false-positived18cca6Add CI format check📊 Changes
80 files changed (+600 additions, -570 deletions)
View changed files
➕
.github/workflows/ci-format.yml(+25 -0)📝
Emby.Naming/ExternalFiles/ExternalPathParser.cs(+1 -1)📝
Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs(+1 -1)📝
Emby.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs(+1 -1)📝
Emby.Server.Implementations/Localization/LocalizationManager.cs(+2 -2)📝
Emby.Server.Implementations/ScheduledTasks/Tasks/MediaSegmentExtractionTask.cs(+1 -1)📝
Emby.Server.Implementations/Session/SessionManager.cs(+1 -1)📝
Emby.Server.Implementations/SystemManager.cs(+5 -5)📝
Jellyfin.Api/Controllers/AudioController.cs(+12 -12)📝
Jellyfin.Api/Controllers/DynamicHlsController.cs(+38 -38)📝
Jellyfin.Api/Controllers/ItemsController.cs(+1 -1)📝
Jellyfin.Api/Controllers/LiveTvController.cs(+1 -1)📝
Jellyfin.Api/Controllers/UniversalAudioController.cs(+2 -2)📝
Jellyfin.Api/Controllers/UserViewsController.cs(+1 -1)📝
Jellyfin.Api/Controllers/VideosController.cs(+12 -12)📝
Jellyfin.Api/Extensions/DtoExtensions.cs(+2 -2)📝
Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs(+5 -5)📝
Jellyfin.Api/Models/SystemInfoDtos/LibraryStorageDto.cs(+1 -1)📝
Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs(+3 -3)📝
Jellyfin.Server.Implementations/Item/PeopleRepository.cs(+4 -4)...and 60 more files
📄 Description
Changes
Add a CI format check. The job runs
dotnet format --verify-no-changewhich ensures the style rules in.editorconfigare met. Also applied a tree-wide format and had to work around a StyleCop false-positve bug.To fix reported formatting errors locally, run
dotnet format(which is part of the SDK) or use an IDE that respects.editorconfigto do it for you (like Visual Studio and VS Code).A failed job looks like this:

Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.