bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-07 Thread Leo Prikler
Am Donnerstag, den 07.01.2021, 09:35 +0100 schrieb Ludovic Courtès: > Leo Prikler skribis: > > > *gnu/system/shadow.scm (find-duplicates): New variable. > > (assert-unique-account-names, assert-unique-group-names): New > > variables. > > (account-activation): Use them here. > > Final nitpicks!

bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-07 Thread Ludovic Courtès
Leo Prikler skribis: > *gnu/system/shadow.scm (find-duplicates): New variable. > (assert-unique-account-names, assert-unique-group-names): New variables. > (account-activation): Use them here. Final nitpicks! :-) > +(define (find-duplicates list) Please add a docstring. > + (let loop

bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-06 Thread Leo Prikler
*gnu/system/shadow.scm (find-duplicates): New variable. (assert-unique-account-names, assert-unique-group-names): New variables. (account-activation): Use them here. --- gnu/system/shadow.scm | 38 ++ 1 file changed, 38 insertions(+) diff --git