From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E524C138334 for ; Mon, 17 Dec 2018 17:26:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7417E0933; Mon, 17 Dec 2018 17:26:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90075E0901 for ; Mon, 17 Dec 2018 17:26:31 +0000 (UTC) Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mattst88) by smtp.gentoo.org (Postfix) with ESMTPSA id 6E489335C38 for ; Mon, 17 Dec 2018 17:26:30 +0000 (UTC) Received: by mail-it1-f180.google.com with SMTP id h193so26723ita.5 for ; Mon, 17 Dec 2018 09:26:30 -0800 (PST) X-Gm-Message-State: AA+aEWb2U4/9AlXSbDwqOlbZCFkeFTBCx/wtKPpQQSJLgAhrMfa8rumu cR8Ne2NO5B9aOZU8jEjRkyOiEEVS+5rC5ZzYa+Y= X-Google-Smtp-Source: AFSGD/WinFEGSnhVBm2zBoqMgZ7vgCIVWTN5mSH2+xYXqfmF2U1hdxquooPfJZTEsCHGc+sYFqlRLFz/SC4FEyt681E= X-Received: by 2002:a24:5c90:: with SMTP id q138mr47190itb.32.1545067588447; Mon, 17 Dec 2018 09:26:28 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Project discussion list X-BeenThere: gentoo-project@lists.gentoo.org Reply-To: gentoo-project@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <1600658.mo6uCtQdLC@reaper> In-Reply-To: <1600658.mo6uCtQdLC@reaper> From: Matt Turner Date: Mon, 17 Dec 2018 12:26:16 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-project] RFC: Dropping rsync as a tree distribution method To: Gentoo project list Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: a7599538-babe-4b46-9043-4928b48e7c1c X-Archives-Hash: f341ad094293448dcb8d2c537c1b6723 On Sun, Dec 16, 2018 at 12:13 AM Georgy Yakovlev wrote: > > On Saturday, December 15, 2018 8:40:38 PM PST Matt Turner wrote: > > On Sat, Dec 15, 2018 at 11:16 PM Alec Warner wrote: > > > - Disk usage for git vs rsync > > > > This is why I have not switched. With git you pull down increasing > > amounts of history, whereas with rsync the data fits easily in a <1GB > > partition. > > Recent portage can use sync-depth = 1 > repo dir no longer grows as it used to and it's works fine unlike initial > implementation that was giving trouble > > https://bugs.gentoo.org/552814 > > du -hs /var/db/repos/gentoo > 350M /var/db/repos/gentoo > > example /etc/portage/repos.conf/gentoo.conf : > [DEFAULT] > main-repo = gentoo > > [gentoo] > auto-sync = yes > location = /var/db/repos/gentoo > sync-type = git > sync-uri = https://github.com/gentoo-mirror/gentoo.git > sync-depth = 1 > sync-git-clone-extra-opts = -b master > sync-git-verify-commit-signature = true > > > sync is almost instantaneous compared to rsync, but some folks not going to > like github as a mirror in this case. Thanks for the information. That seems to work great!