refactor(init): extract scope and remote-url helpers from init.lua #518
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#518
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The remaining scope/current-repo layer in
lua/forge/init.luastill bundles:file_locremote_web_urlscope_from_urlscope_repo_argscope_keycurrent_scoperemote_nameremote_refThat keeps consumers like
routes.lua,ops.lua,context.lua, and thebackend adapters reaching back through the top-level
forgefacade.A good outcome here is a dedicated helper module for current-repo / scope /
web-url responsibilities, with internal consumers depending on that module
directly and
init.lualeft as a thin public facade.Closed by #524 (
f410333), which extracted the repo/scope helper layer into lua/forge/repo.lua and left lua/forge/init.lua delegating to that module.