otoolbox 0.7.7__tar.gz → 0.7.8__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 (155) hide show
  1. {otoolbox-0.7.7/src/otoolbox.egg-info → otoolbox-0.7.8}/PKG-INFO +1 -1
  2. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-common +8 -3
  3. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-push-shielded +0 -2
  4. {otoolbox-0.7.7 → otoolbox-0.7.8/src/otoolbox.egg-info}/PKG-INFO +1 -1
  5. {otoolbox-0.7.7 → otoolbox-0.7.8}/.coveragerc +0 -0
  6. {otoolbox-0.7.7 → otoolbox-0.7.8}/.github/copilot-instructions.md +0 -0
  7. {otoolbox-0.7.7 → otoolbox-0.7.8}/.github/workflows/python-package.yml +0 -0
  8. {otoolbox-0.7.7 → otoolbox-0.7.8}/.github/workflows/python-publish.yml +0 -0
  9. {otoolbox-0.7.7 → otoolbox-0.7.8}/.gitignore +0 -0
  10. {otoolbox-0.7.7 → otoolbox-0.7.8}/.logs.txt +0 -0
  11. {otoolbox-0.7.7 → otoolbox-0.7.8}/.pre-commit-config.yaml +0 -0
  12. {otoolbox-0.7.7 → otoolbox-0.7.8}/.pylintrc +0 -0
  13. {otoolbox-0.7.7 → otoolbox-0.7.8}/.pylintrc-mandatory +0 -0
  14. {otoolbox-0.7.7 → otoolbox-0.7.8}/.readthedocs.yml +0 -0
  15. {otoolbox-0.7.7 → otoolbox-0.7.8}/.vscode/launch.json +0 -0
  16. {otoolbox-0.7.7 → otoolbox-0.7.8}/.vscode/otoolbox_debug_runner.py +0 -0
  17. {otoolbox-0.7.7 → otoolbox-0.7.8}/.vscode/settings.json +0 -0
  18. {otoolbox-0.7.7 → otoolbox-0.7.8}/.vscode/tasks.json +0 -0
  19. {otoolbox-0.7.7 → otoolbox-0.7.8}/AUTHORS.rst +0 -0
  20. {otoolbox-0.7.7 → otoolbox-0.7.8}/CHANGELOG.rst +0 -0
  21. {otoolbox-0.7.7 → otoolbox-0.7.8}/CONTRIBUTING.rst +0 -0
  22. {otoolbox-0.7.7 → otoolbox-0.7.8}/LICENSE +0 -0
  23. {otoolbox-0.7.7 → otoolbox-0.7.8}/LICENSE.txt +0 -0
  24. {otoolbox-0.7.7 → otoolbox-0.7.8}/README.rst +0 -0
  25. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-config +0 -0
  26. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-info +0 -0
  27. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-init +0 -0
  28. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-shell +0 -0
  29. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-update +0 -0
  30. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/customer-update-submodule +0 -0
  31. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-commit +0 -0
  32. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-common +0 -0
  33. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-doctor +0 -0
  34. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-doctor.bat +0 -0
  35. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-init-tests +0 -0
  36. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-pre-commit +0 -0
  37. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-pull +0 -0
  38. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-push +0 -0
  39. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-repo-add-all +0 -0
  40. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-repo-init +0 -0
  41. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-sync-shielded +0 -0
  42. {otoolbox-0.7.7 → otoolbox-0.7.8}/bin/otoolbox-tests-by-repo +0 -0
  43. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/Makefile +0 -0
  44. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/_static/.gitignore +0 -0
  45. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/authors.rst +0 -0
  46. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/changelog.rst +0 -0
  47. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/conf.py +0 -0
  48. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/contributing.rst +0 -0
  49. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/help-repo.txt +0 -0
  50. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/index.rst +0 -0
  51. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/license.rst +0 -0
  52. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/readme.rst +0 -0
  53. {otoolbox-0.7.7 → otoolbox-0.7.8}/docs/requirements.txt +0 -0
  54. {otoolbox-0.7.7 → otoolbox-0.7.8}/pyproject.toml +0 -0
  55. {otoolbox-0.7.7 → otoolbox-0.7.8}/setup.cfg +0 -0
  56. {otoolbox-0.7.7 → otoolbox-0.7.8}/setup.py +0 -0
  57. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/__init__.py +0 -0
  58. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/__init__.py +0 -0
  59. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/addons/README.rst +0 -0
  60. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/addons/__init__.py +0 -0
  61. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/addons/config.py +0 -0
  62. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/addons/constants.py +0 -0
  63. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/README.rst +0 -0
  64. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/__init__.py +0 -0
  65. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/copilot_utils.py +0 -0
  66. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/data/agents/Odoo_17_Backend.agent.md +0 -0
  67. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/data/agents/Odoo_18_Backend.agent.md +0 -0
  68. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/data/agents/Odoo_19_Backend.agent.md +0 -0
  69. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/copilot/data/copilot-instructions.md +0 -0
  70. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/docker/README.rst +0 -0
  71. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/docker/docker-compose.yml +0 -0
  72. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/README.rst +0 -0
  73. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/__init__.py +0 -0
  74. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/README.rst +0 -0
  75. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/00-file-and-folders.md +0 -0
  76. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/01-global-style.md +0 -0
  77. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/02-odoo-patterns.md +0 -0
  78. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/03-testing-and-validation.md +0 -0
  79. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/04-security-and-secrets.md +0 -0
  80. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/05-oca-contributing-reference.md +0 -0
  81. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/06-odoo-test-framework-guid.md +0 -0
  82. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/07-odoonix-guidline.md +0 -0
  83. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/08-copilot-instructions-guideline.md +0 -0
  84. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/data/docs/09-team-playbook.md +0 -0
  85. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/help/help_utils.py +0 -0
  86. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/logger/README.rst +0 -0
  87. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/logger/__init__.py +0 -0
  88. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/README.rst +0 -0
  89. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/__init__.py +0 -0
  90. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/config.py +0 -0
  91. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/constants.py +0 -0
  92. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/data/repositories.csv +0 -0
  93. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/data/repositories.json +0 -0
  94. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/display.py +0 -0
  95. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/git.py +0 -0
  96. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/repositories/util.py +0 -0
  97. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/README.rst +0 -0
  98. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/__init__.py +0 -0
  99. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-add-repos +0 -0
  100. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-commit +0 -0
  101. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-common +0 -0
  102. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-init-tests +0 -0
  103. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-pre-commit +0 -0
  104. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-pull +0 -0
  105. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-push +0 -0
  106. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-push-shielded +0 -0
  107. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-repo-add-all +0 -0
  108. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-repo-init +0 -0
  109. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-sync-shielded +0 -0
  110. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/bulk-tests-by-repo +0 -0
  111. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-common +0 -0
  112. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-config +0 -0
  113. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-info +0 -0
  114. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-init +0 -0
  115. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-shell +0 -0
  116. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-update +0 -0
  117. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/customer-update-submodule +0 -0
  118. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/ubuntu-install-apps +0 -0
  119. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/ubuntu/bin/ubuntu-office-conf +0 -0
  120. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/unitest/__init__.py +0 -0
  121. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/unitest/data/ODOO_TEST_FRAMEWORK_GUIDE.md +0 -0
  122. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/unitest/data/conftest.py +0 -0
  123. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/unitest/data/pytest.ini +0 -0
  124. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/unitest/unitest_utils.py +0 -0
  125. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/README.rst +0 -0
  126. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/__init__.py +0 -0
  127. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/data/odools.toml +0 -0
  128. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/data/requirements.txt +0 -0
  129. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/data/workspace.json +0 -0
  130. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/dev_env.py +0 -0
  131. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/extensions.py +0 -0
  132. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/odoo_conf.py +0 -0
  133. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/vscode/odools_conf.py +0 -0
  134. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/workspace/README.rst +0 -0
  135. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/workspace/__init__.py +0 -0
  136. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/addons/workspace/data/env +0 -0
  137. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/banner.txt +0 -0
  138. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/base.py +0 -0
  139. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/constants.py +0 -0
  140. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/environment.py +0 -0
  141. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox/utils.py +0 -0
  142. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/SOURCES.txt +0 -0
  143. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/dependency_links.txt +0 -0
  144. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/entry_points.txt +0 -0
  145. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/not-zip-safe +0 -0
  146. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/requires.txt +0 -0
  147. {otoolbox-0.7.7 → otoolbox-0.7.8}/src/otoolbox.egg-info/top_level.txt +0 -0
  148. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_addons.py +0 -0
  149. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_conftest.py +0 -0
  150. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_copilot_utils.py +0 -0
  151. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_doctor_script_packaging.py +0 -0
  152. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_repositories_config.py +0 -0
  153. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_repositories_git.py +0 -0
  154. {otoolbox-0.7.7 → otoolbox-0.7.8}/tests/test_utils.py +0 -0
  155. {otoolbox-0.7.7 → otoolbox-0.7.8}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: otoolbox
