Package: wok-code
OverviewVarious tools at your fingertips.The available tools are:cvt_csv_2_rst.py: convert csv file into rst filecvt_csv_2_xml.py: convert csv file into xml filecvt_script: parse bash script and convert to meet company standardgen_readme.py: generate documentation files, mainly README.rstodoo_dependency.py: show odoo dependencies and/or Odoo module treeodoo_translation.py: manage Odoo translationarcangelo: parse source .py file to meet pep8 and convert across Odoo versionsplease: developer shellwget_odoo_repositories.py: get repository names from github.comUsageusage: please.py [-h] [-H PATH] [-n] [-Q FILE] [-q] [-v] [-V] [action]

Zeroincombenze® developer shell.
obj after action may be on of apache, cwd, python, z0bug, zerobug, travis

positional arguments:
  action

optional arguments:
  -h, --help            show this help message and exit
  -H PATH, --home-devel PATH
                        Home devel directory
  -n, --dry-run         do nothing (dry-run)
  -Q FILE, --tools-config FILE
                        Configuration file
  -q, --quiet           silent mode
  -v, --verbose         verbose mode
  -V, --version         show program's version number and exit

Help available issuing: please help ACTION
© 2015-2023 by SHS-AV s.r.l.
Author: antoniomaria.vigliotti@gmail.com
Full documentation at: https://zeroincombenze-tools.readthedocs.io/Action is one of:helpbuildchkconfigconfigdocsduplicateexport MODULE DBimportlistlsearchpublishpushpythonhostedreplacereplicashowstatustesttranslate MODULE DBversionwepbuildBuild a tar file for current PYPI projectchkconfigDisplay various values of current project.config global|localSet various parameter by edit with vim.
Set various parameter editing with vim.
Comments inside configuration file can aim to set values.Some variable are:GBL_EXCLUDE=test_impex -> Module globally escluded by test because can fail locallyPYTHON_MATRIX=”2.7 3.7” -> python version to use in testsdocsPrepare documentation to publish on readthedocs website (PYPI).
Create / update README and index.html of Odoo module.
Notice: README of repository history is tailored with last 60 days items;
on README and index,html of module, history is tailored with last 180 days items;
However max 12 items are added in README / index.html
Summary showed to console are tailored with last 15 days.export MODULE DB [-bBRANCH]Export po file of Odoo project.
If current directory is a module directory you can use ‘.’ (dot) for module name.To declare specific version use -b switchimport MODULE DBImport po file of Odoo project.To declare target version use fB-bfR switchpublish docs|download|pypi|svg|testpypiPublish documentation or package.publish docs     -> publish generate docs to website (require system privileges)publish download -> publish tarball to download (require system privileges)type fBplease buildfR to generate tarball filepublish pypi     -> publish package to pypi website (from odoo user)publish svg      -> publish test result svg file (require system privileges)publish tar      -> write a tarball with package filesGetting startedPrerequisitesZeroincombenze tools requires:Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22python 2.7+, some tools require python 3.6+, best python 3.8+bash 5.0+InstallationStable version via Python Packagepip install wok_codeCurrent version via Gitcd $HOME
[[ ! -d ./tools ]] && git clone https://github.com/zeroincombenze/tools.git
cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_toolsUpgradeStable version via Python Packagepip install --upgrade wok_codeCurrent version via Gitcd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_toolsChangeLog History2.0.15 (2024-02-17)[FIX] do_git_checkout_new_branch: ignore symbolic links[FIX] deploy_odoo: minor fixes[IMP] do_git_checkout_new_branch: oddo 17.0[IMP] deploy_odoo: new action amend[IMP] deploy_odoo: new switch to link repositories[IMP] deploy_odoo: removed deprecated switches[IMP] New repositories selection[IMP] arcangelo improvements: new tests odoo from 8.0 to 17.0[IMP] arcangelo improvements: test odoo from 8.0 to 17.0[IMP] arcangelo switch -lll[IMP] arcaneglo: rules reorganization[IMP] arcangelo: trigger management and new param ctx[IMP] arcangelo: new switch -R to select rules to apply2.0.14 (2024-02-07)[FIX] Quality rating formula[FIX] please install python –python=3.7[IMP] please publish marketplace[IMP] read-only repository[IMP] arcangelo improvements[IMP] gen_readme.py manifest rewrite improvements[IMP] cvt_csv_coa.py improvements[IMP] please test with new switch -D[IMP] run_odoo_debug improvements2.0.13 (2023-11-27)[IMP] please install python, now can install python 3.10[IMP] arcangelo: new python version assignment from odoo version[IMP] please version: now show compare with last entry of history[FIX] please docs: faq[FIX] please help cwd[FIX] gen_readme.py: sometimes lost history[FIX] gen_readme.py: error reading malformed table[IMP] odoo_translation.py: new regression tests[FIX] odoo_translation.py: punctuation at the end of term[FIX] odoo_translation.py: first character case[FIX] odoo_translation.py: cache file format is Excel[FIX] run_odoo_debug: path with heading space[IMP] please test now can update account.account.xlsx2.0.12 (2023-08-29)[FIX] gen_readme.py: minor fixes[IMP] gen_readme.py: manifest author priority[FIX] gen_readme.py: coverage in CHANGELOG.rst”[IMP] gen_readme.py: link to authors on README.rst and index.html[IMP] gen_readme.py: history tailoring keeps minimal 2 items[FIX] license_mgnt: best organization recognition[IMP] license_mgnt: powerp renamed to librerp[FIX] run_odoo_debug: no doc neither translate after test error[IMP] arcangelo: new rules[IMP] arcangelo: new git conflict selection[IMP] arcangelo: merge gen_readme.py formatting[IMP] arcangelo: new switch –string-normalization[FIX] deploy_odoo: minor fixes[FIX] odoo_translation: sometime did not translate[IMP] odoo_translation: best performance2.0.10 (2023-07-10)[IMP] gen_readme.py: do not create .bak file; now it can be used in pre-commit process[IMP] please replace now do “please docs” before[IMP] please docs now do “please clean” after[IMP] please lint and zerobug now do “pre-commit run” before (–no-verify)[IMP] please test and zerobug now do “please translate” after (–no-translate)[IMP] please update: new switches –vme –odoo-venv[IMP] please clean db: new action replace old wep-db[IMP] please version: new interface[IMP] please show docs: new interface[REF] run_odoo_debug: partial refactoring[IMP] run_odoo_debug: new switch –daemon[IMP] arcangelo: new swicth –string-normalization[FIX] please test / run_odoo_debug: minor fixes2.0.9 (2023-06-26)[FIX] run_odoo_debug: recognize ‘to upgrade’ and ‘to install’ states[FIX] run_odoo_debug: check for dropped DB and abort if still exist[REF] odoo_translation: refactoring[REF] please: refactoring[IMP] deploy_odoo: new brief for status[IMP] deploy_odoo: new action unstaged e new status format[IMP] do_migrate renamed to arcangelo[IMP] gen_readme.py: manage CHANGELOG.rst too[IMP] argangelo: refactoring to run inside pre-commit2.0.8 (2023-05-09)[FIX] Install run_odoo_debug[FIX] Install do_git_ignore[IMP] lint_2_compare: ignore odoo/openerp test string and LICENSE files[IMP] lint_2_compare: new switch —purge do not load identical files (quick diff)2.0.7 (2023-05-08)[IMP] deply_odoo: new action git-push[REF] odoo_translation: new implementation[FIX] run_odoo_debug: minor fixes[NEW] do_git_checkout_new_branch: new command[IMP] install_python3_from_source: improvements[FIX] ssh.py: scp with port not 222.0.6 (2023-02-23)[IMP] ssh.py: -m -s switches accept path with user and host[IMP] deploy_odoo: new property status to display[IMP] deploy_odoo: new switches -l and -x[NEW] do_git_checkout_new_branch.py[IMP] do_migrate.py: new features[IMP] run_odoo_debug.sh imported from odoo_score[FIX] run_odoo_debug.sh: ODOO_COMMIT TEST not set when build template[IMP] run_odoo_debug.sh: simulate server_wide_modules parameter for Odoo 7.0-2.0.5 (2023-01-13)[IMP] please: wep now delete old travis-emulator logs[IMP] install_python_3_from_source.sh: now can install python 3.9[IMP] please: action docs, minor improvements[IMP] deploy_odoo: format output list2.0.4 (2022-12-09)[FIX] deploy_odoo: update from path[FIX] build_cmd: best recognition of python version[FIX] set_python_version.sh: best recognition of python version2.0.3 (2022-11-22)[REF] odoo_translation2.0.2.1 (2022-10-31)[IMP] lint_2_compare: ignoring .git .idea egg-info and setup directories[IMP] lint_2_compare: new ignore switches[FIX] please translate: do not execute export2.0.2 (2022-10-20)[IMP] Clearing code2.0.1 (2022-10-12)[IMP] minor improvements2.0.1 (2022-10-12)[IMP] stable version2.0.0.4 (2022-10-05)[IMP] New lint_2_compare command[IMP] odoo_dependecies.py: minor upgrade2.0.0.3 (2022-09-14)[FIX] deploy_odoo: show actual branch and organization[FIX] deploy_odoo: update read from directory[IMP] deploy_odoo: new command list repo info[IMP] deploy_odoo: new feature link to repositories2.0.0.2 (2022-09-10)[FIX] deploy_odoo: add path in addons_path of directory exists[FIX] deploy_odoo: clone oca repositories with –single-branch option[IMP] manage_pypi: improvements[FIX] please lint|test2.0.0.1 (2022-09-07)[FIX] please test: with debug2.0.0 (2022-08-10)[REF] RefactoringCreditsCopyrightSHS-AV s.r.l. <https://www.shs-av.com/>AuthorsSHS-AV s.r.l.ContributorsAntonio M.Vigliotti