Merge lp:~dobey/unity-scope-click/initdb-readme into lp:unity-scope-click

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 478
Merged at revision: 476
Proposed branch: lp:~dobey/unity-scope-click/initdb-readme
Merge into: lp:unity-scope-click
Diff against target: 35 lines (+21/-5)
1 file modified
tools/init-departments/README (+21/-5)
To merge this branch: bzr merge lp:~dobey/unity-scope-click/initdb-readme
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
unity-api-1-bot continuous-integration Approve
Review via email: mp+306135@code.launchpad.net

Commit message

Update the README for init-departments tool.

To post a comment you must log in.
Revision history for this message
unity-api-1-bot (unity-api-1-bot) wrote :

PASSED: Continuous integration, rev:476
https://jenkins.canonical.com/unity-api-1/job/lp-unity-scope-click-ci/108/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build/683
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-0-fetch/689
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/502/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/502
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/502/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/unity-api-1/job/lp-unity-scope-click-ci/108/rebuild

review: Approve (continuous-integration)
Revision history for this message
unity-api-1-bot (unity-api-1-bot) wrote :

PASSED: Continuous integration, rev:477
https://jenkins.canonical.com/unity-api-1/job/lp-unity-scope-click-ci/109/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build/684
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-0-fetch/690
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/503/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/503
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/503/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/unity-api-1/job/lp-unity-scope-click-ci/109/rebuild

review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/init-departments/README'
--- tools/init-departments/README 2014-07-15 14:51:03 +0000
+++ tools/init-departments/README 2016-09-20 15:17:20 +0000
@@ -1,10 +1,26 @@
1This tool creates/updates the list of departments and package:department mapping1This tool creates/updates the list of departments and package:department
2for currently installed apps, and stores it in a sqlite database file.2mapping for installed apps, and stores it in a sqlite database file.
3This db should then be put in the unity-scope-click-departmentsdb package or manually3This db should then be put in the unity-scope-click-departmentsdb package
4copied to the location where click scope expects it to be (~/.cache/click-departments.db).4or manually copied to the location where click scope expects it to be, such
5as ~/.cache/click-departments.db.
56
6Usage:7Usage:
7init-departments DBFILE LOCALE1 [LOCALE2 ...]8init-departments DBFILE LOCALE1 [LOCALE2 ...]
89
9for example:10for example:
10init-departments click-departments.db "" pl_PL de_DE11init-departments click-departments.db en_US ca_ES es_ES eu_ES gl_ES zh_CN zh_TW
12
13
14To update the existing file with translations for a new language, copy
15the existing data/departments.db file in the source tree to a new location,
16run the tool to add translations to the new file, verify it is correct, and
17then copy the database back to data/departments.db to create a merge proposal.
18This will require an Internet connection, to retrieve the translations from
19the server.
20
21$ cp data/departments.db deparments.db-new
22$ init-departments deparments.db-new zh_CN
23$ sqlite3 departments.db-new "SELECT * FROM deptnames WHERE locale LIKE 'zh_CN';"
24$ mv departments.db-new data/departments.db
25
26THen you can commit, push, and propose the changes for merge into trunk.

Subscribers

People subscribed via source and target branches

to all changes: