all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 74495@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp.
Date: Sat, 23 Nov 2024 22:32:16 +0000	[thread overview]
Message-ID: <874j3xoa33.fsf@gmail.com> (raw)
In-Reply-To: <cover.1732386154.git.poptsov.artyom@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4467 bytes --]


Hi,

Thanks for the patches!

After a intial review of package placement there are some comments:

Better sutes for (gnu packages xdisorg), there are golang packages, and
it prevent importing  xdisorg and xorg into golang-xyz.
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-atotto-clipboard
--8<---------------cut here---------------end--------------->8---

What's going on here, maybe repack go-github-com-kylelemons-godebug to
include all modules, wdyt?
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-kylelemons-godebug-pretty
--8<---------------cut here---------------end--------------->8---

Please, no new packages to golang.scm
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-aymanbagabas-go-udiff
--8<---------------cut here---------------end--------------->8---

Please follow the style ;-)
--8<---------------cut here---------------start------------->8---
+    (native-inputs (list go-github-com-kylelemons-godebug
+                         go-github-com-kylelemons-godebug-pretty))
+    (arguments
+     (list
+      #:import-path "github.com/sahilm/fuzzy"))
--8<---------------cut here---------------end--------------->8---


Nixe to see that new go-import works with #:subdir!
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-charmbracelet-x-exp-golden
--8<---------------cut here---------------end--------------->8---

There is a guile funcion for that:
--8<---------------cut here---------------start------------->8---
+      #:modules '((guix build go-build-system)
+                  (guix build utils))
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'check 'fix-tests
+                     (lambda _
+                       (invoke "chmod"
+                               "-R"
+                               "+w"
+                               "src/github.com/charmbracelet/x/exp/golden"))))))
--8<---------------cut here---------------end--------------->8---

For any like this, please sort alphabetically:
--8<---------------cut here---------------start------------->8---
+    (propagated-inputs (list go-github-com-sahilm-fuzzy
+                             go-github-com-rivo-uniseg
+                             go-github-com-muesli-termenv
+                             go-github-com-mattn-go-runewidth
+                             go-github-com-lucasb-eyer-go-colorful
+                             go-github-com-dustin-go-humanize
+                             go-github-com-charmbracelet-x-exp-golden
+                             go-github-com-charmbracelet-x-ansi
+                             go-github-com-charmbracelet-lipgloss
+                             go-github-com-charmbracelet-harmonica
+                             go-github-com-charmbracelet-bubbletea
+                             go-github-com-atotto-clipboard
+                             go-github-com-makenowjust-heredoc))
--8<---------------cut here---------------end--------------->8---

It might be a good case for dedicated issues to split library out of
binary, I can take it.
--8<---------------cut here---------------start------------->8---
[PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library.
--8<---------------cut here---------------end--------------->8---

Description might need to be a little longer than synopsis, check the
code docstring sometimes modules documented well outside of README:
--8<---------------cut here---------------start------------->8---
+    (synopsis "Terminal utilities and helpers")
+    (description
+     "@code{term} defines terminal utilities.")
+    (license license:expat)))
--8<---------------cut here---------------end--------------->8---

Feel free to move to coresponded golang-* module:
--8<---------------cut here---------------start------------->8---
[PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels.
[PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3.

--8<---------------cut here---------------end--------------->8---

Let's keep it in web to reduce module cyles:
--8<---------------cut here---------------start------------->8---
[PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp.
--8<---------------cut here---------------end--------------->8---

In v2 I'll check license and package internals

--
Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      parent reply	other threads:[~2024-11-23 22:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 22:32 ` Sharlatan Hellseher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874j3xoa33.fsf@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=74495@debbugs.gnu.org \
    --cc=poptsov.artyom@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.