From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-5.6 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 5E5461F403 for ; Fri, 7 Oct 2022 14:25:27 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=github.com header.i=@github.com header.b="MBXYaAs3"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiJGOYw (ORCPT ); Fri, 7 Oct 2022 10:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbiJGOYu (ORCPT ); Fri, 7 Oct 2022 10:24:50 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B137914D20 for ; Fri, 7 Oct 2022 07:24:47 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id j21so745830qkk.9 for ; Fri, 07 Oct 2022 07:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Bq6U8IFQgEn9wEPvf8WPG42tdmMMcXRp1DDFXEF+NUA=; b=MBXYaAs3Y9MUXNAkIIsWI4oarkPpSSTGwnqmD+5BOP1EgEnOOKW80pqGX4XgLgX5CY L6JeMQqH5OL6ugc9f6svbwl+DQ1cemjBkcX3KzNzb7P+rkU+POhNBtNcom+p/Ash3oLX uORuWr4Lm9GHWUUQ+T3zGYAHJ+dwNKyQzF1fpJX/mSqGJYc6Pjrpr7NboO9PfBAyE/3d lpDK3dviRzyYs1RfuOSlE2Ny8PLZElT8pQMVNQqDxM4SegnJIxNjgE2txZlueEmb5kBU 6HbDn7rs9nh+dqRczqcNC2VfEEi4rEeb/QMmoSJKwE0Kx6uyIxKCVj3eHEHvTIWwsQjD bjzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Bq6U8IFQgEn9wEPvf8WPG42tdmMMcXRp1DDFXEF+NUA=; b=BpFTdHlemHA1t7lcqUSkIjKXusZZrPEhtETa+slUBBfMtKxkjQIksePezoCi7UgbmS XsbBN31Nh0jXaC2Vr7105akjYKuhfnvlx9c1DT2xUh9HXGPXuBMMUT8sbQlA8V/xXYnr A9pMKD3hPFqP9MLEtndS+ShORlpqC6u5UhBJdMDhMbmhNMC8QaFlN4z6IeejqycfpfkY sjp5JuchoWid5zJbY8Ee/519M/d4+t7hjgiCvLXqArMOugIPnN74Z+uFq26p1LaNiptL 2ubyvqhGtQ7nJokJw801twbm2nr1QhwLtXu3OLHA2Ua79lUNxf1TS6Db/YJfO5LiOXQQ 1pEg== X-Gm-Message-State: ACrzQf0NtfY5OdTigzuux17YlHXeH1wHrerRlq1AXc0Xnps4tlCmyQ+2 THLEIkPUraKCSNVB+mPWYb15FIjsIMsm X-Google-Smtp-Source: AMsMyM66QX9s42yr2F3ktFVye33729zy3qe/hUv8me/C+09aP1XQD85mtItGawT05BMCC9EyxgKUfA== X-Received: by 2002:a05:620a:800d:b0:6ce:6f69:d629 with SMTP id ee13-20020a05620a800d00b006ce6f69d629mr3724890qkb.594.1665152686824; Fri, 07 Oct 2022 07:24:46 -0700 (PDT) Received: from ?IPV6:2600:1700:e72:80a0:2185:e582:857d:e0db? ([2600:1700:e72:80a0:2185:e582:857d:e0db]) by smtp.gmail.com with ESMTPSA id ay11-20020a05620a178b00b006bb78d095c5sm2009130qkb.79.2022.10.07.07.24.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Oct 2022 07:24:45 -0700 (PDT) Message-ID: Date: Fri, 7 Oct 2022 10:24:44 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [feature request] resume capability for users in enemies of Internet countries Content-Language: en-US To: Philip Oakley , Eric Wong , =?UTF-8?Q?Michal_Such=c3=a1nek?= Cc: Bagas Sanjaya , m , git@vger.kernel.org References: <6e4a08d2-5d72-29fd-6917-11f0a74e9314@gmail.com> <83814bcb-1d72-07bf-32d1-d05db6cc6481@gmail.com> <20221007071459.GM28810@kitsune.suse.cz> <20221007072606.M704368@dcvr> <8e11ecf0-735a-a104-a3d1-8324fbd76862@iee.email> From: Derrick Stolee In-Reply-To: <8e11ecf0-735a-a104-a3d1-8324fbd76862@iee.email> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On 10/7/22 6:03 AM, Philip Oakley wrote: > On 07/10/2022 08:26, Eric Wong wrote: >> Perhaps GIT_SMART_HTTP=0 and having dumb clones not throwaway >> incomplete xfers would be more transparent to hosters, but dumb >> HTTP tends to be slow even on good connections. > > There is work going on by Stollee (cc'd) on Bundle-URIs that look to > split up repository serving into bite sized chunk, so may be worth > looking at. > https://lore.kernel.org/git/pull.1248.v4.git.1660050761.gitgitgadget@gmail.com/ > : [PATCH v4 0/2] bundle URIs: design doc > > Also discussed at the recent Contributor's Summit > https://lore.kernel.org/git/YzXvwv%2FzK5AjhVvV@nand.local/ : [TOPIC 1/8] > Bundle URIs Thanks, Philip. The bundle URIs feature should make it possible to help here. One is that we could break the clone into smaller pieces, but I think that most bundle providers will still have at least one bundle with "most" of the repo. The real payoff is that we should be able to have resumable downloads for those bundles (pending some implementation details, but I'm waiting for the rest of the series to land first). Of course, this all depends on the host providing bundles and advertising them, but we will get to that when we can. Thanks, -Stolee