Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] add manpage to the lsd package
@ 2025-02-05 21:23 bart9h
  2025-02-05 23:46 ` classabbyamp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bart9h @ 2025-02-05 21:23 UTC (permalink / raw)
  To: ml

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

There is a new pull request by bart9h against master on the void-packages repository

https://github.com/bart9h/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54229

add manpage to the lsd package
I noticed that the `lsd` tool was missing a manpage, so I edited the template file to use pandoc to generate a manpage from the doc/lsd.md that was already present in the sources.

A patch file from https://github.com/void-linux/void-packages/pull/54229.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54229.patch --]
[-- Type: text/x-diff, Size: 1158 bytes --]

From 5314dce93dcfaef2b9c4c71e82fbf9e585c31904 Mon Sep 17 00:00:00 2001
From: Rodolfo Borges <rodolfo.borges@gmail.com>
Date: Wed, 5 Feb 2025 18:17:18 -0300
Subject: [PATCH] add manpage to the lsd package

I noticed that the `lsd` tool was missing a manpage, so I edited the template file to use pandoc to generate a manpage from the doc/lsd.md that was already present in the sources.
---
 srcpkgs/lsd/template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/lsd/template b/srcpkgs/lsd/template
index 42edb68e8f0b86..df8cfb1bbc625c 100644
--- a/srcpkgs/lsd/template
+++ b/srcpkgs/lsd/template
@@ -3,7 +3,7 @@ pkgname=lsd
 version=1.1.5
 revision=1
 build_style=cargo
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config pandoc"
 makedepends="libgit2-devel"
 checkdepends="git"
 short_desc="Next gen ls command with lots of pretty colors and awesome icons"
@@ -24,8 +24,13 @@ fi
 
 export SHELL_COMPLETIONS_DIR="${wrksrc}"
 
+pre_configure() {
+	pandoc -s -f markdown-smart -t man doc/lsd.md -o lsd.1
+}
+
 post_install() {
 	vcompletion lsd.bash bash
 	vcompletion lsd.fish fish
 	vcompletion _lsd zsh
+	vman lsd.1
 }

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
@ 2025-02-05 23:46 ` classabbyamp
  2025-02-05 23:46 ` [PR REVIEW] " classabbyamp
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2025-02-05 23:46 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#issuecomment-2638287263

Comment:
commit message should be just `lsd: add manpage`, and the commit message body isn't necessary

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
  2025-02-05 23:46 ` classabbyamp
@ 2025-02-05 23:46 ` classabbyamp
  2025-02-06  1:17 ` bart9h
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2025-02-05 23:46 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#discussion_r1943835908

Comment:
revsion needs to be incremented so it will rebuild

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
  2025-02-05 23:46 ` classabbyamp
  2025-02-05 23:46 ` [PR REVIEW] " classabbyamp
@ 2025-02-06  1:17 ` bart9h
  2025-02-06  1:19 ` [PR PATCH] [Updated] " bart9h
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bart9h @ 2025-02-06  1:17 UTC (permalink / raw)
  To: ml

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

New review comment by bart9h on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#discussion_r1943893456

Comment:
I noticed that in the guidelines *after* I made the pull request. I know it is possible to add more commits to a PR, but could not find how in the github site.

