DataDog / apigentools

Generate API clients with ease
https://apigentools.readthedocs.io
BSD 3-Clause "New" or "Revised" License
41 stars 16 forks source link

Fetching Upstream Templates Slow #242

Open mjallday opened 2 years ago

mjallday commented 2 years ago

Overview of issue:

INFO: Obtaining upstream templates for python/v1 ...

This step clones a very large (almost 1gb) repo

https://github.com/DataDog/apigentools/blob/3bda8e2952b60a86d84ca79e3077cc9c1acf37a3/apigentools/commands/templates.py#L124

Caching this or fetching from a local source would improve this dramatically. Describe the results you received:

Slow fetching of this repo every time I run the command

Describe the results you expected:

Quick fetching of the repo after the first time

github-actions[bot] commented 1 month ago

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.