Repository navigation
fix(manager): poetry.toml is a Python settings file; verdicts, roles and source rules decided once - #232
Merged
Conversation
The `+`/`_` OCI tag convention, the registry-path package-name rule, the tag/digest validators and the compact catalog envelope each had two or three spellings. `oci_tag` and `package_name_safe` now serve every site, `StaleKey` records normalized tags, `Source::Oci` sorts its catalog once under the npm scheme through `oci()`, and the write-only `modified` field leaves the cached catalog bodies (the `*-v2` derived names invalidate the old ones). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
GitHub blob base64 decoding lived in both `changelog.rs` and `adapters.rs`; it is one `blob_text` now. The GitHub release and tag paths each inlined the old/new bound observation `forge::observe` already owned, and the monorepo changelog filter re-spelled the directory prefix check; both use the shared helpers. Package source lookup takes `package_name_safe` from the datasource crate. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
`roles.rs` composes its arms from the exported name constants and `manifest_names`/`lock_names` instead of inline literals, gains `PYTHON_SETTINGS` — which now includes `poetry.toml`, the file `poetry lock` reads for its repositories — and carries mise's leaf-file facts in `MISE_FILES`, the one list `Descriptor::selected`, `eco_roles` and `manifest_names` agree on. `public.rs` verdicts take their coverage from the same taxonomy, and a test holds every scanned or settings file to a verdict rule or a documented exemption. mise's backend vocabulary — names, env prefixes, settings keys and project redirects — is one `BACKENDS` table; `gem` and `go` state `project: None` explicitly rather than falling through a catch-all. poetry.toml's new roles are the one behavior change: it is now read as registry settings and linked settings for the Pyproject ecosystem, matching the verdict and credential scan it already had. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Merged
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.
Final-sweep fixes for manager, config and sources: each list and rule now lives in one place.
Behaviour change (fix)
poetry.tomlis a Python settings file in the file-role taxonomy.poetry lockreads it, and its[repositories]URLs name package indexes. It already had a public verdict and a credential scan, but it lacked the settings/registry roles, so its credential scan was never reached, an unreadablepoetry.tomlwas skipped instead of failing closed, and lockfile checkouts did not carry it. A repository that commits a credential inpoetry.toml(http-basic,pypi-token, or a userinfo password in a repository URL) is now refused, asrenovate/departures.mdalready documents.file_classification_is_pinnedchanges only on the twopoetry.tomlrows.Manager
NPM_LOCKS,NODE_SETTINGS,PYTHON_SETTINGS,manifest_names,lock_names…); per-file matches only pick a parser. A new test asserts every scanned or settings file has a verdict or a stated exemption.eco_rolesarms compose the exported name consts. Output is identical for every path (pinned test).MISE_FILES), read by the descriptor, the roles andmanifest_names.BACKENDStable (names, env prefixes, settings keys, project redirects) with no catch-all;gemandgostate their behaviour explicitly, unchanged.Sources
blob_textdecoder for GitHub blobs in notes. Onepackage_name_saferule in datasource, used by notes. Oneoci_tagfor the+→_convention.oci_catalog), in the order the old final sort produced, except among tags no scheme parses (lookup skips those). A test shows where the Docker and OCI orders differ.StoredCatalog.modifiedwas written and never read; it is removed and the derived document names bumped (*-v2) so old entries are not reused.validate_tag/validate_digest. The tag-bound observation (forge::observe) and the directory-prefix predicate are written once.Corpus snapshot: unchanged.