Code Comments
Programming Forum and web based access to our favorite programming groups.$ teacup list --only newer entity name version platform ----------- ---------------- -------------- ---------------- application base-tcl-thread 8.5.2.0.284767 macosx-universal application base-tk-thread 8.5.2.0.284767 macosx-universal package jpeg 0.3.3 tcl package ldap 1.6.9 tcl package math::bigfloat 2.0.1 tcl package textutil::string 0.7.1 tcl package tiff 0.2.1 tcl package tls 1.6 macosx-universal package uevent 0.2 tcl ----------- ---------------- -------------- ---------------- 9 entities found Is there an *easy* way of updating all those without doing it one at a time? Is there a feature in teacup I am overlooking? Robert
Post Follow-up to this messageOn Mar 30, 1:22=A0am, Robert Hicks <sigz...@gmail.com> wrote: > $ teacup list --only newer > entity =A0 =A0 =A0name =A0 =A0 =A0 =A0 =A0 =A0 version =A0 =A0 =A0 =A0plat=[/color ] form > ----------- ---------------- -------------- ---------------- > application base-tcl-thread =A08.5.2.0.284767 macosx-universal > application base-tk-thread =A0 8.5.2.0.284767 macosx-universal > package =A0 =A0 jpeg =A0 =A0 =A0 =A0 =A0 =A0 0.3.3 =A0 =A0 =A0 =A0 =A0tcl > package =A0 =A0 ldap =A0 =A0 =A0 =A0 =A0 =A0 1.6.9 =A0 =A0 =A0 =A0 =A0tcl > package =A0 =A0 math::bigfloat =A0 2.0.1 =A0 =A0 =A0 =A0 =A0tcl > package =A0 =A0 textutil::string 0.7.1 =A0 =A0 =A0 =A0 =A0tcl > package =A0 =A0 tiff =A0 =A0 =A0 =A0 =A0 =A0 0.2.1 =A0 =A0 =A0 =A0 =A0tcl > package =A0 =A0 tls =A0 =A0 =A0 =A0 =A0 =A0 =A01.6 =A0 =A0 =A0 =A0 =A0 =A0=[/color ] macosx-universal > package =A0 =A0 uevent =A0 =A0 =A0 =A0 =A0 0.2 =A0 =A0 =A0 =A0 =A0 =A0tcl > ----------- ---------------- -------------- ---------------- > 9 entities found > > Is there an *easy* way of updating all those without doing it one at a > time? Is there a feature in teacup I am overlooking? > > Robert 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 ! -Alex
Post Follow-up to this messageAlexandre 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.) Donal.
Post Follow-up to this messageOn Mar 31, 10:06 am, "Donal K. Fellows" <donal.k.fell...@manchester.ac.uk> wrote: > Alexandre Ferrieux wrote: > > 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
Post Follow-up to this messageAlexandre Ferrieux wrote: > [*] 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" FWIW, while it took a while the first time round (especially as we were debugging some problems at the time IIRC), after that it's been speedy. But it could be quite slow over dialup. Donal.
Post Follow-up to this messageOn Mar 29, 7:22=A0pm, Robert Hicks <sigz...@gmail.com> wrote: > Is there an *easy* way of updating all those without doing it one at a > time? Is there a feature in teacup I am overlooking? Good question. While I prefer teacup update, I certainly can see a use for the case you describe as well - I've installed everything I want, I don't want that other stuff, just give me the updates for what I've already got. Seems like a useful enhancement to request at the < http://bugs.activestate.com/enter_b...uct=3DActiveTcl > web site
Post Follow-up to this messageOn Mar 31, 9:00=A0am, "Larry W. Virden" <lvir...@gmail.com> wrote: > On Mar 29, 7:22=A0pm, Robert Hicks <sigz...@gmail.com> wrote: > > > Good question. While I prefer teacup update, I certainly can see a use > for the case you describe as well - I've installed everything I want, > I don't want that other stuff, just give me the updates for what I've > already got. > > Seems like a useful enhancement to request at the > <http://bugs.activestate.com/enter_b...uct=3DActiveTcl> > web site Done...
Post Follow-up to this messageSWEET!! $ sudo teacup update --only newer Retrieving application base-tcl-thread 8.5.2.0.284846 macosx- universal ...@ http://teapot.activestate.com ... Ok Retrieving application base-tk-thread 8.5.2.0.284846 macosx- universal ...@ http://teapot.activestate.com ... Ok Retrieving package jpeg 0.3.3 tcl ...@ http://teapot.activestate.com ... Ok Retrieving package ldap 1.6.9 tcl ...@ http://teapot.activestate.com ... Ok Retrieving package math::bigfloat 2.0.1 tcl ...@ http://teapot.activestate.com ... Ok Retrieving package tiff 0.2.1 tcl ...@ http://teapot.activestate.com ... Ok Retrieving package tls 1.6 macosx- universal ...@ http://teapot.activestate.com ... Ok Retrieving package uevent 0.2 tcl ...@ http://teapot.activestate.com ... Ok Installing 8 newer packages Installing into /Library/Tcl/teapot Installing application base-tcl-thread 8.5.2.0.284846 macosx-universal Installing application base-tk-thread 8.5.2.0.284846 macosx-universal Installing package jpeg 0.3.3 tcl Installing package ldap 1.6.9 tcl Installing package math::bigfloat 2.0.1 tcl Installing package tiff 0.2.1 tcl Installing package tls 1.6 macosx-universal Installing package uevent 0.2 tcl Installed 8 newer packages Installed 0 unknown packages
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.