From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 15:57:24 2022 Received: (at submit) by debbugs.gnu.org; 24 Jul 2022 19:57:24 +0000 Received: from localhost ([127.0.0.1]:48724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFhjA-0007mT-3m for submit@debbugs.gnu.org; Sun, 24 Jul 2022 15:57:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:48344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFhj7-0007mL-TW for submit@debbugs.gnu.org; Sun, 24 Jul 2022 15:57:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFhj6-0003M5-Nf for bug-vc-dwim@gnu.org; Sun, 24 Jul 2022 15:57:20 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:42147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFhj3-0002VU-SQ for bug-vc-dwim@gnu.org; Sun, 24 Jul 2022 15:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1658692634; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=nWKtRSMlpbliDGDWqflCSv2f20nX2RZPaae/y2r99f4=; b=ELijARJpDO3vDXVExsq1ne0Pt/O/mY3uZjOhR53iSfY4zCYaKN4gF47g0CSir/8/np EeZnyukRG6oyXvZ5NpOfGa8VHFmaIkw5G1oLSMgk86gplkKu94rJhyuFOI3bTn+MKhfW xbyUrIhWw0m2xfazbZ0XEq5nn6jHamgRiwMwaMj+4jbVnZhshZ4RFZBfzs+Hp+pRgyyi c1irVOHB32m0Ro6U/OTeMZA8nEb9NwE5hGDSzpM2dFvvlHna48UclUKlOXCR0tqAVWZ6 vFuWVW3uiZx2cQ7oShIb2uDbm3Si/90oBNGWEHrScmrjSdTIr0j9f5lkrYjg48tM4aBx r/WA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zG6tLj91pCRiuTfIiVnxpzfvNS26Ye+6yfl" X-RZG-CLASS-ID: mo00 Received: from nimes.localnet by smtp.strato.de (RZmta 47.47.0 AUTH) with ESMTPSA id v673d9y6OJvDHzv (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 24 Jul 2022 21:57:13 +0200 (CEST) From: Bruno Haible To: bug-vc-dwim@gnu.org Subject: modernize bootstrap.conf Date: Sun, 24 Jul 2022 21:57:13 +0200 Message-ID: <2593712.X9hSmTKtgW@nimes> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.20; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, The 'bootstrap' script from Gnulib has been reorganized to work in two phases: (1) Fetch auxiliary files that are not in the git checkout. This is the part that requires network access and that has supply-chain concerns. (2) Generate files such as configure, config.h, Makefile.in etc. This includes running gnulib-tool. See for details. For GNU vc-dwim some adjustment of the bootstrap.conf is needed. The bootstrap.conf is meant to contain configuration settings, that is, define variables and functions (hooks with special meanings). Instead, vc-dwim/bootstrap.conf does some actions directly. This will not work satisfactorily with the new two-phase bootstrap. What is needed, is to move these actions into hooks: - Actions that may require network access belong in the bootstrap_post_pull_hook function. - Actions that merely regenerate files (without network access) usually belong in the bootstrap_post_import_hook. The lines # Automake requires that ChangeLog exist. touch ChangeLog can be moved into the bootstrap_post_import_hook function. Bruno