garnaat / kappa

What precedes Lambda
http://kappa.readthedocs.org/en/develop/
Apache License 2.0
902 stars 88 forks source link

Add excluded_dirs support, add s3transfer excluded_dirs, fix #93 #108 #109

Closed stonemary closed 7 years ago

stonemary commented 7 years ago

What changed:

  1. new feature: excluded_dirs are now configurable. #93

Before: kappa in-explicitly exclude directories generated by some libraries. Those libraries are typically provided by AWS Lambda environment. Examples includes boto, boto3 etc. Now: excluded_dirs are now configurable in kappa.yml, user can specify default, none, or a list of their own customized directories to be excluded. Backward compatibility: the change is backward compatible, if excluded_dirs are not configured, it is in default and excludes folders generated by libraries provided by AWS Lambda - same as before.

  1. bug fix: s3transfer is one of the folders/libraries boto3 installs, but it were not included in the excluded folders, which causes compatibility issues when AWS Lambda updates its buildin libraries under the hood. #108