On Tue, Feb 9, 2021 at 12:51 PM Peter Stuge <pe...@stuge.se> wrote:
>
> Joonas Niilola wrote:
> > There's a script by jkroon in data/api.git
> > (https://gitweb.gentoo.org/data/api.git/) that prints the next available
> > UID/GID pair for new acct-* packages.
>
> This is super nice! Thanks a lot jkroon!
>
>
> > It is not forbidden to mix and mash UID/GID between different packages,
> > but I'd still suggest to find a new "pair" even if you push just an UID
> > or GID. Since we don't seem to be in danger of running out any time soon.
>
> Mh - so the obvious first feature request for the script is to also output
> Free UID+GID pairs. Counting them manually in your screenshot I get 36.
>
> That's not a whole lot; just 7% of 500.

The output was abbreviated. Here is the full output for entries where
both ids are FREE.

% bin/used_free_uidgids.sh | grep "FREE      FREE"
23..24           FREE      FREE
29..30           FREE      FREE
34               FREE      FREE
37..39           FREE      FREE
41..42           FREE      FREE
44               FREE      FREE
49..52           FREE      FREE
54..58           FREE      FREE
67               FREE      FREE
71..73           FREE      FREE
83               FREE      FREE
86..87           FREE      FREE
90               FREE      FREE
92..94           FREE      FREE
96               FREE      FREE
98               FREE      FREE
104..105         FREE      FREE
107..110         FREE      FREE
112              FREE      FREE
116              FREE      FREE
118..121         FREE      FREE
125..132         FREE      FREE
134..138         FREE      FREE
140..149         FREE      FREE
151..152         FREE      FREE
154..155         FREE      FREE
159..166         FREE      FREE
168              FREE      FREE
170              FREE      FREE
173..176         FREE      FREE
179..182         FREE      FREE
185              FREE      FREE
187              FREE      FREE
189              FREE      FREE
210..211         FREE      FREE
213..218         FREE      FREE
224..229         FREE      FREE
231              FREE      FREE
233..234         FREE      FREE
238              FREE      FREE
244              FREE      FREE
246..249         FREE      FREE
251              FREE      FREE
253..264         FREE      FREE
266              FREE      FREE
279..289         FREE      FREE
293..298         FREE      FREE
311..314         FREE      FREE
317..320         FREE      FREE
322..326         FREE      FREE

Reply via email to