ampcc / coding-challenge

Other
3 stars 2 forks source link

Reduce Github API loadingtime for adding Linter to repo #286

Closed Marcodaum closed 1 year ago

Marcodaum commented 1 year ago

e.g. create thread

Marcodaum commented 1 year ago

linter is not the problem. The python library for the GitHub API only ollowes to upload one file at once. That's why it takes a lot of time at large projects with lot of files.

Marcodaum commented 1 year ago

Probably better: Using Python-git module:

https://stackoverflow.com/questions/1456269/python-git-module-experiences https://stackoverflow.com/questions/11801983/how-to-create-a-commit-and-push-into-repo-with-github-api-v3