tabcmd 2.0.18__tar.gz → 2.0.21__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.
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/check-coverage.yml +6 -4
- tabcmd-2.0.21/.github/workflows/check-strings.yml +28 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/codeql-analysis.yml +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/generate-metadata.yml +5 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/package.yml +14 -6
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/publish-pypi.yml +9 -8
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/python-app.yml +2 -2
- tabcmd-2.0.21/.github/workflows/release-on-merge.yml +60 -0
- tabcmd-2.0.21/.github/workflows/run-e2-tests.yml +110 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/workflows/run-tests.yml +6 -5
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.gitignore +4 -0
- tabcmd-2.0.21/CODEOWNERS +1 -0
- tabcmd-2.0.21/PKG-INFO +53 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/README.md +1 -1
- tabcmd-2.0.21/WorldIndicators.tdsx +0 -0
- tabcmd-2.0.21/bin/i18n/README.md +21 -0
- tabcmd-2.0.21/bin/i18n/__init__.py +25 -0
- tabcmd-2.0.21/bin/i18n/check_strings.py +378 -0
- tabcmd-2.0.21/bin/license-checker.py +75 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/contributing.md +34 -20
- {tabcmd-2.0.18 → tabcmd-2.0.21}/dodo.py +182 -90
- {tabcmd-2.0.18 → tabcmd-2.0.21}/pyproject.toml +23 -18
- tabcmd-2.0.21/tabcmd/_version.py +24 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/auth/login_command.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/auth/logout_command.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/auth/session.py +49 -33
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/datasources_and_workbooks_command.py +16 -5
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/datasources_workbooks_views_url_parser.py +23 -17
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/delete_command.py +9 -8
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/export_command.py +10 -7
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/get_url_command.py +4 -4
- tabcmd-2.0.21/tabcmd/commands/datasources_and_workbooks/publish_command.py +199 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/runschedule_command.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/create_extracts_command.py +8 -7
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/decrypt_extracts_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/delete_extracts_command.py +7 -6
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/encrypt_extracts_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/extracts.py +3 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/reencrypt_extracts_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/refresh_extracts_command.py +8 -7
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/group/create_group_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/group/delete_group_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/project/create_project_command.py +6 -5
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/project/delete_project_command.py +5 -5
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/project/publish_samples_command.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/server.py +26 -5
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/site/create_site_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/site/delete_site_command.py +7 -16
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/site/edit_site_command.py +4 -4
- tabcmd-2.0.21/tabcmd/commands/site/list_command.py +113 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/site/list_sites_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/add_users_command.py +11 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/create_site_users.py +5 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/create_users_command.py +4 -4
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/delete_site_users_command.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/remove_users_command.py +3 -3
- tabcmd-2.0.21/tabcmd/execution/global_options.py +364 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/localize.py +1 -7
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/logger_config.py +21 -8
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/parent_parser.py +25 -48
- tabcmd-2.0.21/tabcmd/locales/de/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/en/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/en/shared_wg_en.properties +95 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/en/tabcmd_messages_en.properties +81 -126
- tabcmd-2.0.21/tabcmd/locales/es/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/fr/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/ga/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/it/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/ja/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/ko/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/pt/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/sv/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.21/tabcmd/locales/zh/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/tabcmd.py +4 -1
- tabcmd-2.0.21/tabcmd/version.py +12 -0
- tabcmd-2.0.21/tabcmd.egg-info/PKG-INFO +53 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.egg-info/SOURCES.txt +17 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.egg-info/requires.txt +13 -11
- tabcmd-2.0.21/tabcmd.egg-info/scm_file_list.json +221 -0
- tabcmd-2.0.21/tabcmd.egg-info/scm_version.json +8 -0
- tabcmd-2.0.21/tests/assets/live_mysql.tds +878 -0
- tabcmd-2.0.21/tests/assets/mock_data.py +123 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_datasources_and_workbooks_command.py +41 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_geturl_utils.py +47 -1
- tabcmd-2.0.21/tests/commands/test_listing_commands.py +239 -0
- tabcmd-2.0.21/tests/commands/test_logger_config.py +43 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_projects_utils.py +0 -1
- tabcmd-2.0.21/tests/commands/test_publish_command.py +127 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_run_commands.py +36 -5
- tabcmd-2.0.21/tests/commands/test_server_item_selection.py +96 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_session.py +137 -23
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_user_utils.py +5 -3
- tabcmd-2.0.21/tests/commands/test_version.py +33 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/language_tests.py +6 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/online_tests.py +223 -155
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/setup_e2e.py +21 -10
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/tests_integration.py +1 -1
- tabcmd-2.0.21/tests/parsers/common_setup.py +43 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_login_parser.py +2 -2
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_logout_parser.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_add_user.py +3 -3
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_group.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_project.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_site.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_site_users.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_create_user.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_decrypt_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_group.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_project.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_site.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_site_user.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_edit_site.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_encrypt_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_export.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_get_url.py +2 -2
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_list_sites.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_publish.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_publish_samples.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_reencrypt_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_refresh_extracts.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_remove_user.py +1 -1
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_runschedule.py +1 -1
- tabcmd-2.0.18/.github/workflows/run-e2-tests.yml +0 -46
- tabcmd-2.0.18/PKG-INFO +0 -74
- tabcmd-2.0.18/bin/license-checker.py +0 -54
- tabcmd-2.0.18/tabcmd/commands/datasources_and_workbooks/publish_command.py +0 -137
- tabcmd-2.0.18/tabcmd/commands/site/list_command.py +0 -66
- tabcmd-2.0.18/tabcmd/execution/global_options.py +0 -484
- tabcmd-2.0.18/tabcmd/locales/de/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/en/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/en/shared_wg_en.properties +0 -537
- tabcmd-2.0.18/tabcmd/locales/es/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/fr/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/ga/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/it/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/ja/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/ko/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/pt/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/sv/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/locales/zh/LC_MESSAGES/tabcmd.mo +0 -0
- tabcmd-2.0.18/tabcmd/version.py +0 -9
- tabcmd-2.0.18/tabcmd.egg-info/PKG-INFO +0 -74
- tabcmd-2.0.18/tests/assets/simple-data.twbx +0 -0
- tabcmd-2.0.18/tests/commands/test_listing_commands.py +0 -58
- tabcmd-2.0.18/tests/commands/test_publish_command.py +0 -97
- tabcmd-2.0.18/tests/parsers/common_setup.py +0 -33
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.coverage +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.coveragerc +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/.github/dependabot.yml +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/LICENSE +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/SECURITY.md +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/coverage.sh +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/i18n/makelocalealias.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/i18n/msgfmt.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/i18n/prop2po.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/i18n/pygettext.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/bin/pyinstaller.sh +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/res/README.md +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/res/metadata.yml +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/res/tabcmd.icns +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/res/tabcmd.ico +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/res/tabcmd.png +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/setup.cfg +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/setup.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/__main__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/auth/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/commands.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/constants.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/extracts/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/group/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/project/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/site/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/commands/user/user_data.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/_version.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/map_of_commands.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/execution/tabcmd_controller.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/de/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/de/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/de/shared_wg_de.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/de/tabcmd_messages_de.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/en/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/es/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/es/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/es/shared_wg_es.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/es/tabcmd_messages_es.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/fr/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/fr/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/fr/shared_wg_fr.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/fr/tabcmd_messages_fr.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ga/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ga/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ga/shared_wg_ga.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ga/tabcmd_messages_ga.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/it/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/it/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/it/shared_wg_it.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/it/tabcmd_messages_it.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ja/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ja/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ja/shared_wg_ja.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ja/tabcmd_messages_ja.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ko/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ko/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ko/shared_wg_ko.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/ko/tabcmd_messages_ko.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/pt/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/pt/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/pt/shared_wg_pt.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/pt/tabcmd_messages_pt.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/sv/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/sv/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/sv/shared_wg_sv.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/sv/tabcmd_messages_sv.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/zh/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/zh/extra.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/zh/shared_wg_zh.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd/locales/zh/tabcmd_messages_zh.properties +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd-linux.spec +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd-mac.spec +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd-windows.spec +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.egg-info/dependency_links.txt +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.egg-info/entry_points.txt +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.egg-info/top_level.txt +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tabcmd.spec +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/EmbeddedCredentials.twb +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/SampleDS.tds +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/WorkbookWithExtract.twbx +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/WorkbookWithoutExtract.twbx +0 -0
- /tabcmd-2.0.18/tests/assets/World Indicators.tds → /tabcmd-2.0.21/tests/assets/WorldIndicators.tds +0 -0
- /tabcmd-2.0.18/tests/assets/World Indicators.tdsx → /tabcmd-2.0.21/tests/assets/WorldIndicators.tdsx +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/detailed_users.csv +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/assets/usernames.csv +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_credential_file.txt +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_execution.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_localize.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_server.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/commands/test_server_handler.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/e2e/tests.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/__init__.py +0 -0
- {tabcmd-2.0.18 → tabcmd-2.0.21}/tests/parsers/test_parser_login.py +0 -0
|
@@ -18,10 +18,10 @@ jobs:
|
|
|
18
18
|
runs-on: ${{ matrix.os }}
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
21
|
+
- uses: actions/checkout@v7
|
|
22
22
|
|
|
23
23
|
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
24
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v6
|
|
25
25
|
with:
|
|
26
26
|
python-version: ${{ matrix.python-version }}
|
|
27
27
|
|
|
@@ -30,10 +30,11 @@ jobs:
|
|
|
30
30
|
python --version
|
|
31
31
|
python -m pip install --upgrade pip
|
|
32
32
|
python -m pip install --upgrade build
|
|
33
|
-
pip install .
|
|
34
|
-
pip install .[test]
|
|
33
|
+
pip install .[versioning]
|
|
35
34
|
doit version
|
|
35
|
+
pip install .
|
|
36
36
|
python -m build
|
|
37
|
+
pip install .[test]
|
|
37
38
|
|
|
38
39
|
# https://github.com/marketplace/actions/pytest-coverage-comment
|
|
39
40
|
- name: Generate coverage report
|
|
@@ -45,6 +46,7 @@ jobs:
|
|
|
45
46
|
|
|
46
47
|
- name: Comment on pull request with coverage
|
|
47
48
|
uses: MishaKav/pytest-coverage-comment@main
|
|
49
|
+
continue-on-error: true
|
|
48
50
|
with:
|
|
49
51
|
pytest-coverage-path: ./pytest-coverage.txt
|
|
50
52
|
# TODO: check if this has been fixed
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Check i18n strings
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
pull_request:
|
|
6
|
+
branches:
|
|
7
|
+
- development
|
|
8
|
+
- main
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
check-strings:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
|
+
|
|
20
|
+
- name: Set up Python
|
|
21
|
+
uses: actions/setup-python@v6
|
|
22
|
+
with:
|
|
23
|
+
python-version: '3.12'
|
|
24
|
+
|
|
25
|
+
# Note: check_strings.py uses regex matching and will not catch dynamic keys
|
|
26
|
+
# (f-strings, variables, concatenation). This is a best-effort check.
|
|
27
|
+
- name: Check for missing i18n string keys
|
|
28
|
+
run: python bin/i18n/check_strings.py
|
|
@@ -38,11 +38,11 @@ jobs:
|
|
|
38
38
|
|
|
39
39
|
steps:
|
|
40
40
|
- name: Checkout repository
|
|
41
|
-
uses: actions/checkout@
|
|
41
|
+
uses: actions/checkout@v7
|
|
42
42
|
|
|
43
43
|
# Initializes the CodeQL tools for scanning.
|
|
44
44
|
- name: Initialize CodeQL
|
|
45
|
-
uses: github/codeql-action/init@
|
|
45
|
+
uses: github/codeql-action/init@v4
|
|
46
46
|
with:
|
|
47
47
|
languages: ${{ matrix.language }}
|
|
48
48
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
@@ -53,6 +53,6 @@ jobs:
|
|
|
53
53
|
# queries: security-extended,security-and-quality
|
|
54
54
|
|
|
55
55
|
- name: Perform CodeQL Analysis
|
|
56
|
-
uses: github/codeql-action/analyze@
|
|
56
|
+
uses: github/codeql-action/analyze@v4
|
|
57
57
|
with:
|
|
58
58
|
category: "/language:${{matrix.language}}"
|
|
@@ -11,10 +11,10 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v7
|
|
15
15
|
|
|
16
16
|
- name: Set up Python
|
|
17
|
-
uses: actions/setup-python@
|
|
17
|
+
uses: actions/setup-python@v6
|
|
18
18
|
with:
|
|
19
19
|
python-version: '3.12'
|
|
20
20
|
|
|
@@ -23,10 +23,11 @@ jobs:
|
|
|
23
23
|
python --version
|
|
24
24
|
python -m pip install --upgrade pip
|
|
25
25
|
python -m pip install --upgrade build
|
|
26
|
-
pip install .
|
|
27
|
-
pip install .[test]
|
|
26
|
+
pip install .[versioning]
|
|
28
27
|
doit version
|
|
28
|
+
pip install .
|
|
29
29
|
python -m build
|
|
30
|
+
pip install .[test]
|
|
30
31
|
|
|
31
32
|
- name: Run license check
|
|
32
33
|
run: python bin/license-checker.py
|
|
@@ -30,7 +30,8 @@ jobs:
|
|
|
30
30
|
UPLOAD_FILE_NAME: tabcmd.exe
|
|
31
31
|
OUT_FILE_NAME: tabcmd.exe
|
|
32
32
|
ASSET_MIME: application/vnd.microsoft.portable-executable
|
|
33
|
-
- os: macos-
|
|
33
|
+
- os: macos-14-large
|
|
34
|
+
# This builds for x86
|
|
34
35
|
TARGET: macos
|
|
35
36
|
CMD_BUILD: >
|
|
36
37
|
pyinstaller tabcmd-mac.spec --clean --noconfirm --distpath ./dist/macos/
|
|
@@ -60,9 +61,9 @@ jobs:
|
|
|
60
61
|
UPLOAD_FILE_NAME: tabcmd
|
|
61
62
|
|
|
62
63
|
steps:
|
|
63
|
-
- uses: actions/checkout@
|
|
64
|
+
- uses: actions/checkout@v7
|
|
64
65
|
|
|
65
|
-
- uses: actions/setup-python@
|
|
66
|
+
- uses: actions/setup-python@v6
|
|
66
67
|
with:
|
|
67
68
|
python-version: 3.12
|
|
68
69
|
|
|
@@ -71,10 +72,11 @@ jobs:
|
|
|
71
72
|
python --version
|
|
72
73
|
python -m pip install --upgrade pip
|
|
73
74
|
python -m pip install --upgrade build
|
|
74
|
-
pip install .
|
|
75
|
-
pip install .[package]
|
|
75
|
+
pip install .[versioning]
|
|
76
76
|
doit version
|
|
77
|
+
pip install .
|
|
77
78
|
python -m build
|
|
79
|
+
pip install .[package]
|
|
78
80
|
|
|
79
81
|
- name: Package with pyinstaller for ${{matrix.TARGET}}
|
|
80
82
|
run: ${{matrix.CMD_BUILD}}
|
|
@@ -95,7 +97,14 @@ jobs:
|
|
|
95
97
|
tar -cvf ${{ matrix.UPLOAD_FILE_NAME }} ${{ matrix.OUT_FILE_NAME }}
|
|
96
98
|
|
|
97
99
|
|
|
100
|
+
- name: Upload build artifact for ${{ matrix.TARGET }}
|
|
101
|
+
uses: actions/upload-artifact@v7
|
|
102
|
+
with:
|
|
103
|
+
name: tabcmd-${{ matrix.TARGET }}
|
|
104
|
+
path: ./dist/${{ matrix.TARGET }}/${{ matrix.UPLOAD_FILE_NAME }}
|
|
105
|
+
|
|
98
106
|
- name: Upload binaries to release for ${{ matrix.TARGET }}
|
|
107
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
99
108
|
uses: svenstaro/upload-release-action@v2
|
|
100
109
|
with:
|
|
101
110
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -103,4 +112,3 @@ jobs:
|
|
|
103
112
|
file: ./dist/${{ matrix.TARGET }}/${{ matrix.UPLOAD_FILE_NAME }}
|
|
104
113
|
tag: ${{ github.ref_name }}
|
|
105
114
|
overwrite: true
|
|
106
|
-
promote: true
|
|
@@ -7,18 +7,18 @@ on:
|
|
|
7
7
|
description: 'Test PyPi'
|
|
8
8
|
required: true
|
|
9
9
|
type: boolean
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
release:
|
|
11
|
+
types: [published]
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
14
|
build-n-publish:
|
|
15
15
|
name: Build dist files for PyPi
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v7
|
|
19
19
|
with:
|
|
20
20
|
fetch-depth: 0
|
|
21
|
-
- uses: actions/setup-python@
|
|
21
|
+
- uses: actions/setup-python@v6
|
|
22
22
|
with:
|
|
23
23
|
python-version: 3.12
|
|
24
24
|
- name: Build dist files
|
|
@@ -26,18 +26,19 @@ jobs:
|
|
|
26
26
|
python --version
|
|
27
27
|
python -m pip install --upgrade pip
|
|
28
28
|
python -m pip install --upgrade build
|
|
29
|
-
pip install .
|
|
30
|
-
pip install .[package]
|
|
29
|
+
pip install .[versioning]
|
|
31
30
|
doit version
|
|
31
|
+
pip install .
|
|
32
32
|
python -m build
|
|
33
|
+
|
|
33
34
|
- name: Publish distribution 📦 to Test PyPI
|
|
34
|
-
if: ${{ inputs.is_draft }}
|
|
35
|
+
if: ${{ github.event_name == 'workflow_dispatch' && inputs.is_draft == true }}
|
|
35
36
|
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
|
|
36
37
|
with:
|
|
37
38
|
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
|
38
39
|
repository_url: https://test.pypi.org/legacy/
|
|
39
40
|
- name: Publish distribution 📦 to PyPI
|
|
40
|
-
if: ${{
|
|
41
|
+
if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.is_draft != true) }}
|
|
41
42
|
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
|
|
42
43
|
with:
|
|
43
44
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -18,13 +18,13 @@ jobs:
|
|
|
18
18
|
fail-fast: false
|
|
19
19
|
matrix:
|
|
20
20
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
21
|
-
python-version: ['3.
|
|
21
|
+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
|
22
22
|
|
|
23
23
|
runs-on: ${{ matrix.os }}
|
|
24
24
|
|
|
25
25
|
steps:
|
|
26
26
|
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
27
|
-
uses: actions/setup-python@
|
|
27
|
+
uses: actions/setup-python@v6
|
|
28
28
|
with:
|
|
29
29
|
python-version: ${{ matrix.python-version }}
|
|
30
30
|
- name: pip install Tabcmd
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: Draft release on merge to main
|
|
2
|
+
|
|
3
|
+
# Triggers when a PR is merged into main (push to main covers all merge strategies).
|
|
4
|
+
# Creates a draft GitHub release with auto-generated notes and pushes the version tag.
|
|
5
|
+
# The tag push triggers package.yml to build and attach binaries.
|
|
6
|
+
# When you publish the draft release, publish-pypi.yml uploads to PyPI automatically.
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
draft-release:
|
|
18
|
+
name: Create draft release
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v7
|
|
22
|
+
with:
|
|
23
|
+
fetch-depth: 0
|
|
24
|
+
|
|
25
|
+
- name: Compute next patch version
|
|
26
|
+
id: version
|
|
27
|
+
run: |
|
|
28
|
+
LAST_TAG=$(git tag --list | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1)
|
|
29
|
+
if [ -z "$LAST_TAG" ]; then
|
|
30
|
+
echo "No prior semver tag found; cannot auto-increment version." >&2
|
|
31
|
+
exit 1
|
|
32
|
+
fi
|
|
33
|
+
BASE="${LAST_TAG#v}"
|
|
34
|
+
MAJOR=$(echo "$BASE" | cut -d. -f1)
|
|
35
|
+
MINOR=$(echo "$BASE" | cut -d. -f2)
|
|
36
|
+
PATCH=$(echo "$BASE" | cut -d. -f3)
|
|
37
|
+
NEXT="v${MAJOR}.${MINOR}.$((PATCH + 1))"
|
|
38
|
+
echo "tag=$NEXT" >> "$GITHUB_OUTPUT"
|
|
39
|
+
echo "last_tag=$LAST_TAG" >> "$GITHUB_OUTPUT"
|
|
40
|
+
|
|
41
|
+
- name: Push version tag
|
|
42
|
+
env:
|
|
43
|
+
TAG: ${{ steps.version.outputs.tag }}
|
|
44
|
+
run: |
|
|
45
|
+
git config user.name "github-actions[bot]"
|
|
46
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
47
|
+
git tag "$TAG"
|
|
48
|
+
git push origin "$TAG"
|
|
49
|
+
|
|
50
|
+
- name: Create draft release with auto-generated notes
|
|
51
|
+
env:
|
|
52
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
53
|
+
TAG: ${{ steps.version.outputs.tag }}
|
|
54
|
+
LAST_TAG: ${{ steps.version.outputs.last_tag }}
|
|
55
|
+
run: |
|
|
56
|
+
gh release create "$TAG" \
|
|
57
|
+
--draft \
|
|
58
|
+
--title "$TAG" \
|
|
59
|
+
--generate-notes \
|
|
60
|
+
--notes-start-tag "$LAST_TAG"
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
name: e2e tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
server:
|
|
7
|
+
required: true
|
|
8
|
+
site:
|
|
9
|
+
required: true
|
|
10
|
+
patname:
|
|
11
|
+
required: true
|
|
12
|
+
pat:
|
|
13
|
+
required: true
|
|
14
|
+
server_admin:
|
|
15
|
+
description: 'Account has server admin role'
|
|
16
|
+
required: false
|
|
17
|
+
default: 'false'
|
|
18
|
+
type: choice
|
|
19
|
+
options: ['false', 'true']
|
|
20
|
+
site_admin:
|
|
21
|
+
description: 'Account has site admin role'
|
|
22
|
+
required: false
|
|
23
|
+
default: 'false'
|
|
24
|
+
type: choice
|
|
25
|
+
options: ['false', 'true']
|
|
26
|
+
project_admin:
|
|
27
|
+
description: 'Account has project admin role'
|
|
28
|
+
required: false
|
|
29
|
+
default: 'false'
|
|
30
|
+
type: choice
|
|
31
|
+
options: ['false', 'true']
|
|
32
|
+
extract_encryption_enabled:
|
|
33
|
+
description: 'Site has extract encryption enabled'
|
|
34
|
+
required: false
|
|
35
|
+
default: 'false'
|
|
36
|
+
type: choice
|
|
37
|
+
options: ['false', 'true']
|
|
38
|
+
workflow_call:
|
|
39
|
+
inputs:
|
|
40
|
+
server:
|
|
41
|
+
required: true
|
|
42
|
+
type: string
|
|
43
|
+
site:
|
|
44
|
+
required: true
|
|
45
|
+
type: string
|
|
46
|
+
patname:
|
|
47
|
+
required: true
|
|
48
|
+
type: string
|
|
49
|
+
server_admin:
|
|
50
|
+
required: false
|
|
51
|
+
type: boolean
|
|
52
|
+
default: false
|
|
53
|
+
site_admin:
|
|
54
|
+
required: false
|
|
55
|
+
type: boolean
|
|
56
|
+
default: false
|
|
57
|
+
project_admin:
|
|
58
|
+
required: false
|
|
59
|
+
type: boolean
|
|
60
|
+
default: false
|
|
61
|
+
extract_encryption_enabled:
|
|
62
|
+
required: false
|
|
63
|
+
type: boolean
|
|
64
|
+
default: false
|
|
65
|
+
secrets:
|
|
66
|
+
pat:
|
|
67
|
+
required: true
|
|
68
|
+
|
|
69
|
+
jobs:
|
|
70
|
+
build:
|
|
71
|
+
strategy:
|
|
72
|
+
fail-fast: true
|
|
73
|
+
matrix:
|
|
74
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
75
|
+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
|
76
|
+
|
|
77
|
+
runs-on: ${{ matrix.os }}
|
|
78
|
+
|
|
79
|
+
steps:
|
|
80
|
+
- uses: actions/checkout@v7
|
|
81
|
+
|
|
82
|
+
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
83
|
+
uses: actions/setup-python@v6
|
|
84
|
+
with:
|
|
85
|
+
python-version: ${{ matrix.python-version }}
|
|
86
|
+
|
|
87
|
+
- name: Install dependencies
|
|
88
|
+
run: |
|
|
89
|
+
python --version
|
|
90
|
+
python -m pip install --upgrade pip
|
|
91
|
+
python -m pip install --upgrade build
|
|
92
|
+
pip install .[versioning]
|
|
93
|
+
doit version
|
|
94
|
+
pip install .
|
|
95
|
+
python -m build
|
|
96
|
+
pip install .[test]
|
|
97
|
+
|
|
98
|
+
- name: Run e2e tests
|
|
99
|
+
env:
|
|
100
|
+
E2E_SERVER: ${{ inputs.server }}
|
|
101
|
+
E2E_SITE: ${{ inputs.site }}
|
|
102
|
+
E2E_PATNAME: ${{ inputs.patname }}
|
|
103
|
+
E2E_PAT: ${{ secrets.pat || inputs.pat }}
|
|
104
|
+
E2E_SERVER_ADMIN: ${{ inputs.server_admin || 'false' }}
|
|
105
|
+
E2E_SITE_ADMIN: ${{ inputs.site_admin || 'false' }}
|
|
106
|
+
E2E_PROJECT_ADMIN: ${{ inputs.project_admin || 'false' }}
|
|
107
|
+
E2E_EXTRACT_ENCRYPTION: ${{ inputs.extract_encryption_enabled || 'false' }}
|
|
108
|
+
run: |
|
|
109
|
+
python -m tabcmd login --server "$E2E_SERVER" --site "$E2E_SITE" --token-name "$E2E_PATNAME" --token-value "$E2E_PAT"
|
|
110
|
+
pytest -q tests/e2e/online_tests.py -r pfE
|
|
@@ -15,15 +15,15 @@ jobs:
|
|
|
15
15
|
fail-fast: true
|
|
16
16
|
matrix:
|
|
17
17
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
18
|
-
python-version: ['3.
|
|
18
|
+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
|
19
19
|
|
|
20
20
|
runs-on: ${{ matrix.os }}
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v7
|
|
24
24
|
|
|
25
25
|
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
26
|
-
uses: actions/setup-python@
|
|
26
|
+
uses: actions/setup-python@v6
|
|
27
27
|
with:
|
|
28
28
|
python-version: ${{ matrix.python-version }}
|
|
29
29
|
|
|
@@ -32,10 +32,11 @@ jobs:
|
|
|
32
32
|
python --version
|
|
33
33
|
python -m pip install --upgrade pip
|
|
34
34
|
python -m pip install --upgrade build
|
|
35
|
-
pip install .
|
|
36
|
-
pip install .[test]
|
|
35
|
+
pip install .[versioning]
|
|
37
36
|
doit version
|
|
37
|
+
pip install .
|
|
38
38
|
python -m build
|
|
39
|
+
pip install .[test]
|
|
39
40
|
|
|
40
41
|
- name: Test with pytest
|
|
41
42
|
run: pytest
|
tabcmd-2.0.21/CODEOWNERS
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#ECCN:Open Source
|
tabcmd-2.0.21/PKG-INFO
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tabcmd
|
|
3
|
+
Version: 2.0.21
|
|
4
|
+
Summary: A command line client for working with Tableau Server.
|
|
5
|
+
Author-email: Tableau <github@tableau.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: repository, https://github.com/tableau/tabcmd
|
|
8
|
+
Classifier: Programming Language :: Python
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: appdirs
|
|
19
|
+
Requires-Dist: requests<3.0,>=2.25
|
|
20
|
+
Requires-Dist: setuptools
|
|
21
|
+
Requires-Dist: tableauserverclient==0.41
|
|
22
|
+
Requires-Dist: urllib3
|
|
23
|
+
Provides-Extra: test
|
|
24
|
+
Requires-Dist: black<23,>=22; extra == "test"
|
|
25
|
+
Requires-Dist: mock; extra == "test"
|
|
26
|
+
Requires-Dist: mypy; extra == "test"
|
|
27
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
28
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
29
|
+
Requires-Dist: pytest-order; extra == "test"
|
|
30
|
+
Requires-Dist: pytest-runner; extra == "test"
|
|
31
|
+
Requires-Dist: requests-mock<2.0,>=1.0; extra == "test"
|
|
32
|
+
Requires-Dist: types-appdirs; extra == "test"
|
|
33
|
+
Requires-Dist: types-mock; extra == "test"
|
|
34
|
+
Requires-Dist: types-requests; extra == "test"
|
|
35
|
+
Requires-Dist: types-setuptools; extra == "test"
|
|
36
|
+
Provides-Extra: localize
|
|
37
|
+
Requires-Dist: doit; extra == "localize"
|
|
38
|
+
Requires-Dist: ftfy; extra == "localize"
|
|
39
|
+
Provides-Extra: package
|
|
40
|
+
Requires-Dist: doit; extra == "package"
|
|
41
|
+
Requires-Dist: pyinstaller==5.13.1; extra == "package"
|
|
42
|
+
Requires-Dist: setuptools==81; extra == "package"
|
|
43
|
+
Provides-Extra: versioning
|
|
44
|
+
Requires-Dist: doit; extra == "versioning"
|
|
45
|
+
Requires-Dist: pyinstaller_versionfile; extra == "versioning"
|
|
46
|
+
Requires-Dist: setuptools_scm; extra == "versioning"
|
|
47
|
+
Dynamic: license-file
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
This program is an executable command-line utility which you can use to automate activity on Tableau Cloud or Tableau Server.
|
|
51
|
+
|
|
52
|
+
For instructions on how to use it, launch the app on a command line with 'tabcmd -h'.
|
|
53
|
+
For updates, bug reports and help, visit https://tableau.github.io/tabcmd/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.tableau.com/support-levels-it-and-developer-tools)
|
|
4
4
|
|
|
5
|
-
[](https://coveralls.io/github/tableau/tabcmd)
|
|
6
6
|
[](https://github.com/psf/black)
|
|
7
7
|
[](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml)
|
|
8
8
|
[](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml)
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
### Strings and localization
|
|
3
|
+
|
|
4
|
+
New text should not be hardcoded into the python, but added to tabcmd/locales/en/extra.properties. This file can be given to the translation team and they will return a copy for each other language. Until then, the english string will be used as a fallback.
|
|
5
|
+
|
|
6
|
+
To handle localizing text we used the python standard library tool [gettext](https://docs.python.org/3/library/gettext.html). This expects .mo files. I couldn't find a tool that transformed .properties -> .mo directly so we go through .po format.
|
|
7
|
+
(FYI: to read mo files for debugging use https://poedit.net/download)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
These steps are separated for easier troubleshooting: each step is idempotent and will overwrite the existing output. More details about implementation are in the script code at dodo.py
|
|
11
|
+
|
|
12
|
+
1. convert strings from .properties files to .mo for bundling
|
|
13
|
+
This step combines the .properties files into a single file, discarding any strings that are not present in code and normalizing curly quotes and unrecognized characters in the strings it keeps. (These files are separate because they are pulled from separate translation sources internally.)
|
|
14
|
+
> python -m doit properties
|
|
15
|
+
|
|
16
|
+
2. Convert the combined .properties file into a .po file (these are human readable)
|
|
17
|
+
> python -m doit po
|
|
18
|
+
|
|
19
|
+
3. Convert the .po files into .mo files (these are not human readable)
|
|
20
|
+
This also checks the .mo files for validity by loading them with gettext
|
|
21
|
+
> python -m doit mo
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""
|
|
2
|
+
i18n utilities for tabcmd localization.
|
|
3
|
+
|
|
4
|
+
This package contains tools for checking and processing localization strings.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .check_strings import (
|
|
8
|
+
find_python_files,
|
|
9
|
+
extract_string_keys_from_file,
|
|
10
|
+
load_properties_files,
|
|
11
|
+
load_properties_file,
|
|
12
|
+
find_missing_strings,
|
|
13
|
+
check_build_mode,
|
|
14
|
+
check_dev_mode
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'find_python_files',
|
|
19
|
+
'extract_string_keys_from_file',
|
|
20
|
+
'load_properties_files',
|
|
21
|
+
'load_properties_file',
|
|
22
|
+
'find_missing_strings',
|
|
23
|
+
'check_build_mode',
|
|
24
|
+
'check_dev_mode'
|
|
25
|
+
]
|