Public Repository

Last pushed: 2 years ago
Short Description
Translation file manager
Full Description

Bee

Translation files link between Git and Pootle.

Clones Git repositories, browse them for translation files, provide them to
Pootle. Also capable of getting translation files from Pootle and commit
everything in Git repositories.

Run Bee

It is as simple as:

$ docker pull airvantage/bee
$ docker run airvantage/bee --help

Credentials

SSH credentials are used for add or push sub commands.

Bee docker container uses SSH keys available at /data/keys/, mounting a
volume there enables persistent keys.

$ ls /w/bee/.ssh
id_luadocumentor      id_node_ui_commons      id_to_delete
id_luadocumentor.pub  id_node_ui_commons.pub  id_to_delete.pub
$ docker run --volume /w/bee/.ssh:/data/keys/ airvantage/bee push

Available sub commands

$ docker run airvantage/bee --help
usage: bee [-h] [-v] {add,list,remove,commit,copy,fetch,push} ...

Eat Git repositories, sort their translation files for Pootle and commit
them back.

positional arguments:
{add,list,remove,commit,copy,fetch,push}
add                 Register repositories to parse.
list                List registered repositories.
remove              Delete repositories form bee
commit              Commit repository translations.
copy                Copy repository translations to Pootle po directory.
fetch               Fetch translations from Pootle po directory. Pootle
translation projects are here referred to as
repositories.
push                Push commits for all repositories.

optional arguments:
-h, --help            show this help message and exit
-v, --version         show program's version number and exit

Bzz.

Note: You can also get --help for sub commands, such as list:

$ docker run airvantage/bee list --help
usage: bee list [-h] [-l]

optional arguments:
  -h, --help  show this help message and exit
  -l, --long  Provide path to repositories
Docker Pull Command
Owner
airvantage

Comments (0)