-
Python 3.9 or above
-
python3-pip
-
Clone this repository to a local directory
[email protected]:Tim-Cao/work-with-script.git
-
Run the following command at the root directory of local repository, it will generate a
credentials-ext.properties
python3 initialization.py
-
Generate jira API Token
-
Sign in https://liferay.atlassian.net/
-
Click the cog icon > Atlassian account settings > Security > Create and manage API tokens
-
Create API Token
-
Save generated token in your local file as you will not be able to see this again.
-
-
Generate github API Token
-
Sign in https://github.com/
-
Personal Menu > Settings > Developer Settings > Personal access tokens > Tokens(classic) > Generate new token
-
Add a name > Leave expiration as default > Select the following scopes
-
Generate token
-
Save generated token in your local file as you will not be able to see this again.
-
-
Please fill out the value of properties in the
credentials-ext.properties
- For required properties of each feature, please see Features section
-
Run the following command at the root directory of local repository
python3 upgrade.py
-
Run the following command at the root directory of local repository
python3 script_app.py
-
Execute
ctrl + o
shortcuts in app-
This file will open with vscode automatically.
-
If you don't install vscode. Please open it manually.
-
- Execute
ctrl + s
shortcuts in app
-
Execute
ctrl + b
shortcuts in app- All shortcuts details will appear on a sidebar.
-
Create a pull request and forward
See pull request styles
Required properties:
GITHUB_REVIEWER_NAME
,GITHUB_USER_NAME
,GITHUB_TOKEN
,LOCAL_REPO_PATH
,TEAM_REPO_NAME
-
Forward a failure pull request to BrianChan
See pull request styles
Required properties:
GITHUB_USER_NAME
,GITHUB_TOKEN
,LOCAL_REPO_PATH
,TEAM_REPO_NAME
-
Create a test fix ticket based on a given case result
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
,TESTRAY_USER_NAME
,TESTRAY_PASSWORD
-
Write a comments template to a given jira ticket
See comments styles
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
-
Write a description template to a given jira ticket
See description styles
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
-
Trigger gauntlet test suite on ci
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
,LEGACY_REPO_PATH
,GITHUB_USER_NAME
,GITHUB_TOKEN
-
Create a Jira issue
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
-
Run RCA
Required properties:
JIRA_USER_NAME
,JIRA_TOKEN
,GITHUB_USER_NAME
,GITHUB_TOKEN