GNU bug report logs - #56750
modernize bootstrap.conf

Previous Next

Package: vc-dwim;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 24 Jul 2022 19:58:02 UTC

Severity: normal

To reply to this bug, email your comments to 56750 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-vc-dwim <at> gnu.org:
bug#56750; Package vc-dwim. (Sun, 24 Jul 2022 19:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-vc-dwim <at> gnu.org. (Sun, 24 Jul 2022 19:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-vc-dwim <at> gnu.org
Subject: modernize bootstrap.conf
Date: Sun, 24 Jul 2022 21:57:13 +0200
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 <https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00053.html> 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







This bug report was last modified 2 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.