Skip to content

Commit

Permalink
Update docs and release notes for Repo --depth
Browse files Browse the repository at this point in the history
  • Loading branch information
rjogrady committed Apr 17, 2014
1 parent b1b07eb commit 0ebdc73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/docs/manual/cfg-buildsteps.rst
Expand Up @@ -906,6 +906,11 @@ The Repo step takes the following arguments:
(optional, defaults to ``False``): renderable boolean to control whether ``repo``
syncs all branches. i.e. ``repo sync -c``

``depth``
(optional, defaults to 0): Depth argument passed to repo init.
Specifies the amount of git history to store. A depth of 1 is useful for shallow clones.
This can save considerable disk space on very large projects.

``updateTarballAge``
(optional, defaults to "one week"):
renderable to control the policy of updating of the tarball
Expand Down
2 changes: 2 additions & 0 deletions master/docs/relnotes/index.rst
Expand Up @@ -155,6 +155,8 @@ Features

* A new argument ``summaryCB`` has been added to ``GerritStatusPush``, to allow sending one review per buildset. Sending a single "summary" review per buildset is now the default if neither ``summaryCB`` nor ``reviewCB`` are specified.

* ::bb:step:`Repo` now supports a ``depth`` flag when initializing the repo. This controls the amount of git history to download.

Forward Compatibility
~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 0ebdc73

Please sign in to comment.