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.
Files changed (77) hide show
  1. {wok_code-2.0.7 → wok_code-2.0.9}/PKG-INFO +1 -1
  2. {wok_code-2.0.7 → wok_code-2.0.9}/README.rst +9 -151
  3. {wok_code-2.0.7 → wok_code-2.0.9}/setup.py +4 -3
  4. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/__init__.py +1 -0
  5. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/__main__.py +0 -0
  6. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_csv_2_xml.py +1 -1
  7. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_script +1 -1
  8. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_git_checkout_new_branch.py +182 -115
  9. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_gitignore.py +33 -33
  10. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/do_set_utf8.py +18 -14
  11. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/gen_addons_table.py +2 -3
  12. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/pgconf.py +9 -8
  13. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/please.man +1 -1
  14. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/pypi.sh +25 -10
  15. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/rm_dir_with_space.py +2 -1
  16. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/__init__.py +5 -2
  17. wok_code-2.0.7/wok_code/scripts/do_migrate.py → wok_code-2.0.9/wok_code/scripts/arcangelo.py +305 -259
  18. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/globals.yml +12 -2
  19. wok_code-2.0.9/wok_code/scripts/config/to_pypi_future.yml +6 -0
  20. wok_code-2.0.9/wok_code/scripts/config/to_pypi_py2.yml +6 -0
  21. wok_code-2.0.9/wok_code/scripts/config/to_pypi_py3.yml +6 -0
  22. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/cvt_csv_2_rst.py +1 -1
  23. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/cvt_csv_coa.py +23 -17
  24. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/deploy_odoo.py +68 -49
  25. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/dist_pkg.py +8 -8
  26. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/dist_pkg.sh +7 -4
  27. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/do_odoo_site.py +14 -14
  28. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/gen_readme.py +128 -40
  29. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/generate_random_codes.py +7 -7
  30. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/license_mgnt.py +86 -86
  31. wok_code-2.0.9/wok_code/scripts/lint_2_compare.py +330 -0
  32. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/main.py +4 -3
  33. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/makepo_it.py +8 -5
  34. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_dependencies.py +16 -5
  35. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_translation.py +248 -189
  36. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/odoo_translation_old.py +29 -14
  37. wok_code-2.0.9/wok_code/scripts/please.py +726 -0
  38. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/please.sh +35 -120
  39. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/please_apache.py +48 -43
  40. wok_code-2.0.9/wok_code/scripts/please_cwd.py +375 -0
  41. wok_code-2.0.9/wok_code/scripts/please_python.py +106 -0
  42. wok_code-2.0.9/wok_code/scripts/please_z0bug.py +239 -0
  43. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/run_odoo_debug.py +8 -8
  44. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/run_odoo_debug.sh +26 -21
  45. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/setup.info +3 -3
  46. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/to_pep8.py +1 -1
  47. wok_code-2.0.9/wok_code/scripts/wget_odoo_repositories.py +716 -0
  48. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/ssh.py +52 -49
  49. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_filepo.py +0 -0
  50. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_gen_readme.py +33 -33
  51. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/tests/test_license_mgnt.py +32 -32
  52. wok_code-2.0.9/wok_code/tests/test_please.py +440 -0
  53. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/topep8 +1 -1
  54. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/PKG-INFO +1 -1
  55. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/SOURCES.txt +6 -1
  56. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/entry_points.txt +2 -2
  57. wok_code-2.0.7/wok_code/scripts/lint_2_compare.py +0 -256
  58. wok_code-2.0.7/wok_code/scripts/please.py +0 -649
  59. wok_code-2.0.7/wok_code/scripts/please_z0bug.py +0 -163
  60. wok_code-2.0.7/wok_code/scripts/wget_odoo_repositories.py +0 -714
  61. wok_code-2.0.7/wok_code/tests/test_please.py +0 -81
  62. {wok_code-2.0.7 → wok_code-2.0.9}/setup.cfg +0 -0
  63. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/cvt_script.man +0 -0
  64. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/eval_gtin.py +0 -0
  65. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/install_python_3_from_source.sh +0 -0
  66. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/globals_xml.yml +0 -0
  67. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_new_api.yml +0 -0
  68. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_odoo_py2.yml +0 -0
  69. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_odoo_py3.yml +0 -0
  70. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/scripts/config/to_old_api.yml +0 -0
  71. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_oca.2p8 +0 -0
  72. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_pep8.2p8 +0 -0
  73. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code/to_zero.2p8 +0 -0
  74. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/dependency_links.txt +0 -0
  75. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/not-zip-safe +0 -0
  76. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/requires.txt +0 -0
  77. {wok_code-2.0.7 → wok_code-2.0.9}/wok_code.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: wok_code
3
- Version: 2.0.7
3
+ Version: 2.0.9
4
4
  Summary: Python developers tools
5
5
  Home-page: https://zeroincombenze-tools.readthedocs.io
6
6
  Author: Antonio Maria Vigliotti
@@ -1,11 +1,11 @@
1
1
 
2
2
  ==============
3
- wok_code 2.0.7
3
+ wok_code 2.0.9
4
4
  ==============
5
5
 
6
6
 
7
7
 
8
- |Maturity| |Build Status| |Coverage Status| |license gpl|
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, some tools require python 3.6+
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 /opt/odoo/devel/activate_tools
794
+ source $HOME/devel/activate_tools
818
795
 
819
796
 
820
797
  Upgrade
821
798
  -------
822
799
 
823
- Upgrade
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 /opt/odoo/devel/activate_tools
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-09
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.7',
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
- 'do_migrate = wok_code.scripts.do_migrate:main',
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 = odoo_score.scripts.run_odoo_debug:main',
95
+ 'run_odoo_debug = wok_code.scripts.run_odoo_debug:main',
95
96
  ]
96
97
  },
97
98
  zip_safe=False,
@@ -1,3 +1,4 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  from . import scripts
3
+
3
4
  # from scripts import license_mgnt
File without changes
@@ -44,7 +44,7 @@ except ImportError:
44
44
  import z0lib
45
45
 
46
46
 
47
- __version__ = "2.0.7"
47
+ __version__ = "2.0.9"
48
48
 
49
49
  msg_time = time.time()
50
50
 
@@ -38,7 +38,7 @@ RED="\e[1;31m"
38
38
  GREEN="\e[1;32m"
39
39
  CLR="\e[0m"
40
40
 
41
- __version__=2.0.7
41
+ __version__=2.0.9
42
42
 
43
43
  #//Only human upgradable code/
44
44
  # blk1 => z0librc