SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

use a cache for retrieving the git repositories #159

Closed tpokorra closed 7 years ago

tpokorra commented 7 years ago

at the moment we use each time curl to get the git repository.

see http://stackoverflow.com/questions/27118086/maintain-updated-file-cache-of-web-pages-in-python

perhaps use requests and requests_cache

tpokorra commented 7 years ago

better: use Etag, and request header If-None-Match