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

Bug#465369: GoLearn



On Tue, Feb 12, 2008 at 04:56:14PM +0100, Miriam Ruiz wrote:

> I'm a bit concerned that if people start to fork the whole project for
> different kind of searches, it can get a bit out of hand. In fact, it
> might turn into a nightmare for the security team. If the idea is to
> have different GoSomething's available, maybe we could just take the
> common part into a shared library and a common base package, or maybe
> implement a tiny scripting thingie over GoPlay! to personalize it on
> different kind of stuff.
> 
> Don't worry about not being able to code, I'm more concerned about the
> overall design of the program right now. Coding itself, once you have
> clear ideas about what you want to do, is quite straightforward.

Wow, interesting.

A few things come into my mind:

 1. We take the Engine class, allow to configure another facet instead
    of game, and move it into libept.  That allows others to build the
    interface they like on top of it, but this means that the interface
    code needs to be rewritten every time.

 2. We change the Engine class to allow to configure another facet
    instead of game, and implement skins on top of goplay.  The skin
    would customise the interface, and also specify the facet to use
    instead of 'game'.  I don't know what this'd mean in terms of fltk
    interface code.

 3. We implement goplay --learn, automatically enabled if argv[0] ends
    in 'learn', and we install both binaries.

In the meantime, just because it was easy to do, I changed the engine to
allow to customise the main facet used for navigation.  I've also
implemented a new commandline option, --go=facet, to try it out.
I've committed the changes to svn at svn+ssh://svn.debian.org/svn/pkg-games/software/ui

Get a list of facets using:
  grep Facet /var/lib/debtags/vocabulary

Then decide where you want to go and run:
  goplay --go=facet

For example:
  goplay --go=admin
  goplay --go=devel
  goplay --go=office
  goplay --go=security
  goplay --go=sound
  goplay --go=use
  goplay --go=web

Of course one can install an extra tag source with tag data to go in any
other direction.

Oh, and by the way, THIS IS SO COOL!


Ciao,

Enrico

...Debian, where do you want to go tod--ehrm, never mind.
-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: