summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/bzr.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixup refs to 'bst track'Angelos Evripiotis2019-01-281-1/+1
| | | | | Now that 'bst track' is obsolete, change guidance to refer to the replacement 'bst source track' instead.
* bzr source plugins: Remove all of the atomic backup directory business logicTristan Van Berkom2019-01-181-74/+18
| | | | | Follow up of last commit which uses exclusive locking to protect bzr operations instead.
* bzr source plugin: Use lock files to avoid corrupting the source cacheTristan Van Berkom2019-01-181-6/+29
| | | | This patch by itself fixes #868
* sources: Don't redundantly document directory configurationChandan Singh2018-10-251-3/+2
| | | | | | | | | | | | Instead of redundantly documenting "directory" configuration option in each source plugin, refer to the built-in functionality documentation of the Source class. * source.py: Add anchor for built-in functionality. * sources/plugins/*.py: Remove directory config option, and add reference to Source's built-in functionality. Fixes #713.
* bzr.py: Improve mirror supportJonathan Maw2018-07-271-4/+7
| | | | | | | This fixes: * Bzr repositories pulling from the branch they were created with. * Bzr's _ensure_mirror() not actually checking that it successfully mirrored the ref.
* Updating .bzr plugin to omit the .bzr dirPhillip Smyth2018-07-201-0/+2
| | | | Fixes issue #455
* Source plugin bzr depends on host's bzrJavier Jardón2018-06-221-0/+4
| | | | Issue #353
* Remove shebangs from python filesGökçen Nurlu2018-06-191-1/+0
| | | | Fixes #424
* doc: Added plugins as ToC elements instead of orphaned linksTristan Van Berkom2018-06-091-1/+3
| | | | | | | | | | | | o Now the page titles are declared in plugins, allowing for a more descriptive ToC o Makefile and plugin.rsttemplate updated to not produce the title, to no longer use `:orphan:` for plugin pages, and to ignore any private modules in the plugin directories. o Interestingly, now the docs will fail to build if you add a new plugin and forget to add it to the documentation.
* plugins: Disable attribute-defined-outside-init pylint errorTristan Van Berkom2018-04-201-0/+1
| | | | | Plugins set their attributes in configure(), because the constructor is not public API.
* Complete the work started to allow None as default in _yaml.node_get()Tristan Van Berkom2018-04-071-2/+2
| | | | | | | This completes the work which was started in commit 3ba544b80f9f268be8ffe62fc8589b30212ec4a2 which only went half way towards updating all the source code to be consistent and use the new semantic which allows None values.
* Source plugins: Implement load_ref() in all source pluginsTristan Van Berkom2018-03-201-0/+3
|
* pylint - dealt with bad-continuation warningJames Ennis2018-03-141-3/+3
|
* doc: consistent source staging dir docAngelos Evripiotis2018-02-131-0/+3
| | | | | All source plugins respond to the 'directory' key, so add the doc for it to those that didn't have it.
* bzr: Implement init_workspaceJonathan Maw2018-02-121-0/+15
| | | | | This will checkout a branch from the cache, and switch its parent branch to the url and ref that the source came from
* plugins/sources/bzr.py: Fix variable name typosGökçen Nurlu2017-12-111-3/+4
|
* refactoring: Made Project option privateTristan Van Berkom2017-11-061-1/+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.
* Add source plugin node validationsTristan Maat2017-09-141-0/+2
|
* bzr.py source plugin: Dont require a mirror to check for consistencyTristan Van Berkom2017-09-011-0/+4
| | | | | Here we were querying a non existing directory with bzr, we dont need this when the directory doesnt exist.
* bzr.py plugin: Dont try to serialize class method in get_unique_key()Tristan Van Berkom2017-05-251-1/+1
| | | | This causes stack traces when trying to print a cache key.
* Add bzr source pluginJonathan Maw2017-05-251-0/+205