All of lore.kernel.org
 help / color / mirror / Atom feed
* [maintainer-tools PATCH 1/4] dim: update for-next branches as part of nightly rebuild
@ 2016-03-15  9:20 Jani Nikula
  2016-03-15  9:20 ` [maintainer-tools PATCH 2/4] dim: have update-branches also fetch origin and drm upstream repos Jani Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jani Nikula @ 2016-03-15  9:20 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

Currently the for-linux-next-fixes and for-linux-next branches only get
updated after the nightly rebuild after pushing branches. If the nightly
rebuild fails at that point, the for-next branches won't get updated
until the next time something is pushed, not upon nightly rebuild. Fix
this by making for-next branch update part of dim rebuild-nightly.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 dim | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dim b/dim
index 1e7622a1e902..e3fca75bc5e6 100755
--- a/dim
+++ b/dim
@@ -348,8 +348,10 @@ function dim_rebuild_nightly
 		git push $DRY_RUN origin HEAD >& /dev/null && echo "Done."
 	else
 		echo "Fail: Branch setup for the rerere-cache is borked."
+		exit 1
 	fi
 
+	update_linux_next
 }
 
 function dim_nightly_forget
@@ -378,7 +380,6 @@ function dim_push_branch
 	git push $DRY_RUN $DIM_DRM_INTEL_REMOTE $branch "$@"
 
 	dim_rebuild_nightly
-	update_linux_next
 }
 
 dim_alias_pq=push-queued
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-15 13:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-15  9:20 [maintainer-tools PATCH 1/4] dim: update for-next branches as part of nightly rebuild Jani Nikula
2016-03-15  9:20 ` [maintainer-tools PATCH 2/4] dim: have update-branches also fetch origin and drm upstream repos Jani Nikula
2016-03-15  9:20 ` [maintainer-tools PATCH 3/4] dim: run checkpatch on committed patches on apply Jani Nikula
2016-03-15 13:22   ` Daniel Vetter
2016-03-15 13:29     ` Jani Nikula
2016-03-15 13:44       ` Daniel Vetter
2016-03-15  9:20 ` [maintainer-tools PATCH 4/4] dim: unify repo clean checks to a single assert_repo_clean helper Jani Nikula
2016-03-15 13:24   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.