[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47591] [PATCH] import: go: Replace underscores with hyphens in pack
From: |
Leo Famulari |
Subject: |
[bug#47591] [PATCH] import: go: Replace underscores with hyphens in package names. |
Date: |
Sun, 4 Apr 2021 13:43:45 -0400 |
On Sun, Apr 04, 2021 at 11:52:03AM +0200, Xinglu Chen wrote:
> As per section '16.4.2 Package Naming' in the manual, use hypens instead
> of underscores in package names.
>
> * guix/import/go.scm (go-module->guix-package-name): Replace underscores
> with hyphens.
Thanks! Pushed as 426ade6c8bdab243da719e369a887284368179bb
> Maybe we should also make the linter check for underscores in package
> names, and give a warning if it finds any underscores?
Definitely!
I would leave existing packages alone, however, unless they are causing
some problem.