Repository navigation
Fix deps check, settings dump and changelog copy with components - #121
Merged
Merged
Conversation
Follow-up fixes to the [[component]] feature: - deps check reports a python component that uv does not manage in its row (#117), instead of crashing and hiding the other components. - settings dump drops the primary and base_package keys from packages in a file with components, and lists each package's components (#118). Implicit-mode dumps are unchanged. - Copying a package changelog to a component without a CHANGELOG.md logs a warning naming the package and the file, and still creates no file (#119).
- deps check shows a non-uv python component's version in use, and says "not managed by uv" in the latest version column (#117). - changelog preview warns about a component changelog a release would not copy because the file is missing (#119). - changelog check folds long area names instead of cutting them, and its --github areas output no longer lists every changed file; --json still does.
The table keeps each path on one line, and the missing list says where to add each fragment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are follow-up fixes to the
[[component]]feature (#113) and tochangelog check(#116). They came up while sc-videos moved to explicit components, and sc-videos tested this branch on its own repository.deps checkwith a python component not managed by uv (#117)check_backend_base_packageraisedRuntimeError, anddeps checkdid not catch it. The traceback hid the rows of every other component. Such a component now gets its own row:version.txt.not managed by uv. The registry is not queried for that row.The command carries on and exits 0.
deps upgradehandles that error as before.settings dumpwith components (#118)When a file declares components, each package in the dump changes:
components, assettings github-outputsalready did.primaryandbase_package, which have no effect once components exist. They are removed, not blanked.The top-level
backendandfrontendentries keep their keys. The dumps of every fixture project without component tables are unchanged.Missing component changelog (#119)
When a component's
changelog_packagehas no<component path>/CHANGELOG.mdto copy to, the release logs a warning that names the package and the missing file.changelog previewgives the same warning, so it shows up before a release. No file is created.changelog checkoutput….--githubno longer puts each area'schangesandfragmentsfile lists intoareas. On sc-videos that output was a 50 KB line, and GitHub step outputs have size limits.--jsonkeeps the lists.Each fix comes with a test that fails without it.
Closes #117
Closes #118
Closes #119