From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 77BF91F44D for ; Sat, 20 Apr 2024 13:06:09 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=bernhard-voelker.de header.i=mail@bernhard-voelker.de header.a=rsa-sha256 header.s=s1-ionos header.b=aJpDJMks; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryAPo-0002yC-Jb; Sat, 20 Apr 2024 09:06:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryAPn-0002y3-D2 for bug-gnulib@gnu.org; Sat, 20 Apr 2024 09:05:59 -0400 Received: from mout.kundenserver.de ([217.72.192.75]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryAPl-0002b9-Ap for bug-gnulib@gnu.org; Sat, 20 Apr 2024 09:05:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bernhard-voelker.de; s=s1-ionos; t=1713618353; x=1714223153; i=mail@bernhard-voelker.de; bh=SSa756+koX8UNs3fJ+wx78DVf19Pe7nFeloaRSwdwNI=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=aJpDJMksSLGYxauP+oPAvqvPeuoNSKY+LQNnUtcms9jQm/z/W1/mC0+7DQTpUPly 8h5bRLipWIYEzLOg6ooLhc16fdWJgOp3L9zh4A7p5QpEwIY7Bqhp66lOhuT/UWBZT MeRdeOyQW6nrg60AA9xH5gGgkKkED5yixRbaLvl0E+34AHGSg6uMv5IU5rn3k7Mfa 17a9E7u+x+QVLF0pjohmwm4Ibzpx1vvw+1RBPZvPbWwXhAHD43KPkRwxeJlQ44jR1 FrjzA8yAfoCsXvUk2KH7ECQi+dElvfSmlw8colrz8iAvdrL1W+gCy4HlBQOIN4voE YWgKspy/35HgoMyU3w== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from [192.168.101.10] ([91.49.79.53]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MDPqi-1rpsfv0SqU-00AUcw; Sat, 20 Apr 2024 15:05:53 +0200 Message-ID: <95169619-c545-4731-8067-2210af03f8ef@bernhard-voelker.de> Date: Sat, 20 Apr 2024 15:05:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: beta-tester call draft To: Bruno Haible , bug-gnulib@gnu.org References: <17575364.8ZXASUQcjA@nimes> Content-Language: en-US From: Bernhard Voelker In-Reply-To: <17575364.8ZXASUQcjA@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:EvMcHXdZkOkMmq6TURh/b0opUA3v3v7Tm3l+Fbt2DMT7AkM31jc z2w5KZUBs95EKdMAksH9XB4iRv6SlUIs8DNfC9CVA4kFJZ9W3+5er3i8gs70hN1qvqGJcuB xMhP+cX0TGnJxKoNkOj/Uqvb4KkMgOVw7i6lx2rQKXa8RjnyQAhONUQnzFWnKMV3EQpfRHT VrQ6mWlF9WwjDj1PGU16g== UI-OutboundReport: notjunk:1;M01:P0:I6HE17F3mw4=;89a5It5oawrjrT+i5Y5Yfyfsy22 pU7x2ba/2wtZzOOIYH1P7YbSSbDVUlNjdCFkCrHMLehk3UAag0f1sjPAjqhOCXf+ZJr/uPucZ Tc6ZTIOXM3Mg7+vMJxuW/uCEi++57Ic0Mh2oiumZV8CmTFBmTjC+YpliOP+agQJEyDwIJbl0O Lym1VtHu4Gc5F24gzqmglG+PkEYmxV9SeTWz66rFrZdFwPzQaXOtEcefkKnaQZjQSieVXlzx+ fEkXLyadbpOoU8Yz4PGZOnXqwqoFoM3L7ZJvpek+rDfdPF1ckhhzaJAj3JOeL07azVGhHNKFh dT5OCSA30wX+E6VLmtr8AqEsCL+zZjr0Y0AfCk+ALy4hgEOUgm5Pp2FF0F8lm6DzdVCN6MhB8 +BN6lWNaUNlGyHB6TP4TrRGQ7KpUxQTln8nBME3EGUIfwH+smn71doevYJ7wrYovX21MAHHYp M9AXdIpR72MHMiY2nwm1hFrUZzcglRi3HlwdZJed6jEkrPhnCKvrkUkcMNfcKE89mafLrwk06 FY0GiaPqHdNJDl22VBqPR6lzLwANYoIkLZDf9Wk/aenzpWqaUmX3R3ddBB+s7yTNM/NMK9hkh FPhjjJ9QIBUJ8LvgXJ0EBE49qtfJPwd6VfnbPGBoPD5v+LOijdV9LaE2uQD6cp9VxES2ZagJC QBHjtyBXsH895zBbPb/ZZ3iUQ0/ECSEQLrcM+rnBXcnEGkw0pVd+kMra438U3hpntWDMnroBn h+BFbebJJdVHIOdcDtcEOwrupf7vy+p1Xy6yvvNX4uovy3FEbJUL44= Received-SPF: pass client-ip=217.72.192.75; envelope-from=mail@bernhard-voelker.de; helo=mout.kundenserver.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org On 4/20/24 02:22, Bruno Haible wrote: > Hi, > > It's now time to call for beta-testers of the Python gnulib-tool. > I plan to post the same text to info-gnu and to planet.gnu.org. > > Here is a draft. Please comment! findutils results ... > --------------------------------------------------------------------- > GNU gnulib: calling for beta-testers > > If you are developer on a package that uses GNU gnulib as part of its > build system: > > gnulib-tool has been known for being slow for many years. We have > listened to your complaints. A rewrite of gnulib-tool in another > programming language (Python) is ready for beta-testing. It is > between 8 times and 100 times faster than the original gnulib-tool. > > Both implementations should behave identically, that is, produce > the same generated files and the same output. You can help us ensure > this, through the following steps: > > 1. Make sure you have Python (version 3.7 or newer) installed on > your machine. $ python3 --version Python 3.11.8 > 2. Update your gnulib checkout. (For some packages, it comes as a > git submodule named 'gnulib'.) Like this: > $ git pull > Set the environment variable GNULIB_SRCDIR, pointing to this check= out. done: gnulib 237cbf1c > 3. Set an environment variable that enables checking that the two > implementations behave the same: > $ export GNULIB_TOOL_IMPL=3Dsh+py done > 4. Clean the built files of your package: > $ make -k distclean Used $ git clean -xdfq && ./bootstrap && ./configure && && make -k distclean to get a clean working environment. > 5. Regenerate the fetched and generated files of your package. > Depending on the packge, this may be a command such as > $ ./bootstrap --no-git --gnulib-srcdir=3D$GNULIB_SRCDIR > or > $ export GNULIB_SRCDIR; ./autopull.sh; ./autogen.sh > or, if no such script is available: > $ $GNULIB_SRCDIR/gnulib-tool --update > If there is a failure, due to differences between the 'sh' and 'py= ' > results, please report it to . How would such a failure look like? Or how should one check? $ ./bootstrap no error. :-) Regarding the timings: $ export GNULIB_TOOL_IMPL=3Dsh $ time ./bootstrap ... real 1m29.778s ser 1m21.919s sys 0m19.456s $ export GNULIB_TOOL_IMPL=3Dpy $ time ./bootstrap ... real 0m26.536s user 0m22.881s sys 0m0.884s $ time AUTORECONF=3Dtrue ./bootstrap --skip-po ... real 0m3.369s user 0m2.979s sys 0m0.520s Cool! > 6. If this invocation was successful, you can trust the rewritten > gnulib-tool and use it from now on, by setting the environment > variable > $ export GNULIB_TOOL_IMPL=3Dpy > > 7. Continue with > $ ./configure > $ make > as usual. > > And enjoy the speed! The rewritten gnulib-tool was implemented by > Dmitry Selyutin, Collin Funk, and me. > --------------------------------------------------------------------- There will come the question whether there are plans to drop the 'sh' mode= , or if or how long both modes will be maintained in parallel. Have a nice day, Berny