Explorar o código

utils/get-developers: sort reported developers

The list of reported developers is not ordered: that may leave the
impression (when receiving a patch) that a Cc is more important than
another, by virtue of being earlier in the list.

Also, the ordering changes on every call.

Report the developers in an alphabetically order, so that there is no
confusion anymore, and so the ordering is reproducible across calls.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3177ecd26096ab305c51620eb29b0e639f3133e9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN hai 7 meses
pai
achega
b043c70c97
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      utils/get-developers

+ 1 - 0
utils/get-developers

@@ -98,6 +98,7 @@ def __main__():
                 if i in dev.infras:
                 if i in dev.infras:
                     matching_devs.add(dev.name)
                     matching_devs.add(dev.name)
 
 
+        matching_devs = sorted(matching_devs)
         if args.email:
         if args.email:
             for dev in matching_devs:
             for dev in matching_devs:
                 print(dev)
                 print(dev)