dim: Triple-check and tripe warning when merging patches that touch files outside i915.
PATCH 1/1 dim: Triple-check and tripe warning when merging patches that touch files outside i915.
Most of commiters already knows that by heart and also dim already have this warning. So maybe this is just Bart writing to blackboard. Duh!
Anyway for my own usage this tripe check will help for sure. Maybe it help someone else in the future.
--- dim | 4 ++++ drm-intel.rst | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-)
dim +4 -0
@@ -933,6 +933,10 @@ function checkpatch_commit echo -e "The following files are outside of i915 maintenance scope:\n" echo "$non_i915_files" echo -e "\nConfirm you have appropriate Acked-by and Reviewed-by for above files." + local acked_by_airlie=$($cmd | grep "Acked-by: Dave Airlie <[email protected]>") + if [ "$acked_by_airlie" == "" ]; then + echo -e "\nRemind that for drm you should have an Acked-by from Dave Airlie <[email protected]>" + fi fi fi }
drm-intel.rst +3 -1
@@ -300,7 +300,9 @@ the right decisions, and for others to set their the expectations right. The short list: -* Only push patches changing `drivers/gpu/drm/i915`. +* Only push patches changing `drivers/gpu/drm/i915`. If dim mentioned that you + are touching files outside i915 stop and make sure that you have the proper + Acked-by. Specially for drm files an Acked-by from Dave Airlie is required. * Only push patches to `drm-intel-next-queued` branch.
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Rodrigo Vivi
Most of commiters already knows that by heart and also dim already have this warning. So maybe this is just Bart writing to blackboard. Duh!
Anyway for my own usage this tripe check will help for sure. Maybe it help someone else in the future.
Well, this has changed with drm-misc; very few of the commits there have acks from Dave. And that was sort of the point in that tree, to scale better and not depend on his acks on every little detail.
I suppose the checks in dim could be branch specific.
BR,
Jani.
Quoted 38 lines
Cc Daniel Vetter <[email protected]>Cc Jani Nikula <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>--- dim | 4 ++++ drm-intel.rst | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-)dim +4
-0@@ -933,6 +933,10 @@ function checkpatch_commit echo -e "The following files are outside of i915 maintenance scope:\n" echo "$non_i915_files" echo -e "\nConfirm you have appropriate Acked-by and Reviewed-by for above files." + local acked_by_airlie=$($cmd | grep "Acked-by: Dave Airlie <[email protected]>") + if [ "$acked_by_airlie" == "" ]; then + echo -e "\nRemind that for drm you should have an Acked-by from Dave Airlie <[email protected]>" + fi fi fi }drm-intel.rst +3
-1@@ -300,7 +300,9 @@ the right decisions, and for others to set their the expectations right. The short list: -* Only push patches changing `drivers/gpu/drm/i915`. +* Only push patches changing `drivers/gpu/drm/i915`. If dim mentioned that you + are touching files outside i915 stop and make sure that you have the proper + Acked-by. Specially for drm files an Acked-by from Dave Airlie is required. * Only push patches to `drm-intel-next-queued` branch.
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Jani Nikula
Quoted 5 lines · Rodrigo Vivi
Most of commiters already knows that by heart and also dim already have this warning. So maybe this is just Bart writing to blackboard. Duh!
Anyway for my own usage this tripe check will help for sure. Maybe it help someone else in the future.
Well, this has changed with drm-misc; very few of the commits there have acks from Dave. And that was sort of the point in that tree, to scale better and not depend on his acks on every little detail.
Ah cool!
Quoted 2 lines
I suppose the checks in dim could be branch specific.
makes sense. but what is beter for this new check?
1. if is drm-intel-next-queued
2 if not drm-misc
any modification on the current warning?
Thanks,
Rodrigo.
Quoted 50 lines
BR,
Jani.Quoted 29 lines
Cc Daniel Vetter <[email protected]>Cc Jani Nikula <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>--- dim | 4 ++++ drm-intel.rst | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-)dim +4
-0@@ -933,6 +933,10 @@ function checkpatch_commit echo -e "The following files are outside of i915 maintenance scope:\n" echo "$non_i915_files" echo -e "\nConfirm you have appropriate Acked-by and Reviewed-by for above files." + local acked_by_airlie=$($cmd | grep "Acked-by: Dave Airlie <[email protected]>") + if [ "$acked_by_airlie" == "" ]; then + echo -e "\nRemind that for drm you should have an Acked-by from Dave Airlie <[email protected]>" + fi fi fi }drm-intel.rst +0
-0drm-intel.rst the right decisions, and for others to set their the expectations right. · line 307
Quoted 9 lines
drm-intel.rst +3
-1@@ -300,7 +300,9 @@ the right decisions, and for others to set their the expectations right. The short list: -* Only push patches changing `drivers/gpu/drm/i915`. +* Only push patches changing `drivers/gpu/drm/i915`. If dim mentioned that you + are touching files outside i915 stop and make sure that you have the proper + Acked-by. Specially for drm files an Acked-by from Dave Airlie is required. * Only push patches to `drm-intel-next-queued` branch.--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Rodrigo Vivi Blog: http://blog.vivi.eng.br _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines · Jani Nikula
Quoted 3 lines · Rodrigo Vivi
Most of commiters already knows that by heart and also dim already have this warning. So maybe this is just Bart writing to blackboard. Duh!
Quoted 8 lines
Quoted 2 lines
Anyway for my own usage this tripe check will help for sure. Maybe it help someone else in the future.
Well, this has changed with drm-misc; very few of the commits there have acks from Dave. And that was sort of the point in that tree, to scale better and not depend on his acks on every little detail.
I suppose the checks in dim could be branch specific.
The check Rodrigo extends is already only run for dinq, so consider your point already preemptively addressed?
We might want to do something similar for drm, but since we have a bunch of misc things in drm-misc outside of drivers/gpu (dma-buf) that would require parsing MAINTAINERS I think. Probably ok to delay until we botch it up for the first time :-)
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx