GNU logs - #34651, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34651: guix commands should print a message, if they produce only trivial output by default
Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 25 Feb 2019 16:26:01 +0000
Resent-Message-ID: <handler.34651.B.155111192925103 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 34651
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 34651 <at> debbugs.gnu.org
X-Debbugs-Original-To: <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.155111192925103
          (code B ref -1); Mon, 25 Feb 2019 16:26:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Feb 2019 16:25:29 +0000
Received: from localhost ([127.0.0.1]:51687 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gyJ4L-0006Wp-8F
	for submit <at> debbugs.gnu.org; Mon, 25 Feb 2019 11:25:29 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1gyJ4J-0006Wd-Aa
 for submit <at> debbugs.gnu.org; Mon, 25 Feb 2019 11:25:27 -0500
Received: from lists.gnu.org ([209.51.188.17]:45858)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1gyJ44-0003QE-Bd
 for submit <at> debbugs.gnu.org; Mon, 25 Feb 2019 11:25:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56600)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1gyJ43-0002TJ-E9
 for bug-guix@HIDDEN; Mon, 25 Feb 2019 11:25:12 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_40,FROM_EXCESS_BASE64
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1gyJ3y-0003My-AT
 for bug-guix@HIDDEN; Mon, 25 Feb 2019 11:25:07 -0500
Received: from m4s11.vlinux.de ([83.151.27.109]:60972 helo=bjoernhoefling.de)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1gyJ3x-0003HI-Pn
 for bug-guix@HIDDEN; Mon, 25 Feb 2019 11:25:06 -0500
Received: from alma-ubu (pD951FB17.dip0.t-ipconnect.de [217.81.251.23])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by bjoernhoefling.de (Postfix) with ESMTPSA id D0AD53F9BD
 for <bug-guix@HIDDEN>; Mon, 25 Feb 2019 17:24:56 +0100 (CET)
Date: Mon, 25 Feb 2019 17:24:56 +0100
From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>
Message-ID: <20190225172456.242b2df0@alma-ubu>
X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/LW8ZW8Iyb4uZWGsZ0sTcehq"; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 83.151.27.109
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

--Sig_/LW8ZW8Iyb4uZWGsZ0sTcehq
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I noticed that if you call "guix COMMAND" for some COMMANDs without any
options given, they produce something which is not very useful to the
user. I first noticed it with guix pack:

When "guix pack" is run without any options, it builds an empty pack:

$ guix pack
/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack.tar.gz
$ tar tzvf /gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack.tar.gz
drwxrwxr-t root/root         0 1970-01-01 01:00 ./gnu/store/
dr-xr-xr-x root/root         0 1970-01-01 01:00 ./gnu/store/w659mjmzwyhv62s=
d35y2pv5nrg5xkl7j-profile/
dr-xr-xr-x root/root         0 1970-01-01 01:00 ./gnu/store/w659mjmzwyhv62s=
d35y2pv5nrg5xkl7j-profile/etc/
-r--r--r-- root/root       414 1970-01-01 01:00 ./gnu/store/w659mjmzwyhv62s=
d35y2pv5nrg5xkl7j-profile/etc/profile
-r--r--r-- root/root        37 1970-01-01 01:00 ./gnu/store/w659mjmzwyhv62s=
d35y2pv5nrg5xkl7j-profile/manifest

I think from a user perspective it would be better to print a help
message and not build an empty pack.

On the other hand, I tried out other guix commands and at least it is a
consistent behaviour, they start with the default values, like "guix
graph" outputs just an empty graph.

"guix system" complains it needs a subcommand, which is a different
case.

But then again we have this complaint:

guix system container
guix system: error: wrong number of arguments for action 'container'

WDYT?

Bj=C3=B6rn

--Sig_/LW8ZW8Iyb4uZWGsZ0sTcehq
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXHQW2AAKCRC/KGy2WT5f
/WmEAJwIIET9q/sUZ5MKQCb3aOg/arCFagCdEaILYWTvBC8v1rN+r8J0C+JqSSU=
=Hvlu
-----END PGP SIGNATURE-----

--Sig_/LW8ZW8Iyb4uZWGsZ0sTcehq--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?=
 <bjoern.hoefling@HIDDEN>
Subject: bug#34651: Acknowledgement (guix commands should print a message,
 if they produce only trivial output by default)
