Closed appleboy closed 8 years ago
Should we also document it with a big warning?
@tboerger I updated document.
Should we add a big warning for pull requests?
@tboerger Please help to review document. https://github.com/drone-plugins/drone-sftp-cache/pull/12/commits/3e0956b1f3ab4d74ca208cf90d443cb8189bbed3
@tboerger What do you meant about security warning?
I recommend forking the plugin if you need to modify the default behavior. This plugin is meant as a reference plugin for individuals that want to fork and create their cache process, as opposed to handle all use cases.
@bradrydzewski This PR reserve the default behavior and add new flag to store the same file name for all branch. If developer create 1000 branchs
, the default behavior will create 1000 different cache files.
Warring: The default behavior is create different cache files from each commit branch.
Add
ignore_branch
flag to ignore commit branch name on hash value.for example:
ignore_branch
isfalse
(default setting). Two commit branch will generate different name of cache file.ignore_branch
istrue
. Any commit branch will generate same name of cache file.cc @tboerger
Signed-off-by: Bo-Yi Wu appleboy.tw@gmail.com