guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add a pastebin client to the next guixsd image release


From: Tomas Cech
Subject: Re: Add a pastebin client to the next guixsd image release
Date: Mon, 05 Dec 2016 15:03:28 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]