<html><head></head><body><div style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div>Hi Boris,</div><div><br></div><div>Thanks for your advice!</div><div>I checked <span>C:\build2\share\doc\bpkg\bpkg-common-options.xhtml and read this:</span></div><div>> <span>Currently, bpkg has the following preference order: wget 1.16 or higher (supports --show-progress), curl, wget, and fetch.</span></div><div><span>But I didn't find wget.exe in the provided <span>build2-baseutils or <span>build2-mingw packages.</span></span></span></div><div><span><span><span>I suggest to have wget(>=1.16) included, and <span><!--StartFragment--><span style="color: rgb(0, 0, 0); font-family: "courier new", courier, monaco, monospace, sans-serif;">may </span><!--EndFragment--></span>it fix this problem without any other modification?</span></span></span></div><div><span><span><span><br></span></span></span></div><div><span><span><span>Sincerely,</span></span></span></div><div><span><span><span>Feiyun Wang</span></span></span></div><div id="yahoo_quoted_2814263304" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, July 17, 2018, 7:34:20 PM GMT+8, Boris Kolpackov <boris@codesynthesis.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div>Feiyun Wang <<a shape="rect" ymailto="mailto:feiyunw@yahoo.com" href="mailto:feiyunw@yahoo.com">feiyunw@yahoo.com</a>> writes:<div class="yqt8919676917" id="yqtfd50977"><br clear="none"><br clear="none">> I suggest that bpkg-stage can retry for some times automatically when<br clear="none">> curl fails, like wget does.</div><br clear="none"><br clear="none">Automatically retrying means adding another option (to configure the<br clear="none">number of retries or to disable them) and dragging it through all the<br clear="none">levels of build and bootstrap scripts. This both increases complexity,<br clear="none">number of logic paths to test, etc. At the same time, it is fairly<br clear="none">simple to just restart the build/bootstrap script from scratch.<br clear="none"><br clear="none">But if you really need retries, feel free to customize the relevant<br clear="none">scripts yourself (you can pass the necessary curl options to bpkg via<br clear="none">--fetch-option).<div class="yqt8919676917" id="yqtfd69766"><br clear="none"></div></div>
            </div>
        </div></div></body></html>