Summary: | Switch portage from rsync to git | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Rafal Kupiec <belliash> |
Component: | Other | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | a3li, eras, jaak, jer, jlec, larstobi, slashbeast |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rafal Kupiec
2011-05-03 11:57:33 UTC
rsync -avz -e ssh --delete --exclude="distfiles/*" /usr/portage root@otherhost:/usr works fine here to distribute the portage tree to other hosts But still slower and needs more traffic, and probably more time to generate manifests as they need to include checksums of patches and ebuilds. As i have already written, git creates SHA1 checksums for everything put inside, so no need to have digests of ebuilds or patches. This makes whole portage tree: * less space consuming * less traffic consuming * less time consuming This is enough to tell that GIT is much better than RSYNC. (In reply to comment #2) > But still slower and needs more traffic, and probably more time to generate > manifests as they need to include checksums of patches and ebuilds. As i have > already written, git creates SHA1 checksums for everything put inside, so no > need to have digests of ebuilds or patches. And how do you sign your git-created SHA1 checksums? > > This makes whole portage tree: > * less space consuming > * less traffic consuming > * less time consuming > > This is enough to tell that GIT is much better than RSYNC. It looks all nice and speedy on funtoo, huh? github provides the server, and you're happy. Have you compared server load on a large scale? You know, we have several dozens of mirror providers to convince to deploy git stuff for us. (In reply to comment #1) > rsync -avz -e ssh --delete --exclude="distfiles/*" /usr/portage > root@otherhost:/usr > > works fine here to distribute the portage tree to other hosts Actually, while we're being completely off topic anyway, I've been using NFS for that for years. One copy is enough and the client hosts of that tree only need to regenerate metadata. :) On behalf of infra, this is a dupe. *** This bug has been marked as a duplicate of bug 333531 *** |