Message-ID: <handler.34651.B.155111192925103.ack <at> debbugs.gnu.org>
References: <20190225172456.242b2df0@alma-ubu>
X-Gnu-PR-Message: ack 34651
X-Gnu-PR-Package: guix
Reply-To: 34651 <at> debbugs.gnu.org
Date: Mon, 25 Feb 2019 16:26:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 34651 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
34651: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34651
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34651: guix commands should print a message, if they produce only trivial output by default
Resent-From: swedebugia <swedebugia@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 01 Mar 2019 17:30:02 +0000
Resent-Message-ID: <handler.34651.B.15514613642516 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 34651
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 34651 <at> debbugs.gnu.org, bjoern.hoefling@HIDDEN
X-Debbugs-Original-To: bug-guix@HIDDEN, =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>, 34651 <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.15514613642516
          (code B ref -1); Fri, 01 Mar 2019 17:30:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Mar 2019 17:29:24 +0000
Received: from localhost ([127.0.0.1]:56765 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gzlyN-0000eV-Jd
	for submit <at> debbugs.gnu.org; Fri, 01 Mar 2019 12:29:23 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59335)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swedebugia@HIDDEN>) id 1gzlyM-0000eJ-36
 for submit <at> debbugs.gnu.org; Fri, 01 Mar 2019 12:29:22 -0500
Received: from lists.gnu.org ([209.51.188.17]:39281)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <swedebugia@HIDDEN>)
 id 1gzlyG-0000Bb-RH
 for submit <at> debbugs.gnu.org; Fri, 01 Mar 2019 12:29:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45464)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <swedebugia@HIDDEN>) id 1gzlyF-0002KI-E1
 for bug-guix@HIDDEN; Fri, 01 Mar 2019 12:29:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,HTML_MESSAGE,
 RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <swedebugia@HIDDEN>) id 1gzlyB-00008k-Vs
 for bug-guix@HIDDEN; Fri, 01 Mar 2019 12:29:13 -0500
Received: from mx1.riseup.net ([198.252.153.129]:33074)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <swedebugia@HIDDEN>)
 id 1gzlyB-00006x-Dw
 for bug-guix@HIDDEN; Fri, 01 Mar 2019 12:29:11 -0500
Received: from bell.riseup.net (unknown [10.0.1.178])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "*.riseup.net",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.riseup.net (Postfix) with ESMTPS id 297AD1A56EF;
 Fri,  1 Mar 2019 09:29:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1551461350; bh=KcY/s9pRLkpohCmgtXERlEisv843MbNiRBnJnirw+GA=;
 h=Date:In-Reply-To:References:Subject:To:From:From;
 b=QR0l33awZr7fUYbC7G55KN7vwPJXZSsq4yfPoXBVKZzVtx81eRYaN1m4FCj/G2I1E
 FAy9MDe99IlvQjn2ic1MnooAwxhA13yRet67K5If2NXl7xfecEbo+T8spDt5DWF0sH
 CFVyFvZLksURuCM1PKfvq7KT4ubldFu4zmf/OPfY=
X-Riseup-User-ID: 0F8A0DA6D1139355BD2D0D5C73878DB9F8FB3C166557B89FC1356E344B3984C9
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by bell.riseup.net (Postfix) with ESMTPSA id 6C240222812;
 Fri,  1 Mar 2019 09:29:08 -0800 (PST)
Date: Fri, 01 Mar 2019 18:29:04 +0100
In-Reply-To: <20190225172456.242b2df0@alma-ubu>
References: <20190225172456.242b2df0@alma-ubu>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ"
Content-Transfer-Encoding: 7bit
From: swedebugia <swedebugia@HIDDEN>
Message-ID: <98955B3B-8AD5-4C65-B382-73624318B166@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 198.252.153.129
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

"Bj=C3=B6rn H=C3=B6fling" <bjoern=2Ehoefling@bjoernhoefling=2Ede> skrev: (2=
5 februari 2019 17:24:56 CET)
>I noticed that if you call "guix COMMAND" for some COMMANDs without any
>options given, they produce something which is not very useful to the
>user=2E I first noticed it with guix pack:
>
>When "guix pack" is run without any options, it builds an empty pack:
>
>$ guix pack
>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=2Egz
>$ tar tzvf
>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=2Egz
>drwxrwxr-t root/root         0 1970-01-01 01:00 =2E/gnu/store/
>dr-xr-xr-x root/root         0 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/
>dr-xr-xr-x root/root         0 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/
>-r--r--r-- root/root       414 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/profile
>-r--r--r-- root/root        37 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/manifest
>
>I think from a user perspective it would be better to print a help
>message and not build an empty pack=2E
>
>On the other hand, I tried out other guix commands and at least it is a
>consistent behaviour, they start with the default values, like "guix
>graph" outputs just an empty graph=2E
>
>"guix system" complains it needs a subcommand, which is a different
>case=2E
>
>But then again we have this complaint:
>
>guix system container
>guix system: error: wrong number of arguments for action 'container'
>
>WDYT?
>
>Bj=C3=B6rn

