From patchwork Wed May 21 06:39:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Junker X-Patchwork-Id: 42825 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8ED3927BC4B; Wed, 21 May 2025 07:41:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E351227BC4A for ; Wed, 21 May 2025 07:41:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uHd8U-0007HE-Ci; Wed, 21 May 2025 02:41:06 -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 1uHd8Q-0007Gj-K2 for guix-patches@gnu.org; Wed, 21 May 2025 02:41:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uHd8Q-0002JU-94 for guix-patches@gnu.org; Wed, 21 May 2025 02:41:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=Hz3woflXIYIHMxujawdGU0Vqi6c6Z5f7n7nbSXYqnHk=; b=NF1WxSI+5hLFUenjrK2VjQdvWQ5m9roKGc+CnPGHsOpaNavbTh/K3pTa6ftfnbCNMmigqOyxLVCENfnKulBDzBucrmaNlFejlUSd16JlNf8Wrry/miLf9t4833J/gKO2zgiKloXf7+7PUVXBpSTx7J8BSNhUOGfQPIAzhd4Y1Gco71G0mC6T9tbP8Q6hFtySrs0U5GsI8ll1/m99W8tAi+AEP24vbAhPFk+bwNBMuNlA1SVuM15tdC4u4QFIge5PRrNcJv7ssRymUvgSTDzAwDyLBMIwBxFIGePqNNd6ho3+5jKXQifSwUuGzu8rLNSF5WVzNZ6bCCq7NzsZ2Y14VQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uHd8Q-0004sw-20 for guix-patches@gnu.org; Wed, 21 May 2025 02:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78526] [PATCH] gnu: Add toolong. Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 May 2025 06:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78526 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78526@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174780960918463 (code B ref -1); Wed, 21 May 2025 06:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2025 06:40:09 +0000 Received: from localhost ([127.0.0.1]:43331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHd7Y-0004mq-NN for submit@debbugs.gnu.org; Wed, 21 May 2025 02:40:09 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58256) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uHd7V-0004iH-9r for submit@debbugs.gnu.org; Wed, 21 May 2025 02:40:07 -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 1uHd7P-0006xs-HN for guix-patches@gnu.org; Wed, 21 May 2025 02:39:59 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1uHd7M-00020Y-6O for guix-patches@gnu.org; Wed, 21 May 2025 02:39:59 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4b2MGq60ZJz9sTc for ; Wed, 21 May 2025 08:39:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1747809588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Hz3woflXIYIHMxujawdGU0Vqi6c6Z5f7n7nbSXYqnHk=; b=PxtpDepW+c4owTcJkAUYtAA8D/eRDrFzhwARpuvigb5wSfxmeXjEJTqvimnxEZJIXoOLfO E+DHmLOaYL34b9Qs808o5xx3+AlP5MMqrp3PZiL8wNNNPIOrCmkYPY8SfaudbOXfXyjy6S g18sr9/Rvo9T2LtPr0HMRzF6MzjyxtyRTcUcq9HIpdmziSlqid8Ltf0+7sd1TgyozjNfM3 RZPLlpn5gw5I2x7T0kIPQG5AW0ZIYpuIcWuZv/1+wkwxu5mdYLZrQheOAckXQ/nDo+5OcP /5tHZtuhZBiMse9lGT2fvgTTHXWJ1vFJyxJTJSGKDYBtK8xAvk2DqXepJlU2sg== Date: Wed, 21 May 2025 13:39:36 +0700 From: Junker Message-ID: <0892322ad8cf65420c1e228df58502321368f199.1747809408.git.dk@junkeria.club> MIME-Version: 1.0 Content-Disposition: inline Received-SPF: pass client-ip=80.241.56.151; envelope-from=dk@junkeria.club; helo=mout-p-101.mailbox.org 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/admin.scm (toolong): New variable. Change-Id: Iefa8840c16f3d1478c3afb32af253e0a20bb689a --- gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: 11bc17c409d77cd1af91e30b5b9f6a73f873a152 diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index cff378f184..5b1cc4d598 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -77,6 +77,7 @@ ;;; Copyright © 2025 Dariqq ;;; Copyright © 2024 nik gaffney ;;; Copyright © 2025 Simon Streit +;;; Copyright © 2025 Junker dk@junkeria.club ;;; ;;; This file is part of GNU Guix. ;;; @@ -6865,3 +6866,35 @@ (define-public xfel (description "This package contains a debugging tool for Allwinner devices (connects via USB OTG).") (license license:expat))) + +(define-public toolong + (package + (name "toolong") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "toolong" version)) + (sha256 + (base32 "1wxw7gprxpimzzqzqr8hpq5fmyrx1xpfs6rq6wfp1yalz40lg4s9")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;no tests + (propagated-inputs (list python-click + python-textual + python-typing-extensions)) + (native-inputs + (list python-poetry-core)) + (synopsis "Terminal application to view, tail, merge, and search log +files (plus JSONL)") + (description "Toolong is a terminal application to view, tail, merge, and +search log files (plus JSONL). +@itemize +@item Live tailing of log files. +@item Syntax highlights common web server log formats. +@item As fast to open a multiple-gigabyte file as it is to open a tiny text file. +@item Support for JSONL files: lines are pretty printed. +@item Opens .bz and .bz2 files automatically. +@item Merges log files by auto detecting timestamps. +@end itemize") + (home-page "https://github.com/textualize/toolong") + (license license:expat)))