all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Add a pastebin client to the next guixsd image release
@ 2016-12-04 18:16 ng0
  2016-12-05  9:21 ` Alex Kost
  2016-12-05 14:03 ` Tomas Cech
  0 siblings, 2 replies; 11+ messages in thread
From: ng0 @ 2016-12-04 18:16 UTC (permalink / raw)
  To: guix-devel

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).
-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-04 18:16 Add a pastebin client to the next guixsd image release ng0
@ 2016-12-05  9:21 ` Alex Kost
  2016-12-05 11:03   ` ng0
  2016-12-05 21:01   ` Ludovic Courtès
  2016-12-05 14:03 ` Tomas Cech
  1 sibling, 2 replies; 11+ messages in thread
From: Alex Kost @ 2016-12-05  9:21 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 (2016-12-04 18:16 +0000) 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.

I agree: some *simple* paste tool would be good in the system image for
such cases.

> 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).

I would avoid the word "pastebin", as it's just one of the paste
websites (and not the friendliest for the Tor users).

-- 
Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-05  9:21 ` Alex Kost
@ 2016-12-05 11:03   ` ng0
  2016-12-05 21:01   ` Ludovic Courtès
  1 sibling, 0 replies; 11+ messages in thread
From: ng0 @ 2016-12-05 11:03 UTC (permalink / raw)
  To: guix-devel

Alex Kost <alezost@gmail.com> writes:

> ng0 (2016-12-04 18:16 +0000) 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.
>
> I agree: some *simple* paste tool would be good in the system image for
> such cases.
>
>> 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).
>
> I would avoid the word "pastebin", as it's just one of the paste
> websites (and not the friendliest for the Tor users).
>
> -- 
> Alex
>

Then we should change the description of wgetpaste, as this is
the only keyword which limits result for paste to those
associated with what we understand as uploading a paste
somewhere.

The second package, still on hold for some months now because of
some bug with curl, requires curl. wgetpaste requires wget and is
functional now, which is why I suggested it (and maybe add the
lisp upload web service to the default sites?).
-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-04 18:16 Add a pastebin client to the next guixsd image release ng0
  2016-12-05  9:21 ` Alex Kost
@ 2016-12-05 14:03 ` Tomas Cech
  2016-12-05 14:19   ` ng0
  1 sibling, 1 reply; 11+ messages in thread
From: Tomas Cech @ 2016-12-05 14:03 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-05 14:03 ` Tomas Cech
@ 2016-12-05 14:19   ` ng0
  0 siblings, 0 replies; 11+ messages in thread
From: ng0 @ 2016-12-05 14:19 UTC (permalink / raw)
  To: guix-devel

Tomas Cech <sleep_walker@gnu.org> writes:

> 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
>

pb based text snippet and file upload instances have a similar
way, https://ptpb.pw is the primary instance.

-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-05  9:21 ` Alex Kost
  2016-12-05 11:03   ` ng0
@ 2016-12-05 21:01   ` Ludovic Courtès
  2016-12-06  9:45     ` ng0
  1 sibling, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-12-05 21:01 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> ng0 (2016-12-04 18:16 +0000) 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.
>
> I agree: some *simple* paste tool would be good in the system image for
> such cases.

Any suggestions of a package?  We don’t have a wgetpaste package, do we?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-05 21:01   ` Ludovic Courtès
@ 2016-12-06  9:45     ` ng0
  2016-12-07 22:07       ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: ng0 @ 2016-12-06  9:45 UTC (permalink / raw)
  To: guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> Alex Kost <alezost@gmail.com> skribis:
>
>> ng0 (2016-12-04 18:16 +0000) 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.
>>
>> I agree: some *simple* paste tool would be good in the system image for
>> such cases.
>
> Any suggestions of a package?  We don’t have a wgetpaste package, do we?
>
> Thanks,
> Ludo’.
>

As far as I know, Leo added it some days ago:

ng0@wasp ~$ guix package -s wgetpaste
name: wgetpaste
version: 2.28
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: 
location: gnu/packages/wget.scm:66:2
homepage: http://wgetpaste.zlin.dk/
license: Public Domain
synopsis: Script that automates pasting to a number of pastebin services
description: `wgetpaste' is an extremely simple command-line interface to various online pastebin services.

-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-06  9:45     ` ng0
@ 2016-12-07 22:07       ` Ludovic Courtès
  2016-12-07 23:32         ` ng0
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-12-07 22:07 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 <ng0@libertad.pw> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Alex Kost <alezost@gmail.com> skribis:
>>
>>> ng0 (2016-12-04 18:16 +0000) 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.
>>>
>>> I agree: some *simple* paste tool would be good in the system image for
>>> such cases.
>>
>> Any suggestions of a package?  We don’t have a wgetpaste package, do we?
>>
>> Thanks,
>> Ludo’.
>>
>
> As far as I know, Leo added it some days ago:
>
> ng0@wasp ~$ guix package -s wgetpaste
> name: wgetpaste
> version: 2.28
> outputs: out
> systems: x86_64-linux i686-linux armhf-linux mips64el-linux
> dependencies: 
> location: gnu/packages/wget.scm:66:2
> homepage: http://wgetpaste.zlin.dk/
> license: Public Domain
> synopsis: Script that automates pasting to a number of pastebin services
> description: `wgetpaste' is an extremely simple command-line interface to various online pastebin services.

Oh indeed, sorry.

I agree that this is useful, but I’m not entirely clear that adding it
to the installation image by default is needed?  (One can always install
it in there if needed.)

Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-07 22:07       ` Ludovic Courtès
@ 2016-12-07 23:32         ` ng0
  2016-12-08  9:28           ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: ng0 @ 2016-12-07 23:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> ng0 <ng0@libertad.pw> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Alex Kost <alezost@gmail.com> skribis:
>>>
>>>> ng0 (2016-12-04 18:16 +0000) 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.
>>>>
>>>> I agree: some *simple* paste tool would be good in the system image for
>>>> such cases.
>>>
>>> Any suggestions of a package?  We don’t have a wgetpaste package, do we?
>>>
>>> Thanks,
>>> Ludo’.
>>>
>>
>> As far as I know, Leo added it some days ago:
>>
>> ng0@wasp ~$ guix package -s wgetpaste
>> name: wgetpaste
>> version: 2.28
>
> Oh indeed, sorry.
>
> I agree that this is useful, but I’m not entirely clear that adding it
> to the installation image by default is needed?  (One can always install
> it in there if needed.)
>
> Ludo’.
>

Then case 2 I mentioned in the original post could be applied? We
mention that for getting help, pastebin client(s) exists and how
to list them and maybe document it in the section for gettion
support / help / something related (I haven't looked at all the
topics recently).

-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-07 23:32         ` ng0
@ 2016-12-08  9:28           ` Ludovic Courtès
  2016-12-09  5:53             ` Chris Marusich
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-12-08  9:28 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 <ng0@libertad.pw> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> ng0 <ng0@libertad.pw> skribis:
>>
>>> Ludovic Courtès <ludo@gnu.org> writes:
>>>
>>>> Alex Kost <alezost@gmail.com> skribis:
>>>>
>>>>> ng0 (2016-12-04 18:16 +0000) 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.
>>>>>
>>>>> I agree: some *simple* paste tool would be good in the system image for
>>>>> such cases.
>>>>
>>>> Any suggestions of a package?  We don’t have a wgetpaste package, do we?
>>>>
>>>> Thanks,
>>>> Ludo’.
>>>>
>>>
>>> As far as I know, Leo added it some days ago:
>>>
>>> ng0@wasp ~$ guix package -s wgetpaste
>>> name: wgetpaste
>>> version: 2.28
>>
>> Oh indeed, sorry.
>>
>> I agree that this is useful, but I’m not entirely clear that adding it
>> to the installation image by default is needed?  (One can always install
>> it in there if needed.)
>>
>> Ludo’.
>>
>
> Then case 2 I mentioned in the original post could be applied? We
> mention that for getting help, pastebin client(s) exists and how
> to list them and maybe document it in the section for gettion
> support / help / something related (I haven't looked at all the
> topics recently).

OK, though in practice when users have to resort to pasting stuff and
discussing problems on IRC, we’ve already lost in the sense that it
suggests that our installation method or documentation is broken.

Most users would give up before coming to #guix, and others can just as
well run “guix package -i wgetpaste”.

WDYT?

Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Add a pastebin client to the next guixsd image release
  2016-12-08  9:28           ` Ludovic Courtès
@ 2016-12-09  5:53             ` Chris Marusich
  0 siblings, 0 replies; 11+ messages in thread
From: Chris Marusich @ 2016-12-09  5:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> OK, though in practice when users have to resort to pasting stuff and
> discussing problems on IRC, we’ve already lost in the sense that it
> suggests that our installation method or documentation is broken.
>
> Most users would give up before coming to #guix, and others can just as
> well run “guix package -i wgetpaste”.
>
> WDYT?

Just wanted to add my two cents: I don't think it needs to take up space
in the installation image.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-12-09  5:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04 18:16 Add a pastebin client to the next guixsd image release ng0
2016-12-05  9:21 ` Alex Kost
2016-12-05 11:03   ` ng0
2016-12-05 21:01   ` Ludovic Courtès
2016-12-06  9:45     ` ng0
2016-12-07 22:07       ` Ludovic Courtès
2016-12-07 23:32         ` ng0
2016-12-08  9:28           ` Ludovic Courtès
2016-12-09  5:53             ` Chris Marusich
2016-12-05 14:03 ` Tomas Cech
2016-12-05 14:19   ` ng0

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.