Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge | Add IDBColumnSchemaGenerator interface to netfx SqlDataReader#2967

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

MichelZ
Copy link
Contributor

@MichelZMichelZ commentedNov 2, 2024
edited
Loading

Bring IDBColumnSchemaGenerator to netfx for later code base merging

I made sure to enable the respective test for netfx

Part of#2965

@MichelZ
Copy link
ContributorAuthor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient
MichelZ reacted with confused emoji

@MichelZ
Copy link
ContributorAuthor

@edwardneal Would you mind running the pipeline for me on this one? :)

@edwardneal
Copy link
Contributor

Thanks for this MichelZ. The changes look good to me; would you mind feeding the extra package reference through to thenuspec file and the .NET Frameworkreference csproj please?

I don't have access to the pipelines, but hopefully the SqlClient team will be able to look at it in a few days. Something's definitely odd there - your PRs didn't run the CI builds, and my commit ran the CI build but encountered a lot more timeouts than normal in the tests.

@MichelZ
Copy link
ContributorAuthor

MichelZ commentedNov 3, 2024
edited
Loading

Will do. I'm not a contributor, that's probably why the pipelines don't run for me (yet)
(Can you try to just do an/azp run and see what happens?)

edwardneal reacted with thumbs up emoji

@edwardneal
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient

@MichelZ
Copy link
ContributorAuthor

Thanks for trying :)

@ErikEJ
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient
ErikEJ, MichelZ, and edwardneal reacted with confused emoji

@benrr101
Copy link
Contributor

@ErikEJ@edwardneal@MichelZ We have changed security rules recently such that only contributors can kick off pipeline runs. This is due to the potential for contributors to run code in PRs that could be hazardous to our build agents or cause a DoS.

edwardneal, MichelZ, and ErikEJ reacted with thumbs up emoji

@benrr101
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@benrr101benrr101 added the Common Project 🚮Things that relate to the common project project labelNov 5, 2024
@MichelZ
Copy link
ContributorAuthor

This package needs to be added to the sqlclientdriver nuget feed for this build to succeed:
System.Data.Common: 4.3.0

@benrr101
Copy link
Contributor

@MichelZ I might've mentioned it before but yep, we've got security on the internal nuget feed such that only contributors can pull upstream packages from the feed. I've gone ahead and added System.Data.Common 4.3.0 to the feed, so it should be good to go.

@benrr101
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@benrr101benrr101 left a comment

Choose a reason for hiding this comment

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

I'd need to see@cheenamalhotra 's opinion regarding the System.Data.Common inclusion before I explicitly approve.

@MichelZMichelZforce-pushed themerge-sqldatareader-IDbColumnSchemaGenerator branch from283d72a to7fc9351CompareNovember 12, 2024 09:40
Copy link
Member

@cheenamalhotracheenamalhotra left a comment

Choose a reason for hiding this comment

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

LGTM overall, please resolve conflicts when possible.

@MichelZ
Copy link
ContributorAuthor

Done. I'd need another /azp run I guess :)

@David-Engel
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@codecovCodecov
Copy link

codecovbot commentedNov 22, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.58%. Comparing base(7d93424) to head(e511463).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@##             main    #2967       +/-   ##===========================================+ Coverage   72.76%   92.58%   +19.81%===========================================  Files         283        6      -277       Lines       58968      310    -58658     ===========================================- Hits        42908      287    -42621+ Misses      16060       23    -16037
FlagCoverage Δ
addons92.58% <ø> (ø)
netcore?
netfx?

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@MichelZ
Copy link
ContributorAuthor

I'm currently unsure what causes this issue....

"G:\MIZE\DEV\GitHub\SqlClient\build.proj" (BuildTestsNetFx target) (1) ->"G:\MIZE\DEV\GitHub\SqlClient\src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj" (default target) (11:11) ->"G:\MIZE\DEV\GitHub\SqlClient\src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj" (Build target) (11:12) ->(CoreCompile target) ->  G:\MIZE\DEV\GitHub\SqlClient\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\UdtTest\SqlServerTypesTest.cs(264,86): error CS1061: 'SqlDataReader' does not contain a definition for 'GetColumnSchema' and no accessible extension method 'GetColumnSchema' accepting a first argument of type 'SqlDataReader' could be found (are you missing a using directive or an assembly reference?) [G:\MIZE\DEV\GitHub\SqlClient\src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj::TargetFramework=net462]

The method is clearly available

@MichelZMichelZforce-pushed themerge-sqldatareader-IDbColumnSchemaGenerator branch from02ecc5b to7e73ae7CompareNovember 23, 2024 11:05
@MichelZMichelZ changed the titleAdd IDBColumnSchemaGenerator interface to netfx SqlDataReaderMerge | Add IDBColumnSchemaGenerator interface to netfx SqlDataReaderNov 24, 2024
@cheenamalhotra
Copy link
Member

@MichelZ could you please resolve conflicts? Thx.

@MichelZ
Copy link
ContributorAuthor

@cheenamalhotra Done! :)

@mdaiglemdaigle merged commit4117175 intodotnet:mainJan 2, 2025
252 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@edwardnealedwardnealedwardneal left review comments

@benrr101benrr101benrr101 approved these changes

@mdaiglemdaiglemdaigle approved these changes

@cheenamalhotracheenamalhotraAwaiting requested review from cheenamalhotra

Assignees
No one assigned
Labels
Common Project 🚮Things that relate to the common project project
Projects
None yet
Milestone
6.1-preview1
Development

Successfully merging this pull request may close these issues.

7 participants
@MichelZ@edwardneal@ErikEJ@benrr101@David-Engel@cheenamalhotra@mdaigle

[8]ページ先頭

©2009-2025 Movatter.jp