Selaa lähdekoodia

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>
Yann E. MORIN 7 kuukautta sitten
vanhempi
commit
3177ecd260
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      utils/get-developers

+ 1 - 0
utils/get-developers

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