mbox series

[bug#50117,0/2] go-github-com-aswinkarthik-csvdiff package updates

Message ID 20210819072156.90545-1-me@bonfacemunyoki.com
Headers show
Series go-github-com-aswinkarthik-csvdiff package updates | expand

Message

Munyoki Kilyungi Aug. 19, 2021, 7:21 a.m. UTC
Hi all. Find attached the updated package definition of csv diff which addresses the following issues that were kindly pointed out by Sarah:

--8<---------------cut here---------------start------------->8---
Typically end-user Go packages will want inputs/native-inputs rather
than propagated inputs unless the input provides a binary used at
runtime, so user profiles are not cluttered (go-build-system needs
source from all transitive dependencies).  Also, a more friendly name
("csvdiff" is available) might be better for end-user packages like
this.
--8<---------------cut here---------------end--------------->8---


BonfaceKilz (2):
  gnu: go-github-com-aswinkarthik-csvdiff: Rename name to "csvdiff".
  gnu: go-github-com-aswinkarthik-csvdiff: Make inputs native.

 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Arun Isaac Aug. 19, 2021, 7:47 p.m. UTC | #1
Hi Bonface,

Thanks for the patches! Some feedback follows.

1. I think we can combine the two commits into one since this is
logically just a single change.

2. We should retain the old package as a deprecated package. We should
add something like the snippet below.

--8<---------------cut here---------------start------------->8---
(define-public go-github-com-aswinkarthik-csvdiff
  (deprecated-package "go-github-com-aswinkarthik-csvdiff" csvdiff))
--8<---------------cut here---------------end--------------->8---

>  (define-public go-github-com-aswinkarthik-csvdiff

3. We should rename the variable name as well.

>    (package
> -    (name "go-github-com-aswinkarthik-csvdiff")
> +    (name "csvdiff")

3. We should also move the package to some file other than
golang.scm. How about textutils.scm?

Thank you for your patience! :-)
Arun
Arun Isaac Dec. 9, 2021, 10:35 a.m. UTC | #2
Hi Bonface,

Any progress on this? Just a gentle ping.

Thanks,
Arun
Munyoki Kilyungi Dec. 9, 2021, 2:02 p.m. UTC | #3
Arun Isaac <arunisaac@systemreboot.net> anaandika:

> Hi Bonface,
>
> Any progress on this? Just a gentle ping.
>
> Thanks,
> Arun

Hi!  Lemme have a look at this once my classes are
done.  Somehow this got lost in my To-Do tasks!
Thanks for the reminder.
Arun Isaac Dec. 10, 2021, 3:30 a.m. UTC | #4
> Hi!  Lemme have a look at this once my classes are done.  Somehow this
> got lost in my To-Do tasks!  Thanks for the reminder.

Sure, Bonface, thanks!