-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script to report inactive users in GitHub orgs #83
Conversation
Reviewing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Carreau Thank you so much for building this! Left a few minor suggestions below. Tested the tool locally and it works great. 👍
import os | ||
import asyncio | ||
import aiohttp | ||
from rich import print | ||
from datetime import datetime, timezone, timedelta | ||
import humanize | ||
from itertools import count | ||
import diskcache | ||
import pathlib | ||
from typing import Optional, List, Dict | ||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the docstring at the top:
- I suggest we list all required third-party dependencies. From my testing, these are:
humanize
,aiohttp
,diskcache
,rich
. - I also suggest we mention that the
GH_TOKEN
environment variable needs to be set to a GitHub API token.
Co-authored-by: David L. Qiu <[email protected]>
This script try to pull the last activity of users across Jupyter Org.
Note that this is likely this is the last activity of the user on GitHub, not on the org, so there might be users that are not contributing to jupyter anymore.
For example, it show that I am active (as of a few hours ago) on orgs I haven't touched in month.