Skip to content

Emit SCCS ID in singlefilehost - #51835

Merged
janvorli merged 1 commit into
dotnet:mainfrom
am11:feature/diagnostics/singlefilehost
Apr 29, 2021
Merged

janvorli merged 1 commit into
dotnet:mainfrom
am11:feature/diagnostics/singlefilehost

Conversation

@am11

@am11 am11 commented Apr 25, 2021

Copy link
Copy Markdown
Member

By unskipping the version file compilation singlefilehost, strings mysinglefileapp | grep '(#)' now shows the expected source code control system identifier (sccsid) in .NET 6, as it used in .NET 5 and 3x.

Note that @Commit: part of the string is included when /p:OfficialBuildId=x.y.z is passed. [1] [2]

Fixes #51554

@ghost ghost added the area-Single-File label Apr 25, 2021
@ghost

ghost commented Apr 25, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @agocke, @vitek-karas, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

By unskipping the version file compilation singlefilehost, strings mysinglefileapp | grep '(#)' now shows the expected source code control system identifier (sccsid) in .NET 6, as it used in .NET 5 and 3x.

Note that @Commit: part of the string is included when /p:OfficialBuildId=x.y.z is passed. [1] [2]

Fixes #51554

Author: am11
Assignees: -
Labels:

area-Single-File

Milestone: -

@am11

am11 commented Apr 25, 2021

Copy link
Copy Markdown
Member Author

cc @VSadov, @janvorli
it used to be part of singlefilehost in 5x with libcoreclr.so, but since static host is using libcoreclr_static.a, and we skip version there (to fix another duplicate entries issue: a664bbc), it is left out with this skipping mechanism. Ultimately, codehost does not make use of add_library/add_executable functions defined in the common eng/native/functions.cmake (maybe it should as that will simplify some code in corehost cmake files: hostpolicy, apphost etc.).

@am11
am11 force-pushed the feature/diagnostics/singlefilehost branch 8 times, most recently from 1190c6d to e5898ca Compare April 25, 2021 21:52
@am11
am11 force-pushed the feature/diagnostics/singlefilehost branch from e5898ca to 30fffa6 Compare April 27, 2021 01:32

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you!

@janvorli
janvorli merged commit ebdcb5e into dotnet:main Apr 29, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
@am11
am11 deleted the feature/diagnostics/singlefilehost branch April 3, 2023 23:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit info is missing from singlefilehost

4 participants