summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/patch.py
Commit message (Collapse)AuthorAgeFilesLines
* plugins/sources/patch.py: Removing unneeded checkTristan Van Berkom2018-01-021-7/+5
| | | | | | | | | The patch plugin was checking if the target directory exists, however this is automatically guaranteed by the Source abstract class and documented to be guaranteed as well. Since this error cannot be caught by the plugin (it will be caught in advance by the Source class), removing the check from patch.py.
* plugins/sources/patch.py: Added context to some errorsTristan Van Berkom2018-01-011-8/+12
|
* Switch old-style string formattings to new '.format()'Gökçen Nurlu2017-11-171-2/+2
|
* refactoring: Made Project option privateTristan Van Berkom2017-11-061-3/+1
| | | | | | | | | | | | | | This required adding two new APIs to make up for it on the Source o get_project_directory() Added here because elements should not be accessing external resources, Sources needed for local files and GPG keys and such o translate_url() Used by sources to mish-mash the project aliases and create real urls.
* patch.py source plugin: Use utils.sha256sum()Tristan Van Berkom2017-09-121-11/+1
|
* Add patch source pluginChandan Singh2017-09-091-0/+106
Fixes #63