GNU bug report logs -
#56939
[PATCH 31/41] gnu: Add go-github-com-google-shlex.
Previous Next
Reported by: "(" <paren <at> disroot.org>
Date: Wed, 3 Aug 2022 12:07:24 UTC
Severity: normal
Tags: patch
Merged with 56909,
56910,
56911,
56912,
56913,
56914,
56915,
56916,
56917,
56918,
56919,
56920,
56921,
56922,
56923,
56924,
56925,
56926,
56927,
56928,
56929,
56930,
56931,
56932,
56933,
56934,
56935,
56936,
56937,
56938,
56940,
56941,
56942,
56943,
56944,
56945,
56946,
56947,
56948,
56949
Fixed in versions 56914, 56910, 56911, 56912, 56913, 56915, 56916, 56917, 56918, 56919, 56920, 56921, 56922, 56923, 56924, 56925, 56926, 56927, 56928, 56934, 56930, 56929, 56931, 56933, 56936, 56935, 56932, 56941, 56938, 56939, 56937, 56942, 56940, 56943, 56944, 56945, 56946, 56947, 56948, 56949
Done: "(" <paren <at> disroot.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56939 in the body.
You can then email your comments to 56939 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#56939
; Package
guix-patches
.
(Wed, 03 Aug 2022 12:07:24 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"(" <paren <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 03 Aug 2022 12:07:24 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: "(unmatched-parenthesis" <paren <at> disroot.org>
* gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fd2335b61a..9959dd118c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
"A speedy fuzzy matching package for Go inspired by the JavaScript
library bevacqua/fuzzysearch.")
(license license:expat)))
+
+(define-public go-github-com-google-shlex
+ (package
+ (name "go-github-com-google-shlex")
+ (version "0.0.0-20191202100458-e7afc7fbc510")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/shlex")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14z8hqyik910wk2qwnzgz8mjsmiamxa0pj55ahbv0jx6j3dgvzfm"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/google/shlex"))
+ (home-page "https://github.com/google/shlex")
+ (synopsis "Simple lexer for Go")
+ (description
+ "Shlex is a simple lexer for Go that supports shell-style quoting,
+commenting, and escaping.")
+ (license license:asl2.0)))
--
2.37.1
bug marked as fixed in version 56914 56910 56911 56912 56913 56915 56916 56917 56918 56919 56920 56921 56922 56923 56924 56925 56926 56927 56928 56934 56930 56929 56931 56933 56936 56935 56932 56941 56938 56939 56937 56942 56940 56943 56944 56945 56946 56947 56948 56949, send any further explanations to
56909 <at> debbugs.gnu.org and "(" <paren <at> disroot.org>
Request was from
"(" <paren <at> disroot.org>
to
control <at> debbugs.gnu.org
.
(Wed, 03 Aug 2022 12:32:08 GMT)
Full text and
rfc822 format available.
bug No longer marked as fixed in versions 56942, 56910, 56941, 56913, 56920, 56926, 56927, 56919, 56914, 56911, 56934, 56928, 56930, 56943, 56916, 56925, 56935, 56944, 56929, 56945, 56915, 56921, 56924, 56946, 56912, 56922, 56937, 56932, 56933, 56918, 56938, 56923, 56939, 56936, 56917, 56940, 56931, 56948, 56947, and 56949 and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 03 Aug 2022 12:35:04 GMT)
Full text and
rfc822 format available.
Disconnected #55903 from all other report(s).
Request was from
"(" <paren <at> disroot.org>
to
control <at> debbugs.gnu.org
.
(Wed, 03 Aug 2022 12:38:04 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 56914 56910 56911 56912 56913 56915 56916 56917 56918 56919 56920 56921 56922 56923 56924 56925 56926 56927 56928 56934 56930 56929 56931 56933 56936 56935 56932 56941 56938 56939 56937 56942 56940 56943 56944 56945 56946 56947 56948 56949, send any further explanations to
56909 <at> debbugs.gnu.org and "(" <paren <at> disroot.org>
Request was from
"(" <paren <at> disroot.org>
to
control <at> debbugs.gnu.org
.
(Wed, 03 Aug 2022 12:38:10 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56939
; Package
guix-patches
.
(Wed, 03 Aug 2022 15:39:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 56939 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 03-08-2022 14:04, ( via Guix-patches via wrote:
> + (arguments
> + (list #:import-path "github.com/zenhack/go.notmuch"
> + ;; XXX: Tests require you to download fixtures from the Internet.
> + ;; See<https://github.com/zenhack/go.notmuch/blob/master/Makefile>.
> + #:tests? #f))
> + (propagated-inputs (list notmuch))
Can we just substitute* in the appropriate library reference or whatever
is the Go equivalent instead of propagating? Maybe in in configList.go,
we can replace -lnotmuch by -l/gnu/store/.../libnotmuch.so or add a
-L/gnu/store/... there?
> From: "(unmatched-parenthesis"<paren <at> disroot.org>
>
> * gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
> ---
> gnu/packages/golang.scm | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> index fd2335b61a..9959dd118c 100644
> --- a/gnu/packages/golang.scm
> +++ b/gnu/packages/golang.scm
> @@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
> "A speedy fuzzy matching package for Go inspired by the JavaScript
> library bevacqua/fuzzysearch.")
> (license license:expat)))
> +
> +(define-public go-github-com-google-shlex
> + (package
> + (name "go-github-com-google-shlex")
> + (version "0.0.0-20191202100458-e7afc7fbc510")
Why has the commit and description been changed since
<https://issues.guix.gnu.org/37444>? The change in synopsis seems good
to me though.
Also, there are multiple patches adding go-github-com-google-shlex now
-- as I've asked in the past, can we stop doing that, or at least add a
pointer to the previous version to avoid double work for reviewers?
Likewise for:
* https://issues.guix.gnu.org/search?query=go-google-golang-org-protobuf
* https://issues.guix.gnu.org/search?query=go-github-com-xo-terminfo
* https://issues.guix.gnu.org/search?query=go-github-com-go-ini-ini
* https://issues.guix.gnu.org/search?query=go-github-com-emersion-go-pgpmail
* [...]
Like, if I would properly review (including checking the source code)
this patch series and didn't know some of those were reviewed
previously, then I would have to do the review again even though that's
double work better spent elsewhere and if I later discover these were
actually reviewed previously, that doesn't sound good for motivation to me.
And even though I know some of those have been submitted and reviewed
previously, I don't remember which ones exactly and to which degree
(only superficial checks like checking synopsis, description and
#:tests?, or also source code checks, ...), so if I were to review this
(*), I would have to look up the old patches and reviews, see which ones
were reviewed previously and to what degree, look if changes have been
made (e.g. changing which commit to use) that invalidated the review,
..., which is not motivating to me.
(*) To be clear, I consider it unlikely for me to seriously review Go
stuff in the future, as the Go world is full of forks that make no
attempt to contribute back to upstream, or many independent
implementations (see e.g. terminfo and shlex) where a single or maybe
two implementations would suffice, often there's a lack of attempting
backwards compatibility and version numbers are often just 0.0.0, ...
Greetings,
Maxime.
[Message part 2 (text/html, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56939
; Package
guix-patches
.
(Wed, 03 Aug 2022 18:38:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 56939 <at> debbugs.gnu.org (full text, mbox):
On Wed Aug 3, 2022 at 4:38 PM BST, Maxime Devos wrote:
> Can we just substitute* in the appropriate library reference or whatever
> is the Go equivalent instead of propagating? Maybe in in configList.go,
> we can replace -lnotmuch by -l/gnu/store/.../libnotmuch.so or add a
> -L/gnu/store/... there?
Good point! I'll try that.
> > * gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
> > ---
> > gnu/packages/golang.scm | 23 +++++++++++++++++++++++
> > 1 file changed, 23 insertions(+)
> >
> > diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> > index fd2335b61a..9959dd118c 100644
> > --- a/gnu/packages/golang.scm
> > +++ b/gnu/packages/golang.scm
> > @@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
> > "A speedy fuzzy matching package for Go inspired by the JavaScript
> > library bevacqua/fuzzysearch.")
> > (license license:expat)))
> > +
> > +(define-public go-github-com-google-shlex
> > + (package
> > + (name "go-github-com-google-shlex")
> > + (version "0.0.0-20191202100458-e7afc7fbc510")
>
> Why has the commit and description been changed since
> <https://issues.guix.gnu.org/37444>? The change in synopsis seems good
> to me though.
I never referenced that issue in the making of this patchset :) I'll
change its description to that issue's version if you wish.
> Also, there are multiple patches adding go-github-com-google-shlex now
> -- as I've asked in the past, can we stop doing that, or at least add a
> pointer to the previous version to avoid double work for reviewers?
> Likewise for:
>
> * https://issues.guix.gnu.org/search?query=go-google-golang-org-protobuf
> * https://issues.guix.gnu.org/search?query=go-github-com-xo-terminfo
> * https://issues.guix.gnu.org/search?query=go-github-com-go-ini-ini
> * https://issues.guix.gnu.org/search?query=go-github-com-emersion-go-pgpmail
> * [...]
Maybe we could merge the patches adding those duplicate packages
standalone, without merging the other parts of the patchsets, so there
would be no need for anyone to write them again in the future.
> (*) To be clear, I consider it unlikely for me to seriously review Go
> stuff in the future, as the Go world is full of forks that make no
> attempt to contribute back to upstream, or many independent
> implementations (see e.g. terminfo and shlex) where a single or maybe
> two implementations would suffice, often there's a lack of attempting
> backwards compatibility and version numbers are often just 0.0.0, ...
I know what you mean. It's a huge pain.
-- (
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 01 Sep 2022 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.