Skip to content

InstalledSize should be in kilobytes#3366

Merged
NikolaMilosavljevic merged 1 commit intodotnet:release/10.0.1xxfrom
NikolaMilosavljevic:installed.size
Nov 15, 2025
Merged

InstalledSize should be in kilobytes#3366
NikolaMilosavljevic merged 1 commit intodotnet:release/10.0.1xxfrom
NikolaMilosavljevic:installed.size

Conversation

@NikolaMilosavljevic
Copy link
Member

@NikolaMilosavljevic NikolaMilosavljevic commented Nov 14, 2025

New DEB packaging tooling sets the Installed-Size to a value in bytes.

This is a regression from old tooling which was setting this to the value in kilobytes. Debian packages, unlike RPM ones, require that this be in kilobytes.

Notes

The value is calculated in CreateMD5SumsFile task and later consumed by

and
fileContents = fileContents.Replace(fileContents.Substring(index, end - index), stringToFind + createMD5SumsFileTask.InstalledSize);

Testing

Verification build

@dotnet-policy-service dotnet-policy-service bot requested a review from a team November 14, 2025 17:44
@NikolaMilosavljevic NikolaMilosavljevic added the Servicing-consider Issue for next servicing release review label Nov 14, 2025
@NikolaMilosavljevic NikolaMilosavljevic removed the Servicing-consider Issue for next servicing release review label Nov 14, 2025
@NikolaMilosavljevic
Copy link
Member Author

Infra change, affecting package metadata only.

@NikolaMilosavljevic NikolaMilosavljevic merged commit fa3a60c into dotnet:release/10.0.1xx Nov 15, 2025
10 checks passed
@NikolaMilosavljevic
Copy link
Member Author

/backport to release/10.0.2xx

@github-actions
Copy link
Contributor

Started backporting to release/10.0.2xx (link to workflow run)

@NikolaMilosavljevic
Copy link
Member Author

/backport to main

@github-actions
Copy link
Contributor

Started backporting to main (link to workflow run)

@NikolaMilosavljevic
Copy link
Member Author

@mmitche this is needed for 10.0.101. What is necessary to get it in that release? Would it just get included when we fork for release/10.0.101?

@marcpopMSFT

@ViktorHofer
Copy link
Member

Backport into release/10.0.1xx if your change goes in today or later this week into release/10.0.101 when the branch got created.

akoeplinger added a commit to dotnet/arcade that referenced this pull request Nov 21, 2025
The Installed-Size field got fixed in dotnet/dotnet#3366 to be kilobytes instead of bytes. Update the test to reflect that.
akoeplinger added a commit to dotnet/arcade that referenced this pull request Nov 21, 2025
The Installed-Size field got fixed in dotnet/dotnet#3366 to be kilobytes instead of bytes. Update the test to reflect that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants