User customization without forking#230
Merged
arizvisa merged 3 commits intoboxcutter:masterfrom Feb 29, 2020
Merged
Conversation
added 2 commits
February 26, 2020 10:22
This was referenced Feb 26, 2020
Closed
Contributor
|
Cool. I'm for this. One addition, though, can you define Sorry it took me a bit to follow up on this, was afk for a few weeks and apparently can't get Internet where I live, so it's hard for me to test things at the moment. Heh. |
Contributor
Author
|
@arizvisa Done. |
Contributor
|
Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User customization without forking
Note: Does not affect existing
makecommands ifPREFIXis not set.Users can clone boxcutter/windows and make user specific copies of Packer templates, scripts and configs they can edit that are ignored by git.
*.jsontemplate files can be symlinks to files in another repo.floppyandscriptcannot be symlinks but can be links to files in other repos.This adds flexibility to customize and to easily sync with the upstream repo at any time!
$(PREFIX)to theMakefilemake PREFIX=[company]. [company].[target]to build from[company].target.json.gitignorefloppy and script folders:*.*.jsonfloppy/*.*.*script/*.*.*I use it as follows:
I have a repo in Github with my customizations that are business specific:
I can now use boxcutter/windows unmodified with my user customizations that have no business being in your repo and everything is still in source control.
I think this is a great add to this project for users that need user customizations and don't want to fork and keep their personal repo synched with this repo.