-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Some projects are based off off other "template" projects.
Template
somefoldersomeFile
.someconfigREADME.md
Child project
someotherfoldersomeFile
somefoldersomeFile
.someconfigREADME.md(own README)dfetch.yaml
It would be nice if a user could have a child project based off off certain parts of a parent template project.
In above example someFolder and .someconfig should be synced, but the README not and the own files/folders should be preserved.
This would make it possible to keep tracking the template and move along with any updates.
dfetch update template-parentWith the following manifest:
- name: template-parent
dst: . # explicitly tell to use root of project
url: https://github.com/dfetch/template.git
src: # mark (multiple) desired files/folders
- somefolder
- .someconfig
clear: false # don't clear dest folder before update- Is the
srcfield ok to repurpose for this? - Is there a better alternative than
clear: false? Maybe "overlaying" is a more concise description for a user?
I'm open to any suggestions!
sach-edna and olfway
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request