bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: bug-gnulib@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [PATCH 0/6] build-aux/bootstrap that doesn't need to replace itself
Date: Tue, 27 Dec 2022 10:59:55 -0800	[thread overview]
Message-ID: <20221227190002.5660-1-eggert@cs.ucla.edu> (raw)

This set of patches addresses a problem I found with gzip
<https://bugs.gnu.org/56749>.  The idea is to add a new
feature to the bootstrap process so that a package can put just a
single bootstrap script into its repository, a script that does not
need to replace itself, while still providing a way for builders
to pull and generate in separate phases.

Paul Eggert (6):
  Move scriptversion= lines up in scripts
  Make autogen a shell function too
  Make autopull a shell function too
  Bootstrap with functions, not scripts
  Support packages with just 'bootstrap'
  Add --pull, --gen options to build-aux/bootstrap

 ChangeLog                |  45 +++
 build-aux/bootstrap      | 761 +++++++++++++++++++++++++++++++++++++--
 doc/gnulib-tool.texi     |  13 +-
 doc/gnulib.texi          |  23 +-
 top/autogen.sh           | 449 +----------------------
 top/autopull.sh          | 238 +-----------
 top/bootstrap            |  46 ++-
 top/bootstrap-funclib.sh | 713 +++++++++++++++++++++++++++++++++++-
 top/gen-bootstrap.sed    |   4 -
 9 files changed, 1535 insertions(+), 757 deletions(-)

-- 
2.25.1



             reply	other threads:[~2022-12-27 19:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 18:59 Paul Eggert [this message]
2022-12-27 18:59 ` [PATCH 1/6] Move scriptversion= lines up in scripts Paul Eggert
2022-12-27 18:59 ` [PATCH] stdnoreturn: deprecate Paul Eggert
2022-12-27 18:59 ` [PATCH 2/6] Make autogen a shell function too Paul Eggert
2022-12-27 18:59 ` [PATCH 3/6] Make autopull " Paul Eggert
2022-12-27 19:00 ` [PATCH 4/6] Bootstrap with functions, not scripts Paul Eggert
2022-12-27 19:00 ` [PATCH 5/6] Support packages with just 'bootstrap' Paul Eggert
2022-12-27 19:00 ` [PATCH 6/6] Add --pull, --gen options to build-aux/bootstrap Paul Eggert
2022-12-27 21:09 ` [PATCH 0/6] build-aux/bootstrap that doesn't need to replace itself Bruno Haible
2022-12-28  2:16   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221227190002.5660-1-eggert@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).