From patchwork Fri May 23 03:24:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Junker X-Patchwork-Id: 42870 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 25D6227BC4C; Fri, 23 May 2025 04:25:33 +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 5AC2927BC49 for ; Fri, 23 May 2025 04:25:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uIJ1t-0002KE-F4; Thu, 22 May 2025 23:25:05 -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 1uIJ1q-0002K6-Lm for guix-patches@gnu.org; Thu, 22 May 2025 23:25:03 -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 1uIJ1q-0000NY-B7 for guix-patches@gnu.org; Thu, 22 May 2025 23:25: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:In-Reply-To:References:Subject; bh=BExB5iO17ryCcTlJAmY/S2iyeKkeCLi15/sHFtjun0M=; b=AT7JMyixU9qzD04fx0Isy8w+KIGojd6EKt3RAjPxkwDDYgj8RyrtAusCFqvoUBVGVGhn6WpnV63P+qnknx9eiJkOhVIdc8I85426EAWU6rM3GV1JvIDzYcEHEP6UgFIW5ewKtVgUKAXjFpJt5g6jPDGWDe2SzpgOLZB6JuKkqYl9tCeNkHiD0Fn9rxIdJaPwhS4uJ+GbvVF5ndNe/jZ7tDBKcVKtYPT8GSEBHrR5sj92Bv/GnN1g+vEOwVz9VPpOKUv4RmIQTQgWI3lkZuW9kTqwb2B6/FX5AFnWKR+KdJion/PdvHTuyFXr2ncQHDeoLUiDqNb7PZ9JkwjLKPj/Jw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uIJ1p-0004uA-U6 for guix-patches@gnu.org; Thu, 22 May 2025 23:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78526] [PATCH v2] gnu: Add toolong. References: <0892322ad8cf65420c1e228df58502321368f199.1747809408.git.dk@junkeria.club> In-Reply-To: <0892322ad8cf65420c1e228df58502321368f199.1747809408.git.dk@junkeria.club> Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 May 2025 03:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78526 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78526@debbugs.gnu.org Received: via spool by 78526-submit@debbugs.gnu.org id=B78526.174797067818818 (code B ref 78526); Fri, 23 May 2025 03:25:01 +0000 Received: (at 78526) by debbugs.gnu.org; 23 May 2025 03:24:38 +0000 Received: from localhost ([127.0.0.1]:42346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIJ1S-0004tS-AU for submit@debbugs.gnu.org; Thu, 22 May 2025 23:24:38 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:53106) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIJ1N-0004t3-Qk for 78526@debbugs.gnu.org; Thu, 22 May 2025 23:24:37 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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 4b3VrT0R9kz9sm9 for <78526@debbugs.gnu.org>; Fri, 23 May 2025 05:24:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1747970665; 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=BExB5iO17ryCcTlJAmY/S2iyeKkeCLi15/sHFtjun0M=; b=hiABeJiU8hS+v8nzG+85jouhtEnZob5puMYPgm94/I8k/QqWchbJeBHNyx48Pnp8c15sfS W5JGcnOi3C82NbDMB/8WuqMRwLb4s7+Kpc+/aR7KLpr40AQqVI82GXoxw75YxqjmJ3jt+q hx1nteyNxOlYI1p4xHHUnVhMw9vhlsexTUjyjeUEhk9F5tSXNOh0KHhb6oopIqrXu5hQxG d4MiMd8edVuQLf+C1xH2wnXqlARhD0gDCmo676RUBQAgsb8GrAiGzlP1avixLFsDn2Df49 3SThM74jO5hLfwpXPXOrziXr5mf6k6Qchjx8MN3LTsTyI8BIEp9L5bNUKJrfNA== Date: Fri, 23 May 2025 10:24:11 +0700 From: Junker Message-ID: <9f0aaa339c4e92abbdf8ea8462e2e224c42bc693.1747970460.git.dk@junkeria.club> MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 4b3VrT0R9kz9sm9 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: Iddecb5be0f53d0aaaf2143410f6083d08dddb9bf --- 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..02680e596b 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 ;;; ;;; This file is part of GNU Guix. ;;; @@ -985,6 +986,38 @@ (define-public facter (home-page "https://github.com/puppetlabs/facter") (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))) + (define-public ttyload (let ((revision "1") (commit "f9495372801ce4b4dad98ad854203e694c31c1eb"))