unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: ‘gnu: Add go-github-com-niemeyer-pretty.’
@ 2022-03-06 14:32 Maxime Devos
  2022-03-08  7:37 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Devos @ 2022-03-06 14:32 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

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

> + (define-public go-github-com-niemeyer-pretty
> +  (package
> +    (name "go-github-com-niemeyer-pretty")
> +    (version "0.0.0-20200227124842-a10e7caefd8e")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
< +               (url "https://github.com/niemeyer/pretty")
> +               (commit (go-version->git-ref version))))

Why package the fork niemeyer/pretty instead of upstream kr/pretty?
Also, where does this version number come from?  Looking at pkg.go.dev,
the version number is 0.3.0, not 0.3.0-$foo-$bar.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* Re: ‘gnu: Add go-github-com-niemeyer-pretty.’
  2022-03-06 14:32 ‘gnu: Add go-github-com-niemeyer-pretty.’ Maxime Devos
@ 2022-03-08  7:37 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2022-03-08  7:37 UTC (permalink / raw)
  To: Maxime Devos; +Cc: guix-devel

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

On Sun, Mar 06, 2022 at 03:32:09PM +0100, Maxime Devos wrote:
> > + (define-public go-github-com-niemeyer-pretty
> > +  (package
> > +    (name "go-github-com-niemeyer-pretty")
> > +    (version "0.0.0-20200227124842-a10e7caefd8e")
> > +    (source
> > +      (origin
> > +        (method git-fetch)
> > +        (uri (git-reference
> < +               (url "https://github.com/niemeyer/pretty")
> > +               (commit (go-version->git-ref version))))
> 
> Why package the fork niemeyer/pretty instead of upstream kr/pretty?
> Also, where does this version number come from?  Looking at pkg.go.dev,
> the version number is 0.3.0, not 0.3.0-$foo-$bar.

The package is one of the dependencies for one of the dependencies of
gitea.  That said, Upon double-checking that package¹² it doesn't seem
that it actually needs it directly, and when I comment out the package
go-github-com-go-git-go-billy-v5 builds just fine, and so does my copy
of gitea. Looks like this package isn't needed after all.

¹ github.com/go-git/go-billy/v5
² https://github.com/go-git/go-billy/blob/v5.3.1/go.mod


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

end of thread, other threads:[~2022-03-08  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-06 14:32 ‘gnu: Add go-github-com-niemeyer-pretty.’ Maxime Devos
2022-03-08  7:37 ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).