3
- Version: 0.7.7
3
+ Version: 0.7.8
4
4
  Summary: Utilities for Odoo from Odoonix
5
5
  Home-page: https://odoonix.com/apps/otoolbox
6
6
  Author: Odoonix
@@ -164,9 +164,14 @@ function customer_load_working_dir() {
164
164
  exit 1
165
165
  fi
166
166
 
167
- # add save working directory to global safe.directory config to avoid git warnings and errors when running as different users
168
- git config --global --add safe.directory "$CUSTOMER_DIR"
169
- _ot_run_as_worker git config --global --add safe.directory "$CUSTOMER_DIR"
167
+ # add save working directory to global safe.directory config to avoid git warnings and errors
168
+ # when running as different users
169
+ if ! git config --global --get-all safe.directory | grep -qxF "$CUSTOMER_DIR"; then
170
+ git config --global --add safe.directory "$CUSTOMER_DIR"
171
+ fi
172
+ if ! _ot_run_as_worker git config --global --get-all safe.directory | grep -qxF "$CUSTOMER_DIR"; then
173
+ _ot_run_as_worker git config --global --add safe.directory "$CUSTOMER_DIR"
174
+ fi
170
175
 
171
176
  }
172
177
 
@@ -80,7 +80,6 @@ for dir in "$WORKSPACE_ROOT/$SHIELDED_ORGANIZATION"/*; do
80
80
  project="$(basename "$dir")"
81
81
  _ot_log_info "Pulling project: $project"
82
82
  cd "$dir"
83
- _ot_run_as_worker git config --global --add safe.directory "$dir"
84
83
  _ot_run_as_worker git pull >> "$LOG_FILE" 2>&1
85
84
  fi
86
85
  done
@@ -98,7 +97,6 @@ for dir in "$WORKSPACE_ROOT/$SHIELDED_ORGANIZATION"/*; do
98
97
  project="$(basename "$dir")"
99
98
  _ot_log_info "Pushing changes to $SHIELDED_ORGANIZATION/$project"
100
99
  cd "$dir"
101
- _ot_run_as_worker git config --global --add safe.directory "$dir"
102
100
  _ot_run_as_worker git add . >> "$LOG_FILE" 2>&1
103
101
  _ot_run_as_worker git commit -m "[SYNC] Update to the latest release on ${SYNC_DATE:-$(date +%Y-%m-%d)}" >> "$LOG_FILE" 2>&1 || true
104
102
  _ot_run_as_worker git push >> "$LOG_FILE" 2>&1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: otoolbox
3
- Version: 0.7.7
3
+ Version: 0.7.8
4
4
  Summary: Utilities for Odoo from Odoonix
5
5
  Home-page: https://odoonix.com/apps/otoolbox
6
6
  Author: Odoonix
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes