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

Clean up TFMs for docs #4904

Merged
merged 4 commits into from
Sep 29, 2023

Conversation

reyang
Copy link
Member

@reyang reyang commented Sep 29, 2023

Similar to #4903.

@reyang reyang requested a review from a team September 29, 2023 18:43
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #4904 (b8fa112) into main (d8ec26b) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4904   +/-   ##
=======================================
  Coverage   82.93%   82.94%           
=======================================
  Files         294      294           
  Lines       12200    12200           
=======================================
+ Hits        10118    10119    +1     
+ Misses       2082     2081    -1     
Flag Coverage Δ
unittests 82.94% <ø> (+<0.01%) ⬆️

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

see 4 files with indirect coverage changes

build/Common.props Outdated Show resolved Hide resolved
@@ -2,13 +2,6 @@
<Import Project=".\Common.props" />

<PropertyGroup>
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
Copy link
Member Author

@reyang reyang Sep 29, 2023

Choose a reason for hiding this comment

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

FYI - I moved all the TFM info to Common.props instead of having to separate prod/nonprod, I think having all TFM info in a single place would make it much easier to introduce new runtime version / deprecate old runtime / ensure consistency.

Pros: in most cases I imagine these TFMs to be updated when we introduce/remove a new target framework, having these in one place is just easier to maintain/read.
Cons: a little bit naming pollution (e.g. libs now can see docs TFM which is not useful).

My gut feeling is that Pros > Cons.

@CodeBlanch CodeBlanch merged commit 043272e into open-telemetry:main Sep 29, 2023
@reyang reyang deleted the reyang/extra-tfm-for-docs branch September 30, 2023 02:12
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.

5 participants