I think we should print helpful hints or the contents of --help in these s=
ituations=2E=20
--=20
Sent from my k-9 mail for Android=2E

------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"gmail_quote">"Bj=C3=B6rn H=C3=B6flin=
g" &lt;bjoern=2Ehoefling@bjoernhoefling=2Ede&gt; skrev: (25 februari 2019 1=
7:24:56 CET)<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt =
0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class=3D"k9mail">I noticed that if you call "guix COMMAND" for some C=
OMMANDs without any<br>options given, they produce something which is not v=
ery useful to the<br>user=2E I first noticed it with guix pack:<br><br>When=
 "guix pack" is run without any options, it builds an empty pack:<br><br>$ =
guix pack<br>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=
=2Egz<br>$ tar tzvf /gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pac=
k=2Etar=2Egz<br>drwxrwxr-t root/root         0 1970-01-01 01:00 =2E/gnu/sto=
re/<br>dr-xr-xr-x root/root         0 1970-01-01 01:00 =2E/gnu/store/w659mj=
mzwyhv62sd35y2pv5nrg5xkl7j-profile/<br>dr-xr-xr-x root/root         0 1970-=
01-01 01:00 =2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/<br>=
-r--r--r-- root/root       414 1970-01-01 01:00 =2E/gnu/store/w659mjmzwyhv6=
2sd35y2pv5nrg5xkl7j-profile/etc/profile<br>-r--r--r-- root/root        37 1=
970-01-01 01:00 =2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/mani=
fest<br><br>I think from a user perspective it would be better to print a h=
elp<br>message and not build an empty pack=2E<br><br>On the other hand, I t=
ried out other guix commands and at least it is a<br>consistent behaviour, =
they start with the default values, like "guix<br>graph" outputs just an em=
pty graph=2E<br><br>"guix system" complains it needs a subcommand, which is=
 a different<br>case=2E<br><br>But then again we have this complaint:<br><b=
r>guix system container<br>guix system: error: wrong number of arguments fo=
r action 'container'<br><br>WDYT?<br><br>Bj=C3=B6rn<br></pre></blockquote><=
/div><br clear=3D"all">I think we should print helpful hints or the content=
s of --help in these situations=2E <br>-- <br>Sent from my k-9 mail for And=
roid=2E<br></body></html>
------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34651: guix commands should print a message, if they produce only trivial output by default
Resent-From: swedebugia <swedebugia@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 01 Mar 2019 17:30:02 +0000
Resent-Message-ID: <handler.34651.B34651.15514613532492 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 34651
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 34651 <at> debbugs.gnu.org, bjoern.hoefling@HIDDEN
X-Debbugs-Original-To: bug-guix@HIDDEN, =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>, 34651 <at> debbugs.gnu.org
Received: via spool by 34651-submit <at> debbugs.gnu.org id=B34651.15514613532492
          (code B ref 34651); Fri, 01 Mar 2019 17:30:02 +0000
