wok-code 2.0.7__tar.gz → 2.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wok_code-2.0.7 → wok_code-2.0.9}/PKG-INFO +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/README.rst +9 -151
- {wok_code-2.0.7 → wok_code-2.0.9}/setup.py +4 -3
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/__init__.py +1 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/__main__.py +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_csv_2_xml.py +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_script +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_git_checkout_new_branch.py +182 -115
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_gitignore.py +33 -33
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_set_utf8.py +18 -14
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/gen_addons_table.py +2 -3
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/pgconf.py +9 -8
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/please.man +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/pypi.sh +25 -10
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/rm_dir_with_space.py +2 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/__init__.py +5 -2
- wok_code-2.0.7/wok_code/scripts/do_migrate.py → wok_code-2.0.9/wok_code/scripts/arcangelo.py +305 -259
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/globals.yml +12 -2
- wok_code-2.0.9/wok_code/scripts/config/to_pypi_future.yml +6 -0
- wok_code-2.0.9/wok_code/scripts/config/to_pypi_py2.yml +6 -0
- wok_code-2.0.9/wok_code/scripts/config/to_pypi_py3.yml +6 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/cvt_csv_2_rst.py +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/cvt_csv_coa.py +23 -17
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/deploy_odoo.py +68 -49
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/dist_pkg.py +8 -8
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/dist_pkg.sh +7 -4
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/do_odoo_site.py +14 -14
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/gen_readme.py +128 -40
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/generate_random_codes.py +7 -7
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/license_mgnt.py +86 -86
- wok_code-2.0.9/wok_code/scripts/lint_2_compare.py +330 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/main.py +4 -3
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/makepo_it.py +8 -5
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_dependencies.py +16 -5
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_translation.py +248 -189
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_translation_old.py +29 -14
- wok_code-2.0.9/wok_code/scripts/please.py +726 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/please.sh +35 -120
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/please_apache.py +48 -43
- wok_code-2.0.9/wok_code/scripts/please_cwd.py +375 -0
- wok_code-2.0.9/wok_code/scripts/please_python.py +106 -0
- wok_code-2.0.9/wok_code/scripts/please_z0bug.py +239 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/run_odoo_debug.py +8 -8
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/run_odoo_debug.sh +26 -21
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/setup.info +3 -3
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/to_pep8.py +1 -1
- wok_code-2.0.9/wok_code/scripts/wget_odoo_repositories.py +716 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/ssh.py +52 -49
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_filepo.py +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_gen_readme.py +33 -33
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_license_mgnt.py +32 -32
- wok_code-2.0.9/wok_code/tests/test_please.py +440 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/topep8 +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/PKG-INFO +1 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/SOURCES.txt +6 -1
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/entry_points.txt +2 -2
- wok_code-2.0.7/wok_code/scripts/lint_2_compare.py +0 -256
- wok_code-2.0.7/wok_code/scripts/please.py +0 -649
- wok_code-2.0.7/wok_code/scripts/please_z0bug.py +0 -163
- wok_code-2.0.7/wok_code/scripts/wget_odoo_repositories.py +0 -714
- wok_code-2.0.7/wok_code/tests/test_please.py +0 -81
- {wok_code-2.0.7 → wok_code-2.0.9}/setup.cfg +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_script.man +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/eval_gtin.py +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/install_python_3_from_source.sh +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/globals_xml.yml +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_new_api.yml +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_odoo_py2.yml +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_odoo_py3.yml +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_old_api.yml +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_oca.2p8 +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_pep8.2p8 +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_zero.2p8 +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/dependency_links.txt +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/not-zip-safe +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/requires.txt +0 -0
- {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/top_level.txt +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
==============
|
|
3
|
-
wok_code 2.0.
|
|
3
|
+
wok_code 2.0.9
|
|
4
4
|
==============
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
|Maturity| |
|
|
8
|
+
|Maturity| |license gpl|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,22 +13,6 @@ wok_code 2.0.7
|
|
|
13
13
|
Overview
|
|
14
14
|
========
|
|
15
15
|
|
|
16
|
-
Development tools
|
|
17
|
-
-----------------
|
|
18
|
-
|
|
19
|
-
Various tools at your fingertips.
|
|
20
|
-
|
|
21
|
-
The available tools are:
|
|
22
|
-
|
|
23
|
-
* cvt_csv_2_rst.py: convert csv file into rst file
|
|
24
|
-
* cvt_csv_2_xml.py: convert csv file into xml file
|
|
25
|
-
* cvt_script: parse bash script and convert to meet company standard
|
|
26
|
-
* gen_readme.py: generate documentation files, mainly README.rst
|
|
27
|
-
* odoo_dependency.py: show odoo dependencies and/or Odoo module tree
|
|
28
|
-
* odoo_translation.py: manage Odoo translation
|
|
29
|
-
* pep8: parse source .py file to meet pep8 and convert across Odoo versions
|
|
30
|
-
* please: developer shell
|
|
31
|
-
* wget_odoo_repositories.py: get repository names from github.com
|
|
32
16
|
|
|
33
17
|
|
|
34
18
|
please: developer shell
|
|
@@ -315,8 +299,6 @@ It is an helper to meet z0bug_odoo LINT_LEVEL requirements.
|
|
|
315
299
|
Usage
|
|
316
300
|
=====
|
|
317
301
|
|
|
318
|
-
Module usage
|
|
319
|
-
------------
|
|
320
302
|
|
|
321
303
|
|
|
322
304
|
|
|
@@ -791,18 +773,13 @@ Getting started
|
|
|
791
773
|
===============
|
|
792
774
|
|
|
793
775
|
|
|
794
|
-
|
|
|
795
|
-
|
|
796
|
-
Installation
|
|
797
|
-
------------
|
|
798
|
-
|
|
799
776
|
Installation
|
|
800
777
|
------------
|
|
801
778
|
|
|
802
779
|
Zeroincombenze tools require:
|
|
803
780
|
|
|
804
|
-
* Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20
|
|
805
|
-
* python 2.7
|
|
781
|
+
* Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22
|
|
782
|
+
* python 2.7+, some tools require python 3.6+
|
|
806
783
|
* bash 5.0+
|
|
807
784
|
|
|
808
785
|
Current version via Git
|
|
@@ -814,124 +791,20 @@ Current version via Git
|
|
|
814
791
|
git clone https://github.com/zeroincombenze/tools.git
|
|
815
792
|
cd ./tools
|
|
816
793
|
./install_tools.sh -p
|
|
817
|
-
source /
|
|
794
|
+
source $HOME/devel/activate_tools
|
|
818
795
|
|
|
819
796
|
|
|
820
797
|
Upgrade
|
|
821
798
|
-------
|
|
822
799
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
Current stable version
|
|
827
|
-
~~~~~~~~~~~~~~~~~~~~~~
|
|
800
|
+
Current version via Git
|
|
801
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
|
828
802
|
|
|
829
803
|
::
|
|
830
804
|
|
|
831
805
|
cd $HOME
|
|
832
806
|
./install_tools.sh -U
|
|
833
|
-
source /
|
|
834
|
-
|
|
835
|
-
Current development version
|
|
836
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
837
|
-
|
|
838
|
-
::
|
|
839
|
-
|
|
840
|
-
cd $HOME
|
|
841
|
-
./install_tools.sh -Ud
|
|
842
|
-
source /opt/odoo/devel/activate_tools
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
History
|
|
846
|
-
-------
|
|
847
|
-
|
|
848
|
-
2.0.7 (2023-05-08)
|
|
849
|
-
~~~~~~~~~~~~~~~~~~
|
|
850
|
-
|
|
851
|
-
* [IMP] deply_odoo: new action git-push
|
|
852
|
-
* [REF] odoo_translation: new implementation
|
|
853
|
-
* [FIX] run_odoo_debug: minor fixes
|
|
854
|
-
* [NEW] do_git_checkout_new_branch: new command
|
|
855
|
-
* [IMP] install_python3_from_source: improvements
|
|
856
|
-
* [FIX] ssh.py: scp with port not 22
|
|
857
|
-
|
|
858
|
-
2.0.6 (2023-02-23)
|
|
859
|
-
~~~~~~~~~~~~~~~~~~
|
|
860
|
-
|
|
861
|
-
* [IMP] ssh.py: -m -s switches accept path with user and host
|
|
862
|
-
* [IMP] deploy_odoo: new property status to display
|
|
863
|
-
* [IMP] deploy_odoo: new switches -l and -x
|
|
864
|
-
* [NEW] do_git_checkout_new_branch.py
|
|
865
|
-
* [IMP] do_migrate.py: new features
|
|
866
|
-
* [IMP] run_odoo_debug.sh imported from odoo_score
|
|
867
|
-
* [FIX] run_odoo_debug.sh: ODOO_COMMIT TEST not set when build template
|
|
868
|
-
* [IMP] run_odoo_debug.sh: simulate server_wide_modules parameter for Odoo 7.0-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
2.0.5 (2023-01-13)
|
|
872
|
-
~~~~~~~~~~~~~~~~~~
|
|
873
|
-
|
|
874
|
-
* [IMP] please: wep now delete old travis-emulator logs
|
|
875
|
-
* [IMP] install_python_3_from_source.sh: now can install python 3.9
|
|
876
|
-
* [IMP] please: action docs, minor improvements
|
|
877
|
-
* [IMP] deploy_odoo: format output list
|
|
878
|
-
|
|
879
|
-
2.0.4 (2022-12-09)
|
|
880
|
-
~~~~~~~~~~~~~~~~~~
|
|
881
|
-
|
|
882
|
-
* [FIX] deploy_odoo: update from path
|
|
883
|
-
* [FIX] build_cmd: best recognition of python version
|
|
884
|
-
* [FIX] set_python_version.sh: best recognition of python version
|
|
885
|
-
|
|
886
|
-
2.0.3 (2022-11-22)
|
|
887
|
-
~~~~~~~~~~~~~~~~~~
|
|
888
|
-
|
|
889
|
-
* [REF] odoo_translation
|
|
890
|
-
|
|
891
|
-
2.0.2.1 (2022-10-31)
|
|
892
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
893
|
-
|
|
894
|
-
* [IMP] lint_2_compare: ignoring .git .idea egg-info and setup directories
|
|
895
|
-
* [IMP] lint_2_compare: new ignore switches
|
|
896
|
-
* [FIX] please translate: do not execute export
|
|
897
|
-
|
|
898
|
-
2.0.2 (2022-10-20)
|
|
899
|
-
~~~~~~~~~~~~~~~~~~
|
|
900
|
-
|
|
901
|
-
* [IMP] Clearing code
|
|
902
|
-
|
|
903
|
-
2.0.1 (2022-10-12)
|
|
904
|
-
~~~~~~~~~~~~~~~~~~
|
|
905
|
-
|
|
906
|
-
* [IMP] minor improvements
|
|
907
|
-
|
|
908
|
-
2.0.1 (2022-10-12)
|
|
909
|
-
~~~~~~~~~~~~~~~~~~
|
|
910
|
-
|
|
911
|
-
* [IMP] stable version
|
|
912
|
-
|
|
913
|
-
2.0.0.4 (2022-10-05)
|
|
914
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
915
|
-
|
|
916
|
-
* [IMP] New lint_2_compare command
|
|
917
|
-
* [IMP] odoo_dependecies.py: minor upgrade
|
|
918
|
-
|
|
919
|
-
2.0.0.3 (2022-09-14)
|
|
920
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
921
|
-
|
|
922
|
-
* [FIX] deploy_odoo: show actual branch and organization
|
|
923
|
-
* [FIX] deploy_odoo: update read from directory
|
|
924
|
-
* [IMP] deploy_odoo: new command list repo info
|
|
925
|
-
* [IMP] deploy_odoo: new feature link to repositories
|
|
926
|
-
|
|
927
|
-
2.0.0.2 (2022-09-10)
|
|
928
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
929
|
-
|
|
930
|
-
* [FIX] deploy_odoo: add path in addons_path of directory exists
|
|
931
|
-
* [FIX] deploy_odoo: clone oca repositories with --single-branch option
|
|
932
|
-
* [IMP] manage_pypi: improvements
|
|
933
|
-
* [FIX] please lint|test
|
|
934
|
-
|
|
807
|
+
source $HOME/devel/activate_tools
|
|
935
808
|
|
|
936
809
|
|
|
937
810
|
|
|
|
@@ -959,26 +832,17 @@ Contributors
|
|
|
959
832
|
|
|
960
833
|
This module is part of tools project.
|
|
961
834
|
|
|
962
|
-
Last Update / Ultimo aggiornamento: 2023-05-
|
|
835
|
+
Last Update / Ultimo aggiornamento: 2023-05-21
|
|
963
836
|
|
|
964
837
|
.. |Maturity| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
965
838
|
:target: https://odoo-community.org/page/development-status
|
|
966
839
|
:alt:
|
|
967
|
-
.. |Build Status| image:: https://travis-ci.org/zeroincombenze/tools.svg?branch=master
|
|
968
|
-
:target: https://travis-ci.com/zeroincombenze/tools
|
|
969
|
-
:alt: github.com
|
|
970
840
|
.. |license gpl| image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
|
971
841
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
972
842
|
:alt: License: AGPL-3
|
|
973
843
|
.. |license opl| image:: https://img.shields.io/badge/licence-OPL-7379c3.svg
|
|
974
844
|
:target: https://www.odoo.com/documentation/user/9.0/legal/licenses/licenses.html
|
|
975
845
|
:alt: License: OPL
|
|
976
|
-
.. |Coverage Status| image:: https://coveralls.io/repos/github/zeroincombenze/tools/badge.svg?branch=master
|
|
977
|
-
:target: https://coveralls.io/github/zeroincombenze/tools?branch=2.0
|
|
978
|
-
:alt: Coverage
|
|
979
|
-
.. |Codecov Status| image:: https://codecov.io/gh/zeroincombenze/tools/branch/2.0/graph/badge.svg
|
|
980
|
-
:target: https://codecov.io/gh/zeroincombenze/tools/branch/2.0
|
|
981
|
-
:alt: Codecov
|
|
982
846
|
.. |Tech Doc| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-docs-2.svg
|
|
983
847
|
:target: https://wiki.zeroincombenze.org/en/Odoo/2.0/dev
|
|
984
848
|
:alt: Technical Documentation
|
|
@@ -988,12 +852,6 @@ Last Update / Ultimo aggiornamento: 2023-05-09
|
|
|
988
852
|
.. |Try Me| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-try-it-2.svg
|
|
989
853
|
:target: https://erp2.zeroincombenze.it
|
|
990
854
|
:alt: Try Me
|
|
991
|
-
.. |OCA Codecov| image:: https://codecov.io/gh/OCA/tools/branch/2.0/graph/badge.svg
|
|
992
|
-
:target: https://codecov.io/gh/OCA/tools/branch/2.0
|
|
993
|
-
:alt: Codecov
|
|
994
|
-
.. |Odoo Italia Associazione| image:: https://www.odoo-italia.org/images/Immagini/Odoo%20Italia%20-%20126x56.png
|
|
995
|
-
:target: https://odoo-italia.org
|
|
996
|
-
:alt: Odoo Italia Associazione
|
|
997
855
|
.. |Zeroincombenze| image:: https://avatars0.githubusercontent.com/u/6972555?s=460&v=4
|
|
998
856
|
:target: https://www.zeroincombenze.it/
|
|
999
857
|
:alt: Zeroincombenze
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
1
2
|
import sys
|
|
2
3
|
from setuptools import find_packages, setup
|
|
3
4
|
|
|
@@ -12,7 +13,7 @@ else:
|
|
|
12
13
|
|
|
13
14
|
setup(
|
|
14
15
|
name='wok_code',
|
|
15
|
-
version='2.0.
|
|
16
|
+
version='2.0.9',
|
|
16
17
|
description='Python developers tools',
|
|
17
18
|
long_description="""
|
|
18
19
|
Various tools at your fingertips.
|
|
@@ -81,7 +82,7 @@ The available tools are:
|
|
|
81
82
|
'dist_pkg = wok_code.scripts.dist_pkg:main',
|
|
82
83
|
'do_gitignore = wok_code.do_gitignore:main',
|
|
83
84
|
'do_git_checkout_new_branch = wok_code.do_git_checkout_new_branch:main',
|
|
84
|
-
'
|
|
85
|
+
'arcangelo = wok_code.scripts.arcangelo:main',
|
|
85
86
|
'do_odoo_site.py = wok_code.scripts.do_odoo_site:main',
|
|
86
87
|
'gen_readme.py = wok_code.scripts.gen_readme:main',
|
|
87
88
|
'lint_2_compare = wok_code.scripts.lint_2_compare:main',
|
|
@@ -91,7 +92,7 @@ The available tools are:
|
|
|
91
92
|
'please = wok_code.scripts.please:main',
|
|
92
93
|
'to_pep8.py = wok_code.scripts.to_pep8:main',
|
|
93
94
|
'wget_odoo_repositories.py = wok_code.scripts.wget_odoo_repositories:main',
|
|
94
|
-
'run_odoo_debug =
|
|
95
|
+
'run_odoo_debug = wok_code.scripts.run_odoo_debug:main',
|
|
95
96
|
]
|
|
96
97
|
},
|
|
97
98
|
zip_safe=False,
|
|
File without changes
|