Comment 2 for bug 977362

Revision history for this message
Jono Bacon (jonobacon) wrote : Re: [Bug 977362] Re: Ensure .accomplishments is pre-loaded with common accomplishment set paths, including packaging location

On 14 April 2012 12:00, Rafal Cieślak <email address hidden> wrote:
> 1) What will be the default set of accomplishments? For sure, there have
> to be ~/accomplishments and /usr/share/accomplishments, probably also
> /usr/share/local/accomplishments - anything else, and if yes - then in
> what order?

My hunch is that we do this:

/usr/share/acomplishments:/usr/share/local/accomplishments and then we
allow our users to specify a dir in their home dir if desired (likely
on hackers will need this).

> 2) How do we determine which path to use? Or shall we use all, and load
> accomplishment sets from all locations in these places? (it may happen
> that "ubuntu-community" is installed in /usr/share/accomplishments, and
> "ubuntu-italiano" is in ~/accomplishments, shall we use both these sets
> then? What if there are different versions of the same set in different
> directories?) If not, how do we determine which to use - is checking for
> non-emptiness enough?

My hunch is that we can all paths in order and use the sets in that
priority order. As an example if ubuntu-community is in /usr/share and
/usr/share/local, only the the set in /usr/share will be used. Make
sense?

   Jono

--
Jono Bacon
Ubuntu Community Manager
www.ubuntu.com / www.jonobacon.org
www.identi.ca/jonobacon www.twitter.com/jonobacon