Skip to content

1.0.2 does not include symlinks in service zip file #2472

Closed

Description

@chris-hailstorm

My workers are Python so I usually need to build a "vendor" directory within my Serverless project so the libraries can be imported at runtime. This has worked very well in v1.0.0-rc.2.

My approach has been to use multiple vendored directories so they can be included or not in a reusable way across projects. My current project has 3 such directories, one of which is a normal directory, and the other two of which are either symlinked entirely (whole directory points elsewhere) or have contain individual libraries that are symlinked in.

Deploying in v1.0.2, the normal directory is now included in the deployment zip file, but the two variations of symlinked directories are not. Vendoring in this way is critical since Lambda does not provide every needed library module. Inconvenient to have ti copy & synch many files.

Is there a reason symlinked directories should be excluded -- was it intentional?

Thanks

Activity

  1. pmuens commented on Oct 19, 2016

    @pmuens
    Contributor

    @chris-hailstorm thanks for reporting! You're right. There's already a PR which brings back including of files and adds symlink support as well: #2266

  2. 5inline commented on Oct 25, 2016

    @5inline

    @pmuens This doesn't seem to be included in the recent 1.0.3 release. Is it planned for an upcoming release?

  3. self-assigned this
    on Oct 31, 2016
  4. pmuens commented on Oct 31, 2016

    @pmuens
    Contributor

    This is now available thanks to @jonsharratt and his PR #2266 👍 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions