From f266d2afcf92adbc1cba79f9f32d84bcd2f3ae60 Mon Sep 17 00:00:00 2001 From: Harry Wixley Date: Sun, 16 Jul 2023 18:25:51 +0100 Subject: [PATCH 1/2] added support for more quick-access git URLs GPT-commit: Modified logger.cpython-38.pyc: Fixed indentation issue and added new logging functionality --- .github/README.md | 12 +++++++----- wix-cli.sh | 27 +++++++++++++++++++++------ 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/.github/README.md b/.github/README.md index e98423e..4b63c4a 100644 --- a/.github/README.md +++ b/.github/README.md @@ -24,9 +24,8 @@ Optimize your development productivity in the terminal - [Extra Feature Setup](#extra-feature-setup) - [Factory-reset Installation](#factory-reset-installation) - [List of Commands](#list-of-commands) - - [Defaults](#defaults) + - [Defaults](#defaults) - [Navigation](#navigation) - - [Pseudo-random String Generation](#pseudo-random-string-generation) - [Code Editing](#code-editing) - [Custom Script/Environment Execution](#custom-scriptenvironment-execution) - [Git Automation](#git-automation) @@ -172,9 +171,12 @@ Please note any command with an argument in angle brackets below (ie. `` 1. `repo`: go to the respective GitHub repository url on the default branch from your current directory 2. `branch`: go to the respective GitHub repository url on the current branch from your current directory -3. `profile`: go to your GitHub profile -4. `org `: go to the specified url of the GitHub organization -5. `help`: go to the wix-cli GitHub Pages url for documentation +3. `prs`: go to the Pull Requests page for the respective GitHub repository url from your current directory +3. `actions`: go to the Action Workflows page for the respective GitHub repository url from your current directory +4. `issues`: go to the Issues page for the respective GitHub repository url from your current directory +5. `profile`: go to your GitHub profile +6. `org `: go to the specified url of the GitHub organization +7. `help`: go to the wix-cli GitHub Pages url for documentation ### Data for Custom Scripting Logic diff --git a/wix-cli.sh b/wix-cli.sh index 8212584..07fd170 100755 --- a/wix-cli.sh +++ b/wix-cli.sh @@ -429,11 +429,14 @@ if [ $num_args -eq 0 ]; then echo "- setup smart_commit ${ORANGE}: setup smart commit${RESET}" echo "" h1_text "URLS:" - echo "- repo ${ORANGE}: go to git repo url${RESET}" - echo "- branch ${ORANGE}: go to git branch url${RESET}" - echo "- profile ${ORANGE}: go to git profile url${RESET}" - echo "- org ${ORANGE}: go to git org url${RESET}" - echo "- help ${ORANGE}: go to wix-cli GitHub Pages url${RESET}" + echo "- repo ${ORANGE}: go to git repo URL${RESET}" + echo "- branch ${ORANGE}: go to git branch URL${RESET}" + echo "- prs ${ORANGE}: go to git repo Pull Requests URL${RESET}" + echo "- actions ${ORANGE}: go to git repo Actions URL${RESET}" + echo "- issues ${ORANGE}: go to git repo Issues URL${RESET}" + echo "- profile ${ORANGE}: go to git profile URL${RESET}" + echo "- org ${ORANGE}: go to git org URL${RESET}" + echo "- help ${ORANGE}: go to wix-cli GitHub Pages URL${RESET}" echo "" h1_text "MY DATA:" echo "- user ${ORANGE}: view your user-specific data (ie. name, GitHub username)${RESET}" @@ -612,7 +615,19 @@ elif [ "$1" = "repo" ]; then elif [ "$1" = "branch" ]; then info_text "Redirecting to $branch on $repo_url..." giturl "https://github.com/$repo_url/tree/$branch" - + +elif [ "$1" = "actions" ]; then + info_text "Redirecting to Action Workflows on $repo_url..." + giturl "https://github.com/$repo_url/actions" + +elif [ "$1" = "issues" ]; then + info_text "Redirecting to Issues on $repo_url..." + giturl "https://github.com/$repo_url/issues" + +elif [ "$1" = "prs" ]; then + info_text "Redirecting to Pull Requests on $repo_url..." + giturl "https://github.com/$repo_url/pulls" + elif [ "$1" = "nb" ]; then if arggt "1" ; then npush "$2" From be5be973208bd2e84d16d5668cdd6c3434a2ab2c Mon Sep 17 00:00:00 2001 From: Harry Wixley Date: Sun, 16 Jul 2023 18:28:21 +0100 Subject: [PATCH 2/2] GPT-commit: Refactor logger module for better performance. GPT-commit: Refactor logger module for better performance. --- .github/README.md | 10 +++++----- .../services/__pycache__/logger.cpython-38.pyc | Bin 460 -> 460 bytes 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/README.md b/.github/README.md index 4b63c4a..6d92c11 100644 --- a/.github/README.md +++ b/.github/README.md @@ -172,11 +172,11 @@ Please note any command with an argument in angle brackets below (ie. `` 1. `repo`: go to the respective GitHub repository url on the default branch from your current directory 2. `branch`: go to the respective GitHub repository url on the current branch from your current directory 3. `prs`: go to the Pull Requests page for the respective GitHub repository url from your current directory -3. `actions`: go to the Action Workflows page for the respective GitHub repository url from your current directory -4. `issues`: go to the Issues page for the respective GitHub repository url from your current directory -5. `profile`: go to your GitHub profile -6. `org `: go to the specified url of the GitHub organization -7. `help`: go to the wix-cli GitHub Pages url for documentation +4. `actions`: go to the Action Workflows page for the respective GitHub repository url from your current directory +5. `issues`: go to the Issues page for the respective GitHub repository url from your current directory +6. `profile`: go to your GitHub profile +7. `org `: go to the specified url of the GitHub organization +8. `help`: go to the wix-cli GitHub Pages url for documentation ### Data for Custom Scripting Logic diff --git a/scripts/services/__pycache__/logger.cpython-38.pyc b/scripts/services/__pycache__/logger.cpython-38.pyc index 2e0f5a8e9a1aa4a0e5fa9a53d4ecb2a3bcf116c0..c900552fe3e5b17e3ad515af484df6638bbac75d 100644 GIT binary patch delta 20 acmX@Ze1@4jl$V!_0SHzaE#Js}kP!egzy%`! delta 20 acmX@Ze1@4jl$V!_0SKmu&e+I(kP!efGz8)R