hasufell / portage-gentoo-git-config

Configuring portage to use the gentoo git mirrors and update relevant metadata
36 stars 13 forks source link

sync_gentoo_cache: avoid re-fetching of metadata #14

Closed junghans closed 9 years ago

junghans commented 9 years ago

If one sync more often than 30min, metadata gets reverted to an old version and egencache has more work to do.

hasufell commented 9 years ago

I will test this shortly

hasufell commented 9 years ago

I think we should actually avoid fetching the metadata from rsync, since it is insecure. Instead we could use https://github.com/gentoo-mirror/gentoo/tree/master/metadata/md5-cache but I'm not yet sure how to do that painless. Sparse-checkout + depth=1 or something, but it will still not be nice.

hasufell commented 9 years ago

see #15