Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target .NET 9 #42

Merged
merged 10 commits into from
Nov 21, 2024
Merged

Target .NET 9 #42

merged 10 commits into from
Nov 21, 2024

Conversation

Axemasta
Copy link
Owner

Mocale has been updated to target the latest versions of maui.

I have done the following things:

  • Target .NET 9 in all projects
  • Update package dependencies to latest versions where possible
  • Fix as many compiler warnings as possible
  • Added public xml docs

The most basic upgrade possible, this builds
Added documentation, upgraded azure dependencies and fixed all warnings
This ones not really used but nice to not have warnings!
Added documentation, updated dependencies, fixed warnings
Updated dependencies and fixed warnings
Fixed warnings, added documentation and updated dependencies
The main project now has up to date dependencies, fixed warnings and added xml docs
Not much to change here
The sample app now has been given the update treatment. ORC had a ton of warnings but I've just yolo disabled them because its external code
Copy link

File Coverage Lines Branches Missing
All files 29% 30% 28%
Mocale.Cache.SQLite\obj\Debug\net9.0\Microsoft.Maui.Controls.BindingSourceGen\Microsoft.Maui.Controls.BindingSourceGen.BindingSourceGenerator\GeneratedBindingInterceptorsCommon.g.cs 0% 0% 0% 19-28
Mocale.Cache.SQLite\MocaleBuilderExtension.cs 0% 0% 100% 20-42
Mocale.Cache.SQLite\Repositories\CacheRepository.cs 0% 0% 0% 13-94
Mocale.Cache.SQLite\Repositories\RepositoryBase.cs 0% 0% 100% 8-21
Mocale.Cache.SQLite\Repositories\TranslationsRepository.cs 0% 0% 0% 12-163
Mocale.Cache.SQLite\Providers\DatabaseConnectionProvider.cs 0% 0% 100% 16-50
Mocale.Cache.SQLite\Providers\DatabasePathProvider.cs 0% 0% 100% 4-14
Mocale.Cache.SQLite\Models\SqliteConfig.cs 0% 0% 100% 7-13
Mocale.Cache.SQLite\Managers\LocalisationCacheManager.cs 0% 0% 0% 6-45
Mocale.Cache.SQLite\Managers\SqlCacheUpdateManager.cs 0% 0% 0% 15-78
Mocale.Cache.SQLite\Entities\TranslationItem.cs 0% 0% 100% 10-16
Mocale.Cache.SQLite\Entities\UpdateHistoryItem.cs 0% 0% 100% 10-14
Mocale\obj\Debug\net9.0\Microsoft.Maui.Controls.BindingSourceGen\Microsoft.Maui.Controls.BindingSourceGen.BindingSourceGenerator\GeneratedBindingInterceptorsCommon.g.cs 0% 0% 0% 19-28
Mocale\AppBuilderExtensions.cs 0% 0% 0% 22-74
Mocale\MocaleBuilder.cs 0% 0% 0% 12-48
Mocale\MocaleBuilderExtensions.cs 0% 0% 0% 21-122
Mocale\MocaleInitializeService.cs 0% 0% 100% 6-13
Mocale\Wrappers\DateTimeWrapper.cs 0% 0% 100% 10
Mocale\Providers\EmbeddedResourceProvider.cs 88% 93% 83% 71-73
Mocale\Providers\InactiveExternalLocalizationProvider.cs 0% 0% 100% 7-14
Mocale\Providers\ResxResourceProvider.cs 0% 0% 0% 14-66
Mocale\Parsers\ResxLocalizationParser.cs 87% 100% 75%
Mocale\Models\AppResourcesConfig.cs 0% 0% 100% 7
Mocale\Models\EmbeddedResourcesConfig.cs 0% 0% 100% 8-14
Mocale\Managers\ConfigurationManager.cs 0% 0% 100% 9-19
Mocale\Managers\ParameterTranslatorManager.cs 0% 0% 0% 13-58
Mocale\Managers\TranslationResolver.cs 0% 0% 0% 5-168
Mocale\Managers\TranslationResolver.cs 0% 0% 100% 88-104
Mocale\Managers\TranslationResolver.cs 0% 0% 0% 26-80
Mocale\Managers\TranslatorManager.cs 80% 77% 83% 73-90 122 141
Mocale\Extensions\BindableObjectExtension.cs 63% 76% 50% 25-27
Mocale\Extensions\DictionaryExtension.cs 95% 100% 90%
Mocale\Extensions\LocalizeExtension.cs 0% 0% 0% 12-103
Mocale\Extensions\LocalizeExtension.cs 0% 0% 0% 108-119
Mocale\Extensions\TaskExtensions.cs 87% 100% 75%
Mocale\Extensions\UriExtension.cs 62% 25% 100% 12-25
Mocale\Exceptions\InitializationException.cs 0% 0% 100% 3
Mocale\Exceptions\MocaleException.cs 0% 0% 100% 6-13
Mocale.Providers.AWS.S3\obj\Debug\net9.0\Microsoft.Maui.Controls.BindingSourceGen\Microsoft.Maui.Controls.BindingSourceGen.BindingSourceGenerator\GeneratedBindingInterceptorsCommon.g.cs 0% 0% 0% 19-28
Mocale.Providers.AWS.S3\MocaleBuilderExtension.cs 0% 0% 100% 17-29
Mocale.Providers.AWS.S3\S3BucketProvider.cs 0% 0% 0% 8-46
Mocale.Providers.AWS.S3\Models\BucketConfig.cs 0% 0% 100% 7-10
Mocale.Providers.Azure.Blob\obj\Debug\net9.0\Microsoft.Maui.Controls.BindingSourceGen\Microsoft.Maui.Controls.BindingSourceGen.BindingSourceGenerator\GeneratedBindingInterceptorsCommon.g.cs 0% 0% 0% 19-28
Mocale.Providers.Azure.Blob\BlobLocalizationProvider.cs 0% 0% 100% 15-35
Mocale.Providers.Azure.Blob\BlobLocalizationProvider.cs 0% 0% 0% 42-69
Mocale.Providers.Azure.Blob\BlobLocalizationProvider.cs 0% 0% 0% 99-130
Mocale.Providers.Azure.Blob\BlobLocalizationProvider.cs 0% 0% 0% 72-92
Mocale.Providers.Azure.Blob\MocaleBuilderExtension.cs 0% 0% 0% 19-34
Mocale.Providers.Azure.Blob\Models\BlobResourceInfo.cs 0% 0% 100% 11-16
Mocale.Providers.Azure.Blob\Models\BlobStorageConfig.cs 0% 0% 100% 7-16
Mocale.Providers.Azure.Blob\Managers\BlobResourceLocator.cs 0% 0% 0% 15-52
Mocale.Providers.Azure.Blob\Managers\BlobResourceLocator.cs 0% 0% 0% 60-86
Mocale.Providers.Github.Raw\obj\Debug\net9.0\Microsoft.Maui.Controls.BindingSourceGen\Microsoft.Maui.Controls.BindingSourceGen.BindingSourceGenerator\GeneratedBindingInterceptorsCommon.g.cs 0% 0% 0% 19-28
Mocale.Providers.Github.Raw\GitHubRawProvider.cs 53% 39% 66% 46-53 61-67 75-83
Mocale.Providers.Github.Raw\MocaleBuilderExtension.cs 0% 0% 0% 17-35

Minimum allowed coverage is 5%

Generated by 🐒 cobertura-action against 9dba395

@Axemasta Axemasta merged commit a090231 into main Nov 21, 2024
4 checks passed
@Axemasta Axemasta mentioned this pull request Nov 21, 2024
@Axemasta Axemasta deleted the feature/net-9 branch March 4, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant