xorpaul / g10k

my r10k fork in Go
Apache License 2.0
127 stars 51 forks source link

Improve module deprecation check #153

Closed juliantaylor closed 5 years ago

juliantaylor commented 5 years ago

The deprecation check queries the api each time also if the module is already in the cache. This slows down the sync unnecessarily.

Improve this by reparsing the file when it is in the cache to continue printing known deprecations and use the module TTL to refresh the deprecation cache.

Closes gh-152

xorpaul commented 5 years ago

Thanks again!