Note: I am familiar with git, but not with github. I made the edit, commit and PR all via the github website.
Sorry for the inconvenience.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (2 preceding siblings ...)
  2025-02-06  1:17 ` bart9h
@ 2025-02-06  1:19 ` bart9h
  2025-02-06  1:23 ` [PR REVIEW] " bart9h
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bart9h @ 2025-02-06  1:19 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by bart9h against master on the void-packages repository

https://github.com/bart9h/void-packages patch-1
https://github.com/void-linux/void-packages/pull/54229

add manpage to the lsd package
I noticed that the `lsd` tool was missing a manpage, so I edited the template file to use pandoc to generate a manpage from the doc/lsd.md that was already present in the sources.

A patch file from https://github.com/void-linux/void-packages/pull/54229.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-54229.patch --]
[-- Type: text/x-diff, Size: 1773 bytes --]

From 5314dce93dcfaef2b9c4c71e82fbf9e585c31904 Mon Sep 17 00:00:00 2001
From: Rodolfo Borges <rodolfo.borges@gmail.com>
Date: Wed, 5 Feb 2025 18:17:18 -0300
Subject: [PATCH 1/2] add manpage to the lsd package

I noticed that the `lsd` tool was missing a manpage, so I edited the template file to use pandoc to generate a manpage from the doc/lsd.md that was already present in the sources.
---
 srcpkgs/lsd/template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/lsd/template b/srcpkgs/lsd/template
index 42edb68e8f0b86..df8cfb1bbc625c 100644
--- a/srcpkgs/lsd/template
+++ b/srcpkgs/lsd/template
@@ -3,7 +3,7 @@ pkgname=lsd
 version=1.1.5
 revision=1
 build_style=cargo
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config pandoc"
 makedepends="libgit2-devel"
 checkdepends="git"
 short_desc="Next gen ls command with lots of pretty colors and awesome icons"
@@ -24,8 +24,13 @@ fi
 
 export SHELL_COMPLETIONS_DIR="${wrksrc}"
 
+pre_configure() {
+	pandoc -s -f markdown-smart -t man doc/lsd.md -o lsd.1
+}
+
 post_install() {
 	vcompletion lsd.bash bash
 	vcompletion lsd.fish fish
 	vcompletion _lsd zsh
+	vman lsd.1
 }

From b61882cd2c7c3be662cebd26a366267dc03f28ea Mon Sep 17 00:00:00 2001
From: Rodolfo Borges <rodolfo.borges@gmail.com>
Date: Wed, 5 Feb 2025 22:19:53 -0300
Subject: [PATCH 2/2] revision update

---
 srcpkgs/lsd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lsd/template b/srcpkgs/lsd/template
index df8cfb1bbc625c..f450a870063231 100644
--- a/srcpkgs/lsd/template
+++ b/srcpkgs/lsd/template
@@ -1,7 +1,7 @@
 # Template file for 'lsd'
 pkgname=lsd
 version=1.1.5
-revision=1
+revision=2
 build_style=cargo
 hostmakedepends="pkg-config pandoc"
 makedepends="libgit2-devel"

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (3 preceding siblings ...)
  2025-02-06  1:19 ` [PR PATCH] [Updated] " bart9h
@ 2025-02-06  1:23 ` bart9h
  2025-02-06  1:49 ` classabbyamp
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bart9h @ 2025-02-06  1:23 UTC (permalink / raw)
  To: ml

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

New review comment by bart9h on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#discussion_r1943893456

Comment:
I noticed that in the guidelines *after* I made the pull request. But I didn't know how to add a commit to an existing PR.

I just found out now. Sorry for the inconvenience.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (4 preceding siblings ...)
  2025-02-06  1:23 ` [PR REVIEW] " bart9h
@ 2025-02-06  1:49 ` classabbyamp
  2025-02-06  1:49 ` classabbyamp
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2025-02-06  1:49 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#discussion_r1943946476

Comment:
you can do `git reset --soft HEAD~2` to get back to before your commits, then recommit with `git commit`

in the future, you can use `git commit --amend` to edit the message and contents of the commit

both of these actions require `git push --force` to update the PR

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (5 preceding siblings ...)
  2025-02-06  1:49 ` classabbyamp
@ 2025-02-06  1:49 ` classabbyamp
  2025-02-06 11:02 ` [PR PATCH] [Closed]: " tranzystorekk
  2025-02-06 11:02 ` tranzystorekk
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2025-02-06  1:49 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#discussion_r1943946476

Comment:
you can do `git reset --soft HEAD~2` to get back to before your commits, then recommit with `git commit`

in the future, you can use `git commit --amend` to edit the message and contents of the commit

both of these actions require `git push --force` to update the PR once done

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (6 preceding siblings ...)
  2025-02-06  1:49 ` classabbyamp
@ 2025-02-06 11:02 ` tranzystorekk
  2025-02-06 11:02 ` tranzystorekk
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorekk @ 2025-02-06 11:02 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

add manpage to the lsd package
https://github.com/void-linux/void-packages/pull/54229

Description:
I noticed that the `lsd` tool was missing a manpage, so I edited the template file to use pandoc to generate a manpage from the doc/lsd.md that was already present in the sources.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: add manpage to the lsd package
  2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
                   ` (7 preceding siblings ...)
  2025-02-06 11:02 ` [PR PATCH] [Closed]: " tranzystorekk
@ 2025-02-06 11:02 ` tranzystorekk
  8 siblings, 0 replies; 10+ messages in thread
From: tranzystorekk @ 2025-02-06 11:02 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/54229#issuecomment-2639502200

Comment:
Superseded by #54232, still, thank you for reporting and working on this

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-06 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-05 21:23 [PR PATCH] add manpage to the lsd package bart9h
2025-02-05 23:46 ` classabbyamp
2025-02-05 23:46 ` [PR REVIEW] " classabbyamp
2025-02-06  1:17 ` bart9h
2025-02-06  1:19 ` [PR PATCH] [Updated] " bart9h
2025-02-06  1:23 ` [PR REVIEW] " bart9h
2025-02-06  1:49 ` classabbyamp
2025-02-06  1:49 ` classabbyamp
2025-02-06 11:02 ` [PR PATCH] [Closed]: " tranzystorekk
2025-02-06 11:02 ` tranzystorekk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).