summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/ostree.py
Commit message (Collapse)AuthorAgeFilesLines
* sources: Don't redundantly document directory configurationChandan Singh2018-10-251-3/+3
| | | | | | | | | | | | 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.
* Fix spelling of it's and itsRichard Dale2018-10-161-2/+2
|
* Add Error to git and ostree sources configureWilliam Salmon2018-08-171-0/+6
| | | | | | | | | Raise a error at configure time if the track and ref properties are not present in the sources. This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that documented unhelpful behaviour when tracking git sources. However the issue was also identified in ostree.
* Fix ostree repository mirroringValentin David2018-08-161-10/+20
| | | | | | | | | | | Ostree mirrors were not sharing the same local repository, so it was impossible the request refs from the right local repository when data was fetched from a mirror rather than upstream. Instead of having several repository with one remote each, we now have one repository with several remotes. This fixes #538.
* ostree plugin: validate project pathsTiago Gomes2018-08-021-3/+5
|
* 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-4/+4
| | | | | | | 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-4/+4
|
* Remove unused importsGökçen Nurlu2017-12-071-2/+1
|
* refactoring: Made Project option privateTristan Van Berkom2017-11-061-3/+2
| | | | | | | | | | | | | | 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.
* ostree.py source plugin: More informative error when missing track & refTristan Van Berkom2017-10-141-1/+1
|
* Add source plugin node validationsTristan Maat2017-09-141-0/+2
|
* _ostree.py: Support multiple remotesJürg Billeter2017-06-271-1/+1
|
* ostree.py source plugin: Fixed for recent changes in Source API contractTristan Van Berkom2017-06-231-2/+9
| | | | | | It was previously undefined whether the target stage directory would exist or not, now it is guaranteed to exist. The ostree plugin was relying on this directory not existing.
* ostree.py source plugin: Use Source.tempdir() context managerTristan Van Berkom2017-04-081-3/+1
|
* ostree.py source plugin: Use user mode at checkout timeTristan Van Berkom2017-04-051-1/+1
| | | | | Since the abstract ostree source is a foreign one most probably with uid/gid 0, we need to checkout with "user mode" enabled.
* Fixing permissions, some random python files became executableTristan Van Berkom2017-03-061-0/+0
|
* Remove apostrophes from grammatically incorrect instances of "it's"Paul Sherwood2017-02-111-1/+1
|
* ostree.py: Include ostree plugin on the main docs and some docs touchups.Tristan Van Berkom2017-01-261-1/+1
|
* ostree.py source plugin: Adapt to new get_consistency() APITristan Van Berkom2017-01-191-3/+9
|
* ostree.py: Updated for new Source APITristan Van Berkom2017-01-181-15/+16
|
* ostree.py source plugin: Use _ostree routinesTristan Van Berkom2017-01-161-145/+112
| | | | Also implement some missing methods and add some status messages.
* ostree.py source plugin: Fixing to pass pep8 testsTristan Van Berkom2017-01-161-2/+1
|
* Changing the pull command from pull_with_options to just the basic pull. GPG ↵Andrew Leeming2017-01-161-29/+59
| | | | key checking is done when adding remote
* Adding some return code/conditions when adding remotes to catch if a remote ↵Andrew Leeming2017-01-161-4/+23
| | | | is added multiple times or if a key fails to add
* Adding in the ostree remote when calling ostree_initAndrew Leeming2017-01-161-2/+3
|
* Starting to add in some tests for OSTree.Andrew Leeming2017-01-161-23/+27
| | | | Had to wrap up OSTree creation in a bash script and serve using a lightweight python http server
* Adding basic stub for OSTree Source plugin.Andrew Leeming2017-01-161-0/+153
Stub currently just has a template of example commands used to checkout an OSTree from a URL