GNU bug report logs - #78526
[PATCH] gnu: Add toolong.

Previous Next

Package: guix-patches;

Reported by: Junker <dk <at> junkeria.club>

Date: Wed, 21 May 2025 06:41:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 78526 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78526; Package guix-patches. (Wed, 21 May 2025 06:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Junker <dk <at> junkeria.club>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 21 May 2025 06:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Junker <dk <at> junkeria.club>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add toolong.
Date: Wed, 21 May 2025 13:39:36 +0700
* gnu/packages/admin.scm (toolong): New variable.

Change-Id: Iefa8840c16f3d1478c3afb32af253e0a20bb689a
---
 gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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 <dariqq <at> posteo.net>
 ;;; Copyright © 2024 nik gaffney <nik <at> fo.am>
 ;;; Copyright © 2025 Simon Streit <simon <at> netpanic.org>
+;;; Copyright © 2025 Junker dk <at> 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)))

base-commit: 11bc17c409d77cd1af91e30b5b9f6a73f873a152
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#78526; Package guix-patches. (Fri, 23 May 2025 03:25:01 GMT) Full text and rfc822 format available.

Message #8 received at 78526 <at> debbugs.gnu.org (full text, mbox):

From: Junker <dk <at> junkeria.club>
To: 78526 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add toolong.
Date: Fri, 23 May 2025 10:24:11 +0700
* gnu/packages/admin.scm (toolong): New variable.

Change-Id: Iddecb5be0f53d0aaaf2143410f6083d08dddb9bf
---
 gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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 <dariqq <at> posteo.net>
 ;;; Copyright © 2024 nik gaffney <nik <at> fo.am>
 ;;; Copyright © 2025 Simon Streit <simon <at> netpanic.org>
+;;; Copyright © 2025 Junker <dk <at> junkeria.club>
 ;;;
 ;;; 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"))

base-commit: 11bc17c409d77cd1af91e30b5b9f6a73f873a152
-- 
2.49.0





This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.