Re: Update using teacup



On Mar 31, 10:06 am, "Donal K. Fellows"
<donal.k.fell...@xxxxxxxxxxxxxxxx> wrote:
Alexandre Ferrieux wrote:
You're right, [teacup update] is even documented as including [teacup
list --only unknown], which means "Everything I carefully left out so
far" ;-). So it's easy to be either ultra-thin or ultra-fat, but not
in between... If you enter a feature request asking for a --only flag
to [teacup update], I'll support it !

Or you could wrap a Tcl script around teacup that gets the output from
'teacup list' (yes, it's available in an easy-to-parse form if you ask
nicely) and then feeds the results through 'teacup install'. After all,
the documentation for 'teacup update' basically lists what it's doing
anyway, so you should be able to figure out how to adapt...

(Alas, it won't be as efficient as 'teacup update' so it is worth
pursuing the extra options.)

Moreover, teacup isn't old enough to have much inertia...
Considering that the simple command 'teacup update' (without options)
does something strictly useless [*], it would not be a terrible breach
of compatibility to decide to change its default semantics to the one
Robert and I are looking forward to.

[*] Unless someone has a compelling argument for promoting as default:
"please spend the next few hours downloading and installing everything
that has ever landed on AS's hard disk"

-Alex
.