You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2022/03/04 10:05:38 UTC
[GitHub] [buildstream] abderrahim commented on pull request #1607: source.py: Split up staging functions into separate codepaths.
abderrahim commented on pull request #1607:
URL: https://github.com/apache/buildstream/pull/1607#issuecomment-1059019265
I have been thinking of this too (in the context of #1317). What I was thinking to do is to always pass a Directory to `stage()` (I didn't look into `init_workspace()`, so I can't say anything). The plugins would need to change indeed, but I think it's not that hard.
```
with self.tempdir() as directory:
...
vdir.import_files(directory)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org