[coreboot-gerrit] Change in coreboot[master]: util/board_status.sh: Clone board_status repo with --depth 1

Arthur Heymans (Code Review) gerrit at coreboot.org
Tue Apr 4 22:44:51 CEST 2017


Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19124 )

Change subject: util/board_status.sh: Clone board_status repo with --depth 1
......................................................................

util/board_status.sh: Clone board_status repo with --depth 1

Board status is really big ~1.2G, using --depth 1 it's ~150M.
This makes contributing to board_status more accessible.

Change-Id: I2d32ce35cfddad9cc156cf00e9d5b61a3d2135eb
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M util/board_status/board_status.sh
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/19124/1

diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 1dcca71..7742cdf 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -373,10 +373,7 @@
 
 	cd "util/board_status/"
 	if [ ! -e "board-status" ]; then
-		# FIXME: the board-status directory might get big over time.
-		# Is there a way we can push the results without fetching the
-		# whole repo?
-		git clone "$bsrepo"
+		git clone "$bsrepo" --depth 1
 		if [ $? -ne 0 ]; then
 			echo "Error cloning board-status repo, aborting."
 			exit $EXIT_FAILURE

-- 
To view, visit https://review.coreboot.org/19124
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d32ce35cfddad9cc156cf00e9d5b61a3d2135eb
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list