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

fix(sourcebundles): Don't write empty sourcelinks #813

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Conversation

loewenheim
Copy link
Contributor

Sourcebundle manifests written after the introduction of source links would always contain a source_links: {} field, which would cause earlier symbolic versions to throw an error when trying to read the manifest (because source_links is interpreted as a key in the attributes map, whose values are supposed to be strings).

This fixes the problem by not writing empty source link maps (which is all that we are seeing in the wild) at all.

@loewenheim loewenheim enabled auto-merge (squash) September 21, 2023 13:33
@loewenheim loewenheim merged commit 90adc87 into master Sep 21, 2023
11 checks passed
@loewenheim loewenheim deleted the fix/sourcelinks branch September 21, 2023 13:35
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.

None yet

2 participants