These are tools that have been made to help out with the testing of the SPECTRUM GUIDE!
- You will need Python 2.7
- For several of these you will need Selenium:
pip install selenium
- NOTE: You don't need to do a global install you can use a virtual environment
- NOTE: You will also need Firefox
- To Install:
- Fork this Repo.
- Navigate to your users home directory:
$ cd ~/
- Create the following directories:
$ mkdir dev
$ mkdir dev/charter
- Then navigate to the charter directory:
$ cd dev/charter
- Download from GitHub:
$ git clone YOUR_FORKED_REPO
- Add this Repo as your 'upstream':
$ git remote add upstream git@github.com:knappkeith/tools-charter.git
- For best results have your
skyuisp
directory located in~/dev/charter
.
- Most common to use.
- Will preform a line replacement in a file.
- These scripts use the My_Replacer class in the libs folder.
- To Run:
$ python REPLACE_LINE_SCRIPT.py
or$ ./REPLACE_LINE_SCRIPT.py
- If successful you will see
Replacing in {FILE_NAME}
- Most scripts can be reverted:
$ python REPLACE_LINE_SCRIPT.py --revert
or$ ./REPLACE_LINE_SCRIPT.py --revert
- More help can be found:
$ python REPLACE_LINE_SCRIPT.py --help
or$ ./REPLACE_LINE_SCRIPT.py --help
- Will Pull Open PR List from Stash
- This script does require selenium and Firefox.
- Does require some setup:
- goto tools directory,
$ cd ~/dev/charter/tools
- copy private_info_template.json,
$ cp private_info_template.json private_info.json
- open private_info.json and edit the user name and password for your Stash Account.
- save and close.
- goto tools directory,
- This script is set up as an executable so to run,
$ ./get_stash_prs.py
- Copy and Paste the output into the Google Spreadsheet
- Will Pull JIRA Ticket from the queues of the Dev Testers with a BLOCKED status.
- This script does require selenium and Firefox.
- Does require some setup:
- goto tools directory,
$ cd ~/dev/charter/tools
- copy private_info_template.json,
$ cp private_info_template.json private_info.json
- open private_info.json and edit/add the user name and password for your JIRA Account.
- save and close.
- goto tools directory,
- This script is set up as an executable so to run,
$ ./blocked_jira_bugs.py
- Copy and Paste the output into the Google Spreadsheet
- Will Pull JIRA Tickets in the 'Bugs in Triage' Sprint.
- This script does require selenium and Firefox.
- Does require some setup:
- goto tools directory,
$ cd ~/dev/charter/tools
- copy private_info_template.json,
$ cp private_info_template.json private_info.json
- open private_info.json and edit/add the user name and password for your JIRA Account.
- save and close.
- goto tools directory,
- This script is set up as an executable so to run,
$ ./jira_bugs_in_triage.py
- Copy and Paste the output into the Google Spreadsheet
- Goto Cloud TV folder, `$ cd cloud_tv'
- Copy the Log from Cloud TV Player to Log.txt.
- To Run,
$ python console_parser.py
- There will be several selections available:
- (1) Display Errors only
- (2) Display Events only
- (3) Display Log only
- (4) Display Warnings only
- (5) Display All
- (6) Reload the file, This will reload the file in case it has changed
- (7) EXIT