{"id":18589848,"url":"https://github.com/trianglesis/bmc_tpl_ide","last_synced_at":"2025-05-16T08:08:39.840Z","repository":{"id":185401454,"uuid":"97593955","full_name":"trianglesis/BMC_TPL_IDE","owner":"trianglesis","description":"BMC Discovery - automation tool for syntax checking, pattern upload, testing for usual pattern developer routines.","archived":false,"fork":false,"pushed_at":"2019-06-06T09:02:31.000Z","size":3766,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T19:17:42.080Z","etag":null,"topics":["addm","atom-build","bmc","bmc-discovery","bmc-tpl","bmc-tpl-ide","bmc-tplpre","build-automation","disco-mode","language","ssh","sublime-text-3","syntax","syntax-highlighting","tpl","tplpre"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trianglesis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-18T12:13:12.000Z","updated_at":"2021-11-15T11:09:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"624f0897-aa59-4c12-9368-b847cd74e04d","html_url":"https://github.com/trianglesis/BMC_TPL_IDE","commit_stats":null,"previous_names":["trianglesis/bmc_tpl_ide"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trianglesis%2FBMC_TPL_IDE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trianglesis%2FBMC_TPL_IDE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trianglesis%2FBMC_TPL_IDE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trianglesis%2FBMC_TPL_IDE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trianglesis","download_url":"https://codeload.github.com/trianglesis/BMC_TPL_IDE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493385,"owners_count":22080127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addm","atom-build","bmc","bmc-discovery","bmc-tpl","bmc-tpl-ide","bmc-tplpre","build-automation","disco-mode","language","ssh","sublime-text-3","syntax","syntax-highlighting","tpl","tplpre"],"created_at":"2024-11-07T00:53:25.416Z","updated_at":"2025-05-16T08:08:39.822Z","avatar_url":"https://github.com/trianglesis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMC_TPL_IDE #\n\nThis is IDE and automation program for [BMC Discovery (ADDM)](https://discovery.bmc.com/) language - TPL [tideway pattern language](http://www.bmc.com/it-solutions/discovery-dependency-mapping.html)\n\n##### For tpl syntax highlighting follow: #####\n\n- Syntax for [Sublime text](https://github.com/trianglesis/bmc_tpl)\n- Syntax for [Atom](https://github.com/trianglesis/language-tplpre)\n\n\n### Designed for Python 3 ###\n\n##### Can run in usual shell or like 'build system'\n\n#### Syntax check ####\n\n#### NOTE: ####\nSyntax check work only for versions: 11.0, 10.2, 10.1, 10.0\n\nNOTE: syntax tests (require 3rd party [module tplint](https://communities.bmc.com/docs/DOC-42313) by Ladkau, Matthias)\n\nTo use syntax check functions:\n\n- Download [module tplint](https://communities.bmc.com/docs/DOC-42313)\n- Unzip\n- Copy folders (from 'tpledit_v0.4\\tpledit' ): **taxonomy** and **tplint** in 'bmc_tplpre' (where check.py lies)\n\n\n### Install: ###\n\n- download ZIP;\n- use master/bmc_tplpre;\n- copy it wherever you want;\n- point your build system to it; *see examples below*\n- pip install **paramiko**, **progressbar2**\n- use arguments;\n\n**Required**:\n- To use ADDM over SSH commands: [paramiko](https://github.com/paramiko/paramiko)\n\nOptional:\n- To print nice and fancy progress bars for long processes: [progressbar](https://github.com/WoLpH/python-progressbar)\n\n## Usage: ##\n\nDifferent run mode available:\n\nAll available modes described [here in pdf.](https://trianglesis.github.io/BMC_TPL_IDE_auto_pics/Diagrams/TPL%20IDE%20Automation.pdf)\n\n### In editor: ###\n\n- ##### Sublime: use it's build system, [example](https://github.com/trianglesis/bmc_tpl/blob/master/tplpre_various.sublime-build).\n\n![Build](https://trianglesis.github.io/BMC_TPL_IDE_auto_pics/TPL_IDE_Build_Sublime3.png)\n\nYou probably should update build file example according to recent arguments.\n\n\n- ##### Atom: install plugin 'build' and use atom-build.yml [example](https://github.com/trianglesis/language-tplpre/blob/master/.atom-build.yml-EXAMPLE).\n\n![Build](https://trianglesis.github.io/BMC_TPL_IDE_auto_pics/TPL_IDE_Build_Atom.png)\n\n\n- ### In CMD: ###\n\nCommon options:\n\n    D:\\\u003eC:\\Python34\\python.exe D:\\BMC_TPL_IDE\\bmc_tplpre\\check.py -h\n\n    usage: check.py [-h] [-usual_import] [-recursive_import] [-read_test]\n                    [-run_test] [-related_tests] [-tpl VERSION_TPL]\n                    [-full_path FULL_PATH] [-u USER] [-p PASSWORD]\n                    [-system_user SYSTEM_USER] [-system_password SYSTEM_PASSWORD]\n                    [-addm ADDM_HOST] [-host_list SCAN_HOST_LIST]\n                    [-disco_mode DISCO_MODE] [-l LOG_LVL] [--version]\n\n    optional arguments:\n      -h, --help            show this help message and exit\n\n\n- ### From windows context menu: ###\n\nRun regedit;\nAdd keys as described:\n\n    Use any usual arguments and add any needed key for all you need.\n    Just be sure -full_path '%1' - will call path to active file.\n\n- ![reg_shell](https://trianglesis.github.io/BMC_TPL_IDE_auto_pics/TPL_IDE_Run_shell.png)\n\n\n## Current features: ##\n\nSome of them is still in progress:\n\n- [X] syntax tests (require 3rd party [module tplint](https://communities.bmc.com/docs/DOC-42313) by Ladkau, Matthias)\n\n- [X] importing linked patterns (working only if dev environment found):\n    - [X] from current pattern;\n    - [X] from current pattern and each imported;\n    - [X] from current pattern and each imported and from test.py;\n\n- [X] Run TPLPreprocessor:\n    - [X] on current pattern file;\n    - [X] on imported pattern files;\n\n- [X] SSH to ADDM for options:\n    - [X] check tpl version;\n    - [X] check DEV paths;\n    - [X] pattern uploading;\n    - [X] auto scan start;\n\n- [X] Start scan;\n\n- [X] Tests\n    - [X] Run pattern test;\n    - [X] Run pattern related tests;\n\n\n##### Plan #####\n- [ ] Validate results:\n    - [ ] si query;\n    - [ ] si models;\n    - [ ] gather record data;\n    - [ ] generate DML data;\n    - [ ] generate test data;\n\n## Issues and requests:\nPlease add issues and requests here: [issues](https://github.com/trianglesis/BMC_TPL_IDE/issues)\n\n## MORE:\nSome extra docs and explanations for internal logic you can find here:\n[All docs](https://trianglesis.github.io/BMC_TPL_IDE_auto_pics/index.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrianglesis%2Fbmc_tpl_ide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrianglesis%2Fbmc_tpl_ide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrianglesis%2Fbmc_tpl_ide/lists"}