-
-
Notifications
You must be signed in to change notification settings - Fork 31
Merge generics support in mscorlib #245
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
base: main
Are you sure you want to change the base?
Conversation
- Publish to nuget now happens on build from develop branch too.
- Temporary disable trigger for tags. ***NO_CI***
- Fix parameter name. - Add branch to publish nugets from. ***NO_CI***
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (2)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughThe changes update CI/CD pipeline and versioning configurations. The Azure Pipelines YAML file was modified to adjust trigger filters, add and duplicate a variable, and update template parameters. The release creation task conditions were broadened to include both the Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant AzurePipelines
participant GitHub
participant VersionConfig
Developer->>AzurePipelines: Push code or tag
AzurePipelines->>AzurePipelines: Trigger build (no tag filter on "v*")
AzurePipelines->>AzurePipelines: Set DOTNET_NOLOGO variable (global and job)
AzurePipelines->>AzurePipelines: Run class-lib-build-only.yml (usePreviewBuild: true)
AzurePipelines->>AzurePipelines: Run class-lib-publish.yml (baseBranchName: 'develop')
AzurePipelines->>VersionConfig: Read version.json (semantic versioning, preview tag)
AzurePipelines->>AzurePipelines: Check branch (main or develop)
alt Not a PR and StartReleaseCandidate is false
AzurePipelines->>GitHub: Create release
end
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
azure-pipelines.yml (2)
59-60
: Remove duplicate variable declaration & trailing spaces.You’ve declared
DOTNET_NOLOGO
both globally (lines 36–37) and again under theBuild_mscorlib
job. This duplication is unnecessary and may lead to confusion. Also, YAMLlint flagged trailing spaces on line 60.🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 60-60: trailing spaces
(trailing-spaces)
132-136
: Consider adding thegenerics
branch to release conditions.You’ve broadened the GitHub release condition to run on
main
anddevelop
. To stay consistent with the newpublicReleaseRefSpec
, you might also includegenerics
here if you intend to create releases from that branch.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (11)
.runsettings
is excluded by none and included by noneTests/NFUnitTestGC/TestGC.cs
is excluded by none and included by noneTests/NFUnitTestSystemLib/UnitTestGCTest.cs
is excluded by none and included by noneTests/NFUnitTestSystemLib/UnitTestInitLocalTests.cs
is excluded by none and included by noneTests/NFUnitTestSystemLib/UnitTestReflectionTypeTest.cs
is excluded by none and included by noneTests/UnitTestLauncher/UnitTestLauncher.nfproj
is excluded by none and included by nonenanoFramework.CoreLibrary.nuspec
is excluded by none and included by nonenanoFramework.CoreLibrary/System/AssemblyInfo.cs
is excluded by none and included by nonenanoFramework.CoreLibrary/System/GC.cs
is excluded by none and included by nonenanoFramework.CoreLibrary/System/Guid.cs
is excluded by none and included by nonenanoFramework.TestFramework
is excluded by none and included by none
📒 Files selected for processing (2)
azure-pipelines.yml
(3 hunks)version.json
(2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
azure-pipelines.yml
[error] 60-60: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: nanoframework.CoreLibrary (Build_mscorlib)
- GitHub Check: nanoframework.CoreLibrary (Build_mscorlib)
🔇 Additional comments (4)
version.json (2)
3-3
: Approve semantic version update.Updating the base version to
"2.0.0-preview.{height}"
correctly switches to semantic versioning with a preview suffix. This aligns with the pipeline change enabling preview builds.
14-14
: Approve new public release branch pattern.Adding
^refs/heads/generics$
topublicReleaseRefSpec
ensures the newly merged “generics” branch is considered for public releases.azure-pipelines.yml (2)
79-79
: Verify template supportsusePreviewBuild
.You’ve enabled
usePreviewBuild: true
in theclass-lib-build-only.yml
invocation. Please confirm that the template accepts and correctly propagates this parameter to invoke preview-mode builds as expected.
122-125
: Ensure publish step aligns with new branches.The
class-lib-publish.yml
template is now called withbaseBranchName: 'develop'
. Given thatversion.json
includes agenerics
branch for public releases, please verify whetherbaseBranchName
should dynamically reflectgenerics
(or accept a list of branches) to fully support that branch.
|
…nto develop ***NO_CI***
- Add target for .NET Framework v4.7.2
Description
Motivation and Context
How Has This Been Tested?
Screenshots
Types of changes
Checklist:
Summary by CodeRabbit