~unity-team/unity-scope-click/devel

« back to all changes in this revision

Viewing changes to tools/init-departments/README

  • Committer: Tarmac
  • Author(s): Pawel Stolowski
  • Date: 2014-07-16 13:57:55 UTC
  • mfrom: (310.2.13 populate-departments-db)
  • Revision ID: tarmac-20140716135755-bsuqlp22axfwvvd5
Populate departments database in the store scope. Use slugs for unique department ids when parsing. Implemented a tool that initializes or updates departments db.

Approved by Alejandro J. Cura, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This tool creates/updates the list of departments and package:department mapping
 
2
for currently installed apps, and stores it in a sqlite database file.
 
3
This db should then be put in the unity-scope-click-departmentsdb package or manually
 
4
copied to the location where click scope expects it to be (~/.cache/click-departments.db).
 
5
 
 
6
Usage:
 
7
init-departments DBFILE LOCALE1 [LOCALE2 ...]
 
8
 
 
9
for example:
 
10
init-departments click-departments.db "" pl_PL de_DE