Skip to content

Commit 494b19b

Browse files
add repo health status report script (#36935)
* initial commit * wip * working * write to html * sorted * fix black, add filters for include_sdk_owned and omit_good, sort libraries for markdown/html * add sla status * add default comments * remove debug comment * structure csv report to work with powerbi * feedback * fix some typing * Update health report * updates + fix html/markdown report * rename things * add short readme
1 parent 372fd7d commit 494b19b

File tree

3 files changed

+902
-0
lines changed

3 files changed

+902
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Python SDK Health Status Report
2+
3+
This script generates a health status report for the Python SDK. The report can be found at [aka.ms/azsdk/python/health](https://www.aka.ms/azsdk/python/health).
4+
5+
# How to run the script
6+
7+
1. pip install -r dev_requirements.txt
8+
2. az login
9+
3. Set the `GH_TOKEN` environment variable to your [GitHub PAT](https://github.com/settings/tokens) (with repo permissions).
10+
4. Run the script: `python output_health_report.py`
11+
12+
## Command line options
13+
14+
By default, the script will generate a csv report. To generate a report in markdown or html, pass `-f markdown` or `-f html`, respectively. To omit SDK team owned libraries from the report, pass `-s`.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
httpx==0.25.2
2+
markdown==3.6
3+
PyGitHub>=1.59.0
4+
setuptools==67.6.0
5+
-e ../../sdk/identity/azure-identity
6+
-e ../../tools/azure-sdk-tools

0 commit comments

Comments
 (0)