Received: (at 34651) by debbugs.gnu.org; 1 Mar 2019 17:29:13 +0000
Received: from localhost ([127.0.0.1]:56762 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gzlyD-0000e6-5v
	for submit <at> debbugs.gnu.org; Fri, 01 Mar 2019 12:29:13 -0500
Received: from mx1.riseup.net ([198.252.153.129]:32820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swedebugia@HIDDEN>) id 1gzlyA-0000dy-Vn
 for 34651 <at> debbugs.gnu.org; Fri, 01 Mar 2019 12:29:11 -0500
Received: from bell.riseup.net (unknown [10.0.1.178])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "*.riseup.net",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.riseup.net (Postfix) with ESMTPS id 297AD1A56EF;
 Fri,  1 Mar 2019 09:29:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1551461350; bh=KcY/s9pRLkpohCmgtXERlEisv843MbNiRBnJnirw+GA=;
 h=Date:In-Reply-To:References:Subject:To:From:From;
 b=QR0l33awZr7fUYbC7G55KN7vwPJXZSsq4yfPoXBVKZzVtx81eRYaN1m4FCj/G2I1E
 FAy9MDe99IlvQjn2ic1MnooAwxhA13yRet67K5If2NXl7xfecEbo+T8spDt5DWF0sH
 CFVyFvZLksURuCM1PKfvq7KT4ubldFu4zmf/OPfY=
X-Riseup-User-ID: 0F8A0DA6D1139355BD2D0D5C73878DB9F8FB3C166557B89FC1356E344B3984C9
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by bell.riseup.net (Postfix) with ESMTPSA id 6C240222812;
 Fri,  1 Mar 2019 09:29:08 -0800 (PST)
Date: Fri, 01 Mar 2019 18:29:04 +0100
In-Reply-To: <20190225172456.242b2df0@alma-ubu>
References: <20190225172456.242b2df0@alma-ubu>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ"
Content-Transfer-Encoding: 7bit
From: swedebugia <swedebugia@HIDDEN>
Message-ID: <98955B3B-8AD5-4C65-B382-73624318B166@HIDDEN>
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

"Bj=C3=B6rn H=C3=B6fling" <bjoern=2Ehoefling@bjoernhoefling=2Ede> skrev: (2=
5 februari 2019 17:24:56 CET)
>I noticed that if you call "guix COMMAND" for some COMMANDs without any
>options given, they produce something which is not very useful to the
>user=2E I first noticed it with guix pack:
>
>When "guix pack" is run without any options, it builds an empty pack:
>
>$ guix pack
>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=2Egz
>$ tar tzvf
>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=2Egz
>drwxrwxr-t root/root         0 1970-01-01 01:00 =2E/gnu/store/
>dr-xr-xr-x root/root         0 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/
>dr-xr-xr-x root/root         0 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/
>-r--r--r-- root/root       414 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/profile
>-r--r--r-- root/root        37 1970-01-01 01:00
>=2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/manifest
>
>I think from a user perspective it would be better to print a help
>message and not build an empty pack=2E
>
>On the other hand, I tried out other guix commands and at least it is a
>consistent behaviour, they start with the default values, like "guix
>graph" outputs just an empty graph=2E
>
>"guix system" complains it needs a subcommand, which is a different
>case=2E
>
>But then again we have this complaint:
>
>guix system container
>guix system: error: wrong number of arguments for action 'container'
>
>WDYT?
>
>Bj=C3=B6rn

I think we should print helpful hints or the contents of --help in these s=
ituations=2E=20
--=20
Sent from my k-9 mail for Android=2E

------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"gmail_quote">"Bj=C3=B6rn H=C3=B6flin=
g" &lt;bjoern=2Ehoefling@bjoernhoefling=2Ede&gt; skrev: (25 februari 2019 1=
7:24:56 CET)<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt =
0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class=3D"k9mail">I noticed that if you call "guix COMMAND" for some C=
OMMANDs without any<br>options given, they produce something which is not v=
ery useful to the<br>user=2E I first noticed it with guix pack:<br><br>When=
 "guix pack" is run without any options, it builds an empty pack:<br><br>$ =
guix pack<br>/gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack=2Etar=
=2Egz<br>$ tar tzvf /gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pac=
k=2Etar=2Egz<br>drwxrwxr-t root/root         0 1970-01-01 01:00 =2E/gnu/sto=
re/<br>dr-xr-xr-x root/root         0 1970-01-01 01:00 =2E/gnu/store/w659mj=
mzwyhv62sd35y2pv5nrg5xkl7j-profile/<br>dr-xr-xr-x root/root         0 1970-=
01-01 01:00 =2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/<br>=
-r--r--r-- root/root       414 1970-01-01 01:00 =2E/gnu/store/w659mjmzwyhv6=
2sd35y2pv5nrg5xkl7j-profile/etc/profile<br>-r--r--r-- root/root        37 1=
970-01-01 01:00 =2E/gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/mani=
fest<br><br>I think from a user perspective it would be better to print a h=
elp<br>message and not build an empty pack=2E<br><br>On the other hand, I t=
ried out other guix commands and at least it is a<br>consistent behaviour, =
they start with the default values, like "guix<br>graph" outputs just an em=
pty graph=2E<br><br>"guix system" complains it needs a subcommand, which is=
 a different<br>case=2E<br><br>But then again we have this complaint:<br><b=
r>guix system container<br>guix system: error: wrong number of arguments fo=
r action 'container'<br><br>WDYT?<br><br>Bj=C3=B6rn<br></pre></blockquote><=
/div><br clear=3D"all">I think we should print helpful hints or the content=
s of --help in these situations=2E <br>-- <br>Sent from my k-9 mail for And=
roid=2E<br></body></html>
------ZPFQY1AO5PKPM1QM8546CG2NSV8LSZ--





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.