Staging sources directly into CAS

Description

This adds support for staging straight into virtual directories, and allows us to avoid using temporary directories a bit more. As several plugins require using host tools to stage the a source from a directory it still requires the use of temporary directories, but will use cas based directories where possible.

Changes proposed in this merge request:

  • Add BST_SOURCE_STAGE_VIRTUAL_DIRECTORY flag, which specifies whether sources can support virtual directory argument to stage or not, adding that deals with calling it.
  • Extend import_files to work with a single file path, important for the local plugin.
  • Make the can_link option for import_files in CasBasedDirectory actually use links.
  • Support being passed a virtual directory to the stage method for plugins.

This merge request, when approved, will close: #983 (closed)


Edited by Raoul Hidalgo Charman

Merge request reports

Loading