Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add option for copying dependencies instead of creating a link#685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Psycholive wants to merge3 commits intoserverless:master
base:master
Choose a base branch
Loading
fromPsycholive:master

Conversation

Psycholive
Copy link

I have a case where a windows folder containing sources is mounted in a linux VM and therefore symlinks cannot be created in .serverless folder.

This PR add a new option to copy dependencies in .serverless folder instead of creating a symlink. It is less beautiful and quick but it is the only option I see in my case.

It is possible to include this option in next release?

Copy link
Contributor

@pgrzesikpgrzesik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks@Psycholive - I have some comments, it also would be good to cover that functionality with a test case

README.md Outdated
```yaml
custom:
pythonRequirements:
useFinalCopy: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not sure if this property name is a great choice here - it doesn't really convey the meaning in my opinion - maybe we could use something more descriptive? LikeuseSymlinks: false or something along those lines? What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Property naming is always a difficult task :) Why notuseSymlinks indeed.

README.md Outdated

Before final packaging, a link is created in .serverless folder for python dependencies.
If it is not possible to create a symbolic link, dependencies can be copied instead of linked
whith the foloowing option:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

multiple typos

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Indeed.

@pgrzesik
Copy link
Contributor

Hey@Psycholive - sorry for not responding for a long time. Do you still have time to finalize this PR?

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

@pgrzesikpgrzesikpgrzesik requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Psycholive@pgrzesik

[8]ページ先頭

©2009-2025 Movatter.jp