summaryrefslogtreecommitdiff
path: root/buildstream/scriptelement.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix cache corruption by scripts when layout and integration commands are usedvalentindavid/script-artifact-corruptionValentin David2018-11-061-7/+8
| | | | | | | | Root directory was marked as a non-artifact mount, so not using SafeHardLink. However integration commands executed with write access to the root directory. Fixes #749
* Fix spelling of it's and itsRichard Dale2018-10-161-2/+2
|
* scriptelement.py: Convert to virtual directoriesJim MacArthur2018-08-011-5/+4
|
* Cache failed buildsRichard Maw2018-07-311-1/+2
| | | | | | | | | This creates an artifact when element assembly fails too, and if it's the right kind of exception uses the now-included install directory similarly to if it had returned successfully. If there's a failure during install the artifact contains any installed files, but may contain nothing at all.
* Remove shebangs from python filesGökçen Nurlu2018-06-191-1/+0
| | | | Fixes #424
* doc/source/core_framework.rst: Use a toctree instead of linksTristan Van Berkom2018-06-091-3/+2
|
* scriptelement.py: Mark install-rootJürg Billeter2018-03-151-0/+3
| | | | This matches BuildElement.
* scriptelement: Use built-in checks on runtime depends and sourcesJonathan Maw2018-03-011-10/+8
|
* documentation: Set page titles manually in python modules.Tristan Van Berkom2017-08-311-1/+5
|
* element.py and plugins: Changed Element.strict_rebuild APITristan Van Berkom2017-08-301-1/+5
| | | | | | Instead use BST_STRICT_REBUILD and follow a new pattern we're using for any class attributes used for the plugin to communicate static data back to the core.
* scriptelement.py plugin: Mark for strict_rebuildTristan Van Berkom2017-07-291-0/+2
|
* scriptelement.py: Fixing docstringTristan Van Berkom2017-06-301-4/+4
| | | | | This was causing sphinx to warn about non-existing references to 'stage'
* scriptelement.py: Fixing some fallout in scriptelementTristan Van Berkom2017-06-151-1/+5
| | | | | | | | Recently added code which iterates over the layout to mark the non-root directories in the sandbox, but selt.__layout can be None, just changed to make the default class data be an empty list (which is an equally a falsy value as None, so other code need not change).
* scriptelement.py: Allow layout members with no Element specified.Tristan Van Berkom2017-06-141-17/+37
| | | | | | | | | | | | If a layout member specifies an element, the sandbox will be marked for this directory as an 'artifact' directory. Layout members without specifying an element make that directory available read-write without marking it as an artifact directory. Also simplified code around looping through dependencies to search, simply searching self.search(Scope.BUILD...) does the trick in all required cases.
* scriptelement: Use element's name directly, rather than its path in the layoutJonathan Maw2017-06-131-3/+3
|
* scriptelement.py: Adapting to Element API churnTristan Van Berkom2017-06-121-8/+16
|
* scriptelement.py: Cosmetic fix; use element names in messages.Tristan Van Berkom2017-06-071-4/+4
| | | | Instead of directly formatted elements, this looks more comprehensive.
* Jonathan/enhance script elementJonathan Maw2017-06-061-0/+246