diff options
author | Tom Mewett <tom.mewett@codethink.co.uk> | 2020-01-14 11:55:48 +0000 |
---|---|---|
committer | Tom Mewett <tom@collider.in> | 2020-01-24 14:32:59 +0000 |
commit | 1a057b0e54392cc3a25362a6e96b224605b396c3 (patch) | |
tree | 95e5e123dc64dcf2fda527a5bd02972c32bebe3e | |
parent | 7c130a6037706d94edb5b7de8f7c2d0af5c09c90 (diff) | |
download | buildstream-1a057b0e54392cc3a25362a6e96b224605b396c3.tar.gz |
Document my changes to the Git source plugin in NEWS
This includes adding an entry for the recursive submodules changes from !1765,
and adding myself to the authors of _gitsourcebase.py.
-rw-r--r-- | NEWS | 16 | ||||
-rw-r--r-- | src/buildstream/_gitsourcebase.py | 1 |
2 files changed, 17 insertions, 0 deletions
@@ -2,6 +2,16 @@ (unreleased) ============ +Plugins +------- + + o The 'git' source will now only fetch a single revision when its ref is set + to an exact tag in git-describe format (...-0-g...). + + o When a 'git' source has a ref in git-describe format, only the commit + ID is used when calculating the element's cache key. This means you can + change between ref formats without having to rebuild the element. + ================== buildstream 1.93.0 @@ -89,6 +99,12 @@ CLI * `bst workspace open --track` * `bst workspace reset --track` +Plugins +------- + + o The 'git' source will now fetch submodules recursively when + its 'checkout-submodules' option is enabled. + API --- diff --git a/src/buildstream/_gitsourcebase.py b/src/buildstream/_gitsourcebase.py index d70c0f184..1f74bb972 100644 --- a/src/buildstream/_gitsourcebase.py +++ b/src/buildstream/_gitsourcebase.py @@ -18,6 +18,7 @@ # Authors: # Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> # Chandan Singh <csingh43@bloomberg.net> +# Tom Mewett <tom.mewett@codethink.co.uk> """Abstract base class for source implementations that work with a Git repository""" |