summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Mewett <tom.mewett@codethink.co.uk>2020-01-14 11:55:48 +0000
committerTom Mewett <tom@collider.in>2020-01-24 14:32:59 +0000
commit1a057b0e54392cc3a25362a6e96b224605b396c3 (patch)
tree95e5e123dc64dcf2fda527a5bd02972c32bebe3e
parent7c130a6037706d94edb5b7de8f7c2d0af5c09c90 (diff)
downloadbuildstream-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--NEWS16
-rw-r--r--src/buildstream/_gitsourcebase.py1
2 files changed, 17 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6b6766961..62deefdd5 100644
--- a/NEWS
+++ b/NEWS
@@ -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"""