Set up submodules for common files in all docs repositories #17
Labels
No labels
Contributors' Guidance
Improve written Material
Contributors' Guidance
technical support measures
effort
high
effort
low
effort
medium
good first issue
help wanted
meeting topic
needs changes
needs reporter feedback
needs review
priority
high
priority
low
priority
medium
priority
on hold
type/content
type/misc
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
docs/tickets#17
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?
We've been having a longstanding problem where we update common files like build scripts in the template repo, but we never propagate the change to all published repos because there's way too many of them to do it manually. This leads to repositories sometimes being unable to build and contributors being confused about it.
We should set up each repository with a git submodule that pulls in these common files from a central location; we could probably use the template repo for this, or set up a separate one just for this purpose. Then, we'll need a bot to run
git submodule pullonce in a while (say, once an hour) to propagate these changes everywhere.A submodule has to be a separate directory, so we'll need to create symlinks for all these files in their correct locations.
This should also be documented in each repo's readme so people don't try to make changes to the scripts on a per-repo basis.