Message ID | 20220208020834.5701-1-jgart@dismail.de |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6CACF27BBEA; Tue, 8 Feb 2022 02:12:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 45DE327BBE9 for <patchwork@mira.cbaines.net>; Tue, 8 Feb 2022 02:12:26 +0000 (GMT) Received: from localhost ([::1]:41758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1nHFzV-0003b2-7M for patchwork@mira.cbaines.net; Mon, 07 Feb 2022 21:12:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nHFz8-0003Wj-Sb for guix-patches@gnu.org; Mon, 07 Feb 2022 21:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nHFz8-0005rV-Ar for guix-patches@gnu.org; Mon, 07 Feb 2022 21:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nHFz8-00030v-68 for guix-patches@gnu.org; Mon, 07 Feb 2022 21:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53865] [PATCH] gnu: ruby-parser: Update to 3.1.0.0. Resent-From: jgart <jgart@dismail.de> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 02:12:01 +0000 Resent-Message-ID: <handler.53865.B.164428629611549@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53865 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53865@debbugs.gnu.org Cc: jgart <jgart@dismail.de> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164428629611549 (code B ref -1); Tue, 08 Feb 2022 02:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 02:11:36 +0000 Received: from localhost ([127.0.0.1]:44401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1nHFyi-00030D-69 for submit@debbugs.gnu.org; Mon, 07 Feb 2022 21:11:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:43768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jgart@dismail.de>) id 1nHFyg-000306-W0 for submit@debbugs.gnu.org; Mon, 07 Feb 2022 21:11:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jgart@dismail.de>) id 1nHFyg-0003FG-Nt for guix-patches@gnu.org; Mon, 07 Feb 2022 21:11:34 -0500 Received: from mx1.dismail.de ([78.46.223.134]:11622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jgart@dismail.de>) id 1nHFyb-0005cC-H5 for guix-patches@gnu.org; Mon, 07 Feb 2022 21:11:31 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e2e7a4c4 for <guix-patches@gnu.org>; Tue, 8 Feb 2022 03:10:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=poIsqMZADMSw+DXgi+AGs7VT+tLZlRmocO7ndzIreb8=; b= YQDEs6qwoez9UeKTeasZ6SiElE+zu9SyS28N/HR2fdRh+VJHd0TTX/1IEAd40Ppp XvaqReLrTj7szbEsrnkcvWpDZh+jJ4XrjYbNu0qgM5St3J0C78bLd7Fc8u/NrDL5 B/hGhBQvWh8th733bgQzO3qoSJPmBUV0idROf4sQmOq/ypDIwg5jCdFq1NHuZT7W DdlZWYNlEMXgKRxlrKIR4NFAFN1rL/vplU+PUGO5+mutw/pli5PzIvxT9xZ4LTOa X/gXjDTHmK7WgiGAqP+6L1BxwJGJZgh/l72kMMjBWrXHHQpwqG2DSJqorq7uHBC+ FMB0dLcJfMTrmRlglcSYqQ== Received: from smtp2.dismail.de (<unknown> [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2f598388 for <guix-patches@gnu.org>; Tue, 8 Feb 2022 03:10:37 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id c08ccfed for <guix-patches@gnu.org>; Tue, 8 Feb 2022 03:10:37 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 77f0852e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 8 Feb 2022 03:10:37 +0100 (CET) Date: Mon, 7 Feb 2022 21:08:34 -0500 Message-Id: <20220208020834.5701-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> Reply-to: jgart <jgart@dismail.de> X-ACL-Warn: , jgart via Guix-patches <guix-patches@gnu.org> From: jgart via Guix-patches via <guix-patches@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#53865] gnu: ruby-parser: Update to 3.1.0.0.
|
|
Commit Message
jgart
Feb. 8, 2022, 2:08 a.m. UTC
* gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0. --- gnu/packages/ruby.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hello,
jgart via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0.
Applied on core-updates (it entails building 5k packages).
Regards,
On Wed, 09 Feb 2022 16:05:52 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Hello, > > jgart via Guix-patches via <guix-patches@gnu.org> writes: > > > * gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0. > > Applied on core-updates (it entails building 5k packages). Thanks Nicolas! What is your workflow for determining whether it goes to core-updates? Do you just run `guix size ...` at the end of working on something and then make a decision while consulting that page in the manual that details it?
jgart via Guix-patches via <guix-patches@gnu.org> writes: > On Wed, 09 Feb 2022 16:05:52 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: >> Hello, >> >> jgart via Guix-patches via <guix-patches@gnu.org> writes: >> >> > * gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0. >> >> Applied on core-updates (it entails building 5k packages). > > Thanks Nicolas! > > What is your workflow for determining whether it goes to core-updates? I did guix refresh --list-dependent ruby It reported 5000+ packages. According to Submitting Patches section of the manual, above 1800, it should go to core-updates (at the moment). HTH,
On Wed, 09 Feb 2022 21:00:36 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > jgart via Guix-patches via <guix-patches@gnu.org> writes: > > > On Wed, 09 Feb 2022 16:05:52 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > >> Hello, > >> > >> jgart via Guix-patches via <guix-patches@gnu.org> writes: > >> > >> > * gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0. > >> > >> Applied on core-updates (it entails building 5k packages). > > > > Thanks Nicolas! > > > > What is your workflow for determining whether it goes to core-updates? > > I did > > guix refresh --list-dependent ruby > > It reported 5000+ packages. According to Submitting Patches section of > the manual, above 1800, it should go to core-updates (at the moment). > > HTH, Ah yes, `refresh` not `size` Thanks! > -- > Nicolas Goaziou
On Wed, 09 Feb 2022 16:05:30 -0500 jgart <jgart@dismail.de> wrote: > On Wed, 09 Feb 2022 21:00:36 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > > jgart via Guix-patches via <guix-patches@gnu.org> writes: > > > > > On Wed, 09 Feb 2022 16:05:52 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > > >> Hello, > > >> > > >> jgart via Guix-patches via <guix-patches@gnu.org> writes: > > >> > > >> > * gnu/packages/ruby.scm (ruby-parser): Update to 3.1.0.0. > > >> > > >> Applied on core-updates (it entails building 5k packages). > > > > > > Thanks Nicolas! > > > > > > What is your workflow for determining whether it goes to core-updates? > > > > I did > > > > guix refresh --list-dependent ruby > > > > It reported 5000+ packages. According to Submitting Patches section of > > the manual, above 1800, it should go to core-updates (at the moment). What do you think if we were to add a smart user message to the `guix refresh --list-dependent ...` command? I was thinking something along these lines: ``` $ guix refresh --list-dependent ruby-parser Building the following 1991 packages would ensure 5378 dependent packages are rebuilt: ... ruby-parser reported 5000+ packages. According to Submitting Patches section of the manual, above 1800, it should go to core-updates (at the moment). ``` Like that, the command reminds the user/calculates for the user what branch to put the package in. I'm imagining it would be as easy as just getting the length of the output and matching against it the appropriate message?
jgart via Guix-patches via <guix-patches@gnu.org> writes: > What do you think if we were to add a smart user message to the `guix refresh > --list-dependent ...` command? > > I was thinking something along these lines: > > ``` > $ guix refresh --list-dependent ruby-parser > > Building the following 1991 packages would ensure 5378 dependent packages are rebuilt: ... > > ruby-parser reported 5000+ packages. According to Submitting Patches section of > the manual, above 1800, it should go to core-updates (at the moment). > ``` > > Like that, the command reminds the user/calculates for the user what > branch to put the package in. > > I'm imagining it would be as easy as just getting the length of the output and > matching against it the appropriate message? This would only be useful for people wanting to submit a patch who have forgotten about that rule. For everyone else, this is just technical noise. I don't think this is something terribly useful. In any case, you can create another bug report to suggest it as an UI improvement. Regards,
On Wed, 09 Feb 2022 22:24:04 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > jgart via Guix-patches via <guix-patches@gnu.org> writes: > > > What do you think if we were to add a smart user message to the `guix refresh > > --list-dependent ...` command? > > > > I was thinking something along these lines: > > > > ``` > > $ guix refresh --list-dependent ruby-parser > > > > Building the following 1991 packages would ensure 5378 dependent packages are rebuilt: ... > > > > ruby-parser reported 5000+ packages. According to Submitting Patches section of > > the manual, above 1800, it should go to core-updates (at the moment). > > ``` > > > > Like that, the command reminds the user/calculates for the user what > > branch to put the package in. > > > > I'm imagining it would be as easy as just getting the length of the output and > > matching against it the appropriate message? > > This would only be useful for people wanting to submit a patch who have > forgotten about that rule. For everyone else, this is just technical > noise. I don't think this is something terribly useful. > > In any case, you can create another bug report to suggest it as an UI > improvement. If you think it's bloat, I can get behind that. I should just memorize the rule already ;() I was thinking it could be useful for newcomers to Guix but maybe they should just find it in the manual. I know I missed that part in the manual when I was more of a fresher and I still do sometimes as this patch attested.
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b242aa8295..e15d53eefa 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5195,14 +5195,14 @@ (define-public ruby-parallel-tests (define-public ruby-parser (package (name "ruby-parser") - (version "3.0.0.0") + (version "3.1.0.0") (source (origin (method url-fetch) (uri (rubygems-uri "parser" version)) (sha256 (base32 - "1jixakyzmy0j5c1rb0fjrrdhgnyryvrr6vgcybs14jfw09akv5ml")))) + "08q20ckhn58m49lccf93p0yv7pkc7hymmcz3di762kb658d5fd38")))) (build-system ruby-build-system) (arguments '(#:tests? #f)) ; tests not included in gem