Evaluate Git submodules for managed template propagation #43
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Needs More Info
Status
Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
XeplosionTechnologies/.forgejo#43
Loading…
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?
What question are we trying to answer?
Would Git submodules materially improve the current
.forgejomanaged-template propagation architecture compared with the existing branch-sync system?Specifically, could canonical workflow/script assets be referenced through a submodule without breaking Forgejo Actions discovery, managed repository creation, contributor workflows, or stack-specific template behavior?
The question is no longer whether submodules are preferable to manual copying. The current branch-sync system should be treated as the baseline architecture and submodules should only be adopted if they provide a meaningful improvement.
Why does this matter?
The current system intentionally distributes copies of canonical/shared assets into template branches and repositories.
That creates duplication, but it also provides self-contained repositories and explicit propagation behavior.
Submodules could reduce duplication, but may introduce:
Before changing a functioning propagation model, the tradeoff should be understood experimentally.
Scope / boundaries
Establish current baseline
Forgejo Actions behavior
.forgejo/workflows/into submodule content.Repository / template behavior
.gitmodulesbehavior.Stack-specific assets
Contributor experience
--recurse-submodules.Security / access
.forgejo.Comparison
Out of scope
Definition of done
Forgejo workflow-discovery behavior has been tested or authoritatively verified.
Template-repository behavior has been tested.
Authentication/security implications are understood.
Contributor workflow has been evaluated.
The current sync system and submodule approach have been compared directly.
A proof of concept exists if the approach appears viable.
A written recommendation concludes one of:
If adoption is recommended, implementation is moved into a separate issue.
Known sources / starting points
.forgejosync workflows.sync-config.yml.Investigation checklist
Workflow lifecycle
Triage
Kind/classification confirmedReviewed/label assignedPriority/assigned when appropriateStatus/Needs More InforemainsStatus/Needs Triageremoved before leaving TriageBacklog
To Do
In Progress
Review Gate
Completed