-
Notifications
You must be signed in to change notification settings - Fork 994
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCM] Recipe with sources in the same repo copies to the source folder gitignored files #3039
Comments
Just to make sure, you mean it copies files to the source folder, don't you? Those files are not uploaded to any server. |
Yep! |
Then it is not a big issue, is it? It is just a temporary copy, it is not packaged, it is not uploaded. Copying files or folders like .vs shouldn't have any effect. |
Yes, the minor one. It could matter if such temporary files are big, I guess? |
Oh, I forgot. Since |
@memsharded And I assume here that because of that it's pretty easy to get invalid binaries in cases when we're using |
I think this is the reason we decided to not clone but copy the sources, while you are developing your library you probably don't want to commit any change to be able to try the conan package and see if your entire project works. |
I will try to get from git the ignored file list to be applied to the copy. |
Right. So we would get all changes (not committed yet) but without ignored stuff? Would be good, thanks! |
@lasote I'm afraid there is a problem with that feature. It does ignore files, but not folders. |
I will review it. Thanks for reporting. |
Situation:
I have a
conanfile.py
in a repo with:There are some gitignored files such as
.vs
.Problem:
When using
conan install -pr=...
it uploads everything including ignored files to thesource
folder.The text was updated successfully, but these errors were encountered: