all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RFC: subcommand to pause/resume builds
@ 2020-11-02 18:56 John Soo
  2020-11-03 13:53 ` Ludovic Courtès
  0 siblings, 1 reply; 15+ messages in thread
From: John Soo @ 2020-11-02 18:56 UTC (permalink / raw)
  To: guix-devel

Hi Guix!

I was looking to pause a long build today and asked on IRC how to
accomplish pause/resume.  It seems this is possible already with the
following:

kill --signal SIGSTOP|SIGCONT {pids-of-build-process-tree}

There is already a command to list the processes associated to guix
commands: guix processes.  Perhaps pause/resume can be a subcommand or
set of flags to guix processes. The following is the first thing that
comes to mind:

guix processes --pause package-name ... --resume package-name ...

What do you think?

Thanks!

- John


^ permalink raw reply	[flat|nested] 15+ messages in thread
* RFC: subcommand to pause/resume builds
@ 2020-11-05  4:37 John Soo
  0 siblings, 0 replies; 15+ messages in thread
From: John Soo @ 2020-11-05  4:37 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, Ludovic Courtès, Guix-Devel

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

     
 

 
 
 
Hello Guix, 

 
I just sent a patch to normalize the output of processes with bug number 44460. The allows me to compose recutils with kill to get the desired effect of pausing all process trees for the things I want without any convoluted implementation.    I think I would be satisfied with such a patch and nothing else.
 

 
Thanks again!
 

 
John
 
 
 
 

 
     

[-- Attachment #2: Type: text/html, Size: 557 bytes --]

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

end of thread, other threads:[~2020-11-08 16:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02 18:56 RFC: subcommand to pause/resume builds John Soo
2020-11-03 13:53 ` Ludovic Courtès
2020-11-03 14:41   ` John Soo
2020-11-03 16:32   ` Tobias Geerinckx-Rice
2020-11-03 17:12     ` John Soo
2020-11-06  8:56       ` Ludovic Courtès
2020-11-03 17:19     ` Tobias Geerinckx-Rice
2020-11-03 18:27       ` John Soo
2020-11-03 20:01       ` John Soo
2020-11-06  8:58         ` Ludovic Courtès
2020-11-06 23:00           ` John Soo
2020-11-04 10:28   ` Bengt Richter
2020-11-06 21:11   ` Mark H Weaver
2020-11-08 16:30     ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2020-11-05  4:37 John Soo

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.