Skip to content

Remove unnecessary branch info from PublishData.json#80428

Merged
dibarbet merged 4 commits intodotnet:mainfrom
dibarbet:cleanup_publishdata
Sep 25, 2025
Merged

Remove unnecessary branch info from PublishData.json#80428
dibarbet merged 4 commits intodotnet:mainfrom
dibarbet:cleanup_publishdata

Conversation

@dibarbet
Copy link
Member

@dibarbet dibarbet commented Sep 23, 2025

Cleanup publishdata.json -

  1. Remove old packages that no longer exist now that servicing branches use their own copy.
  2. Remove branch list entirely - no longer need to add new entries when snapping, just update the properties on the branch.

For example when snapping main -> release/dev18.1, no initial changes to publishdata.json should be necessary (only when the target VS branch snaps will the VS branch need to be updated).

Validation - https://dnceng.visualstudio.com/internal/_build/results?buildId=2800420&view=results

@dibarbet dibarbet force-pushed the cleanup_publishdata branch 3 times, most recently from 71581ad to e969bc1 Compare September 24, 2025 00:22
@dibarbet dibarbet marked this pull request as ready for review September 24, 2025 18:41
@dibarbet dibarbet requested a review from a team as a code owner September 24, 2025 18:41

# Lookup the feed name from the packages map using the package name without the version or extension.
if (-not (Get-Member -InputObject $packagesData -Name $nupkgWithoutVersion)) {
Write-Host "BLAH: $packagesData"
Copy link
Member

Choose a reason for hiding this comment

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

Blah :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, somehow this comment didn't show up when I opened this. Sending a followup

@dibarbet dibarbet merged commit d271551 into dotnet:main Sep 25, 2025
28 checks passed
@dibarbet dibarbet deleted the cleanup_publishdata branch September 25, 2025 23:19
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Sep 25, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants