[WIP] New GitExtraGenerationBuilder builder #1
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.
New builder to allow the inclusion of generated files that are not tracked by git on the final tar.gz
As the tito solution relies on "git archive" this was the only undisruptive solution I could find without keeping the generated files on git.
Basically we are generating a new git reference on the top of the tag we are building and use it for the git archive, and afterwards we discard everything.
Each tito module can have 2 new files to configure this task:
setup.sh (example)
yarn installtito.gitgeneratedbuilder.include (example)
susemanager-nodejs-sdk-devel.tar.gz[WIP]
This still need some more tests and a better error handling, in case some command fail there is the risk that git gets on an inconsistent state.
But before having a bullet proof solution would be nice to have more opinions about the direction of this solution.
@mcalmer