From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomas Cech Subject: Re: Add a pastebin client to the next guixsd image release Date: Mon, 05 Dec 2016 15:03:28 +0100 Message-ID: <87k2be8ocv.wl-sleep_walker@gnu.org> References: <87mvgby2yr.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDtrn-0002hL-SM for guix-devel@gnu.org; Mon, 05 Dec 2016 09:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDtrj-0007SD-SG for guix-devel@gnu.org; Mon, 05 Dec 2016 09:03:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:35314) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDtrj-0007Ro-JX for guix-devel@gnu.org; Mon, 05 Dec 2016 09:03:35 -0500 In-Reply-To: <87mvgby2yr.fsf@we.make.ritual.n0.is> 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: ng0 Cc: guix-devel@gnu.org On Sun, 04 Dec 2016 19:16:28 +0100, ng0 wrote: > > I think the next release image for GuixSD should include > wgetpaste as a tool. This would make it possible for people who > are stuck in the image and who are doing the installation, to > paste the config.scm or any other command output. > > Are there any security concerns, or is this something we can do? > If the majority should be against it, another option I can think > of is that we add it to the documentation as a general suggestion > to search for "pastebin" with "guix package -s pastebin" and > install one of the available pastebin clients (there'll be more > than one at some point). Good idea. I like the http://sprunge.us/ solution. It uses curl and has support for syntax highlighting. With shell function like this: sprunge() { curl -F 'sprunge=<-' http://sprunge.us } you can do: $ command | sprunge $ sprunge < file So it mimics UNIX filosophy and has tiny dependency. Best regards, S_W