From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: 2 ideas (Was: Re: bug#31518: [PATCH 10/21] gnu: Add emacs-google-translate.) Date: Sun, 10 Jun 2018 14:16:28 +0000 Message-ID: <20180610141628.6gu47hxpxhsxbbwu@abyayala> References: <20180518184910.9987-21-ambrevar@gmail.com> <20180601075112.28494-1-ambrevar@gmail.com> <87vaatjptt.fsf@gnu.org> <8C242137-C737-4814-9367-6C90F5E96CD2@riseup.net> <20180609111751.rvm54ouwwr4wz7lo@abyayala> <87o9gizxgb.fsf@elephly.net> <320FA6B9-924C-41B6-9FE5-B616DA3F01DB@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fS18P-0000yB-7G for guix-devel@gnu.org; Sun, 10 Jun 2018 10:16:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fS18O-00029p-98 for guix-devel@gnu.org; Sun, 10 Jun 2018 10:15:57 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:51602) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fS18N-00026h-U2 for guix-devel@gnu.org; Sun, 10 Jun 2018 10:15:56 -0400 Content-Disposition: inline In-Reply-To: <320FA6B9-924C-41B6-9FE5-B616DA3F01DB@riseup.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: Guix-devel , Nils Gillmann swedebugia transcribed 1.6K bytes: > Hi Ricardo > > On June 10, 2018 1:35:00 PM GMT+02:00, Ricardo Wurmus wrote: > > > >Hi Nils, > > > >> I think we discussed something similar briefly. Or at least package > >> attached metadata which ends up in a '/guix' folder of the output. > >> I've been following (not yet implementing) a similar idea, where > >> such messages are either local mail and/or end up in a (mapped to > >guix:) > >> '/guix/doc/' folder, where files are named like > >$applicationname-$version.number.NAME.note > >> where '.note' is just a basic txt file. > >> These notes could contain messages specific to the OS, the > >architecture, general > >> advice, etc. > >> > >> Not really well thought through yet, but that's a start. > >> > >> Think of it not as description or synopsis part, but rather let's say > >> (in theory): > >> (note "STRING") or (note (list "NOTE 1" > >> "NOTE 2")). > > > >This is not a bad idea, in my opinion. It could be useful to have > >application-specific setup notes in a well-known location that is > >gathered when the profile is built. > > > >I would not like these notes to be printed automatically upon > >installation, but generating a file with important notes seems like a > >good idea in general. > > Would you agree to print a hint about these notes having been installed Not really, because in most cases you will not be able to catch all notifications. My approach is to notify the user and/or root user with a local email (after first install, first system generation install), which then can include a note about the existence of these notes. This draws a bit of inspiration from Gentoo and OpenBSD mail-on-first-use. Unless you can think of an example for a non-interactive environments. I think there's at least one, but what you describe is already an extension to the basic idea, especially the tool below. One could use that, but it's questionable since guix already has quiet a large number of commands. It would be a good initial extension to the idea, but no permanent solution. Is it bad that guix has a large number of commands? I'm not sure. I'm biased with spending too much time on minimal envivonments and ask friends and random strangers opinions about these kinds of things to form a less biased opinion. > and how to access them easily? > > Would this be a useful utility: > > $giux notes > -> shows all notes relating to previously installed packages. > > And > > $guix notes > -> show notes related to a specific package whether it is installed or not. > -- > Cheers Swedebugia