Support pinned Forgejo dependency sources and refresh vulnerable tooling #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/rubedo!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/explicit-repository"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rubedo hardcoded GitHub, but the migrated library repositories there are archived. Add an optional repository URL while retaining module_name as the import namespace and the existing GitHub default. Existing cached clones also switch origin when an explicit source is configured.
Validation: TypeScript build and a real Git integration test passed, covering clone, immutable revision checkout, and migrating an existing cache between two repositories. Updated simple-git, glob, and rimraf to patched versions; npm audit reports zero vulnerabilities. The simple-git 4 migration uses its named export.
BEH will pin this CLI and the item database revision so both CI and manager builds use Forgejo consistently.
Desk review at
f7e7ac84: no blockers. Optionalrepositoryoverride is backward compatible (GitHub default kept), and updateDependency now migrates cached clones' origin before fetch.Nits:
testscript, sogit.test.ts(node:test + ts) won't run in CI; add one (e.g.tsx --test/ ts-node) or note how it's run.repositoryis passed straight to git clone/remote set-url; fine for trusted manifests, but consider rejecting values starting with-orext::since manifests of dependencies can be third party.Merge is Curry's.