[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#465369: GoLearn



On Wed, Feb 13, 2008 at 05:46:36AM +0100, Jonas Smedegaard wrote:

> I suggest now a different approach that fulfills our needs without 
> multiple applications:
>   4. Implement an --ftags option similar to that in ept-tags

Done and committed: give it a try.  For kicks, I also implemented
--secondary=facet to choose the facet to use instead of 'interface'.

Note: --ftags can be a comma-separated list of tags, that will be ANDed:
this means that you can do this, which is probably what you want:

    goplay --go=field --ftags="use::learning, role::program"

I've just run that: the result is really nice!  Your idea seems to
nicely hit the spot.

> I believe it would then also make sense to either use a more generic 
> facet than gaming by default or make the --facet option required, and 
> rename the tool and the dependent games-thumbnails package. But that is 
> just cosmetics.

Note that goplay is written by the gnome game team, so not having gaming
as a default would be a bit of a shame :)

Also, if you require --facet, you can't just click and run the program,
which takes half of the ease away.  However, anyone's welcome to make a
godebian program that shows like 6 big stilish icons one with every
direction you'd like to go, and by clicking on an icon goplay is
launched with the right options.

The idea we discussed with Miriam, though, was something like to store a
number of preset defaults inside the program, and choose them based on
the program name.  That way you can, for example, run it as 'golearn'
and it will choose a different set of defaults.

Turns out that this was rather easy to implement as well, so I did it.
I took advantage of the opportunity for, in case of golearn, use as
--ftags something like: "use::learning && (role::program || role::documentation)".

I've looked around at the available facets, and I implemented this list
of possible alternate names, all of which are implemented:

   goadmin
   golearn
   gonet
   gooffice
   goplay
   gosafe
   goweb

Please try it out: does it do what you want?

btw, should we reassign this bug to goplay, for filing purpose?


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: