github-org-scripts/notebooks
Hal Wine 2d86afe2c7
Hwine/fewer acl recommendations (#110)
* Fixed potential infinate loop

When an iterator makes a GitHub API call, that call could hit an API
limit. Therefore, you must process each returned item separately (so
that when you restart, you're in the same place), AND you must handle
the StopIteration exception yourself.

After that, forward progress is made on the iterator!

Prior code tried to slurp all the items into a list -- so the restart
was from the beginning of the query. Which almost guaranteed you'd hit
the limit again.

* Don't suggest ACL searches for no-hit logins

There's no point in searching for potential GitHub logins that did not
get a member-or-contributor hit on the repos. This should prune the ACL
search to a max of 2 values: ldap & (real) GitHub login.
2023-06-20 07:18:01 -07:00
..
UserSearchPy3.ipynb Hwine/fewer acl recommendations (#110) 2023-06-20 07:18:01 -07:00