Skip to content

Refactor project configuration and update dependencies#118

Merged
ptr727 merged 1 commit intodevelopfrom
buildprops
Apr 14, 2026
Merged

Refactor project configuration and update dependencies#118
ptr727 merged 1 commit intodevelopfrom
buildprops

Conversation

@ptr727
Copy link
Copy Markdown
Owner

@ptr727 ptr727 commented Apr 14, 2026

  • Updated build-library-task.yml to specify OutputPath and PackageOutputPath for dotnet build.
  • Changed concurrency group in run-periodic-codegen-pull-request.yml to target main/codegen.
  • Modified launch.json to reflect new output paths for the LanguageTagsCreate project.
  • Enhanced AGENTS.md with project configuration guidelines and centralized NuGet package versions.
  • Updated LanguageData/rfc5646 and LanguageData/rfc5646.json with new language subtags and descriptions.
  • Cleaned up GlobalUsings.cs files by removing unused namespaces.
  • Adjusted LanguageTags.csproj and LanguageTagsCreate.csproj to centralize package versions and remove unnecessary properties.
  • Improved HttpClientFactory.cs with resilience strategies using Polly for better error handling.
  • Added Directory.Build.props and Directory.Packages.props for centralized project settings and package version management.
  • Updated LanguageTagsTests project to remove unnecessary properties and centralize package references.

- Updated build-library-task.yml to specify OutputPath and PackageOutputPath for dotnet build.
- Changed concurrency group in run-periodic-codegen-pull-request.yml to target main/codegen.
- Modified launch.json to reflect new output paths for the LanguageTagsCreate project.
- Enhanced AGENTS.md with project configuration guidelines and centralized NuGet package versions.
- Updated LanguageData/rfc5646 and LanguageData/rfc5646.json with new language subtags and descriptions.
- Cleaned up GlobalUsings.cs files by removing unused namespaces.
- Adjusted LanguageTags.csproj and LanguageTagsCreate.csproj to centralize package versions and remove unnecessary properties.
- Improved HttpClientFactory.cs with resilience strategies using Polly for better error handling.
- Added Directory.Build.props and Directory.Packages.props for centralized project settings and package version management.
- Updated LanguageTagsTests project to remove unnecessary properties and centralize package references.
Copilot AI review requested due to automatic review settings April 14, 2026 00:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors solution-wide build/project configuration (central MSBuild properties + central NuGet version management), updates CI/workflow settings, refreshes RFC 5646 language registry data, and improves the LanguageTagsCreate HTTP client resilience configuration.

Changes:

  • Introduce centralized MSBuild defaults (Directory.Build.props) and centralized package versions (Directory.Packages.props), updating project files to rely on them.
  • Update workflows and VS Code launch config to align with the new build/output conventions.
  • Refresh RFC 5646 registry data (source + JSON + generated C#) and enhance LanguageTagsCreate HTTP resilience behavior.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
LanguageTagsTests/LanguageTagsTests.csproj Remove per-project properties/versions to rely on central props and central package versions.
LanguageTagsTests/GlobalUsings.cs Remove redundant global usings now covered by implicit usings.
LanguageTagsCreate/LanguageTagsCreate.csproj Remove duplicated properties and move package versions to central management.
LanguageTagsCreate/HttpClientFactory.cs Add retry/circuit-breaker logging and refactor resilience configuration.
LanguageTagsCreate/GlobalUsings.cs Remove redundant global usings.
LanguageTags/Rfc5646DataGen.cs Update generated RFC 5646 registry data (new file date, records, descriptions).
LanguageTags/LogOptions.cs Remove unused System.Threading import.
LanguageTags/LanguageTags.csproj Align with centralized props/versions; explicitly set packable behavior for library packaging.
LanguageTags/GlobalUsings.cs Remove redundant global usings.
LanguageData/rfc5646.json Update RFC 5646 JSON registry snapshot (new/changed subtags and metadata).
LanguageData/rfc5646 Update RFC 5646 source registry snapshot (new/changed subtags and metadata).
Directory.Packages.props Add central NuGet package version definitions.
Directory.Build.props Add shared MSBuild defaults for the whole solution.
AGENTS.md Document centralized project configuration guidance.
.vscode/launch.json Update debug launch paths to match new intended output layout.
.github/workflows/run-periodic-codegen-pull-request.yml Adjust concurrency group behavior for the periodic codegen workflow.
.github/workflows/build-library-task.yml Update build output/package output paths for CI builds.
.github/copilot-instructions.md Document centralized project configuration guidance for contributors/agents.

Comment thread .vscode/launch.json
Comment thread .vscode/launch.json
Comment thread LanguageTagsCreate/HttpClientFactory.cs
Comment thread LanguageTagsCreate/HttpClientFactory.cs
@ptr727 ptr727 merged commit 1910388 into develop Apr 14, 2026
12 checks passed
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.

2 participants