Skip to content

Author attribution problems #39

@glenn-jocher

Description

Author attributions are not always obtained correctly from git, and possibly neither also from the GitHub REST API fallback using email addresses (possibly because the user does not present a public email address on their profile).

Reproduce

git clone https://github.com/ultralytics/ultralytics
cd ultralytics
pip install -e ".[dev]"
mkdocs serve -f docs/mkdocs.yml

Output:

...
INFO    -  Building documentation...
INFO    -  Cleaning site directory
INFO    -  Converting notebook (execute=False): /Users/glennjocher/PycharmProjects/ultralytics/docs/en/datasets/explorer/explorer.ipynb
Running GitHub REST API for author ayush.chaurarsia@gmail.com
Running GitHub REST API for author glenn.jocher@ultralytics.com
WARNING (mkdocs_ultralytics_plugin): No username found for glenn.jocher@ultralytics.com
Running GitHub REST API for author chr043416@gmail.com
WARNING (mkdocs_ultralytics_plugin): No username found for chr043416@gmail.com
Running GitHub REST API for author xinwang614@gmail.com
Running GitHub REST API for author muhammadrizwanmunawar123@gmail.com
Running GitHub REST API for author 1579093407@qq.com
WARNING (mkdocs_ultralytics_plugin): No username found for 1579093407@qq.com
Running GitHub REST API for author abirami.vina@gmail.com
Running GitHub REST API for author shuizhuyuanluo@126.com
WARNING (mkdocs_ultralytics_plugin): No username found for shuizhuyuanluo@126.com
INFO    -  Documentation built in 72.59 seconds
INFO    -  [14:57:52] Watching paths for changes: 'docs/en', 'docs/mkdocs.yml'
INFO    -  [14:57:52] Serving on http://127.0.0.1:8000/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions