Re: GNU Shepherd 1.0.6 released

2025-07-19 Thread Maxim Cournoyer
Hi, Ludovic Courtès writes: > Hi, > > Maxim Cournoyer writes: > >> Ludovic Courtès writes: >> >> [...] >> >>> Yes, ‘sudo herd status TAB’ cannot work because it would need to run >>> ‘sudo herd status’ to get the list of available services. >> >> Maybe i could run this once and cache the resul

Re: GNU Shepherd 1.0.6 released

2025-07-19 Thread Maxim Cournoyer
Hi, Adding to what I just said earlier: it should at least be possible to check if we're already root, and when we are, provide the completions for root. If we're an unprivileged user, then provide the completion for the Shepherd instance running as that user, if any. -- Thanks, Maxim

Re: GNU Shepherd 1.0.6 released

2025-07-11 Thread Ludovic Courtès
Hi, Maxim Cournoyer writes: > Ludovic Courtès writes: > > [...] > >> Yes, ‘sudo herd status TAB’ cannot work because it would need to run >> ‘sudo herd status’ to get the list of available services. > > Maybe i could run this once and cache the result? I think I've seen this > pattern before fo

Re: GNU Shepherd 1.0.6 released

2025-07-10 Thread Maxim Cournoyer
Hi Tobias, Tobias Geerinckx-Rice writes: >> On 10 Jul 2025, at 19:14, Maxim Cournoyer wrote: >> Maybe i could run this once and cache the result? I think I've seen this >> pattern before for bash completion. > > With sudo? I'd find it surprising to the point of annoying if hitting > popped up

Re: GNU Shepherd 1.0.6 released

2025-07-10 Thread Tobias Geerinckx-Rice
> On 10 Jul 2025, at 19:14, Maxim Cournoyer wrote: > Maybe i could run this once and cache the result? I think I've seen this > pattern before for bash completion. With sudo? I'd find it surprising to the point of annoying if hitting popped up a password prompt that I can't escape with muscle

Re: GNU Shepherd 1.0.6 released

2025-07-10 Thread Maxim Cournoyer
Hi, Ludovic Courtès writes: [...] > Yes, ‘sudo herd status TAB’ cannot work because it would need to run > ‘sudo herd status’ to get the list of available services. Maybe i could run this once and cache the result? I think I've seen this pattern before for bash completion. -- Thanks, Maxim

Re: GNU Shepherd 1.0.6 released

2025-07-10 Thread Ludovic Courtès
Hello, Kaelyn writes: > I just checked in a convenient terminal, and it does appear there is > bash-completion for Shepherd. 'herd TAB' gets completions for me, as > well as 'herd status TAB' showing my user Shepherd service names. The > one thing that doesn't seem to work is 'sudo herd status T

Re: GNU Shepherd 1.0.6 released

2025-07-10 Thread Kaelyn
Hi Maxim, On Wednesday, July 9th, 2025 at 11:03 PM, Maxim Cournoyer wrote: > > > Hi Ludovic! > > Congrats on the release! > > Ludovic Courtès l...@gnu.org writes: > > > [...] > > > ** New Fish completion > > > > This version comes with completion of the ‘herd’ command for the Fish shell

Re: GNU Shepherd 1.0.6 released

2025-07-09 Thread Maxim Cournoyer
Hi Ludovic! Congrats on the release! Ludovic Courtès writes: [...] > > ** New Fish completion > > This version comes with completion of the ‘herd’ command for the Fish shell. Oh! Do we also have bash-completion for Shepherd? I'd be nice if we could get completion on 'herd status TAB' to g

GNU Shepherd 1.0.6 released

2025-07-09 Thread Ludovic Courtès
We are glad to announce version 1.0.6 of the Shepherd, the next bug-fix release in the 1.0.x series. Check out the web site to learn more about the Shepherd 1.0.x series: https://gnu.org/software/shepherd/news/2024/12/the-shepherd-1.0.0-released/ • About The Shepherd is a service manager wr