From cd5954a41b0c4de0453cc55a606f4191b2e303aa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 00:05:26 +0000 Subject: [PATCH 1/6] updated net.sourceforge.cruisecontrol.CCMenu.plist --- .../net.sourceforge.cruisecontrol.CCMenu.plist | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Library/Containers/net.sourceforge.cruisecontrol.CCMenu/Data/Library/Preferences/net.sourceforge.cruisecontrol.CCMenu.plist b/Library/Containers/net.sourceforge.cruisecontrol.CCMenu/Data/Library/Preferences/net.sourceforge.cruisecontrol.CCMenu.plist index 4a5b4b1c..2016e4d7 100644 --- a/Library/Containers/net.sourceforge.cruisecontrol.CCMenu/Data/Library/Preferences/net.sourceforge.cruisecontrol.CCMenu.plist +++ b/Library/Containers/net.sourceforge.cruisecontrol.CCMenu/Data/Library/Preferences/net.sourceforge.cruisecontrol.CCMenu.plist @@ -98,15 +98,15 @@ projectName - HariSekhon/DevOps-Perl-tools + HariSekhon/DevOps-Bash-tools serverUrl - https://api.travis-ci.org/repos/HariSekhon/DevOps-Perl-tools/cc.xml?branch=master + https://api.travis-ci.org/repositories/HariSekhon/DevOps-Bash-tools/cc.xml?branch=master projectName - HariSekhon/DevOps-Bash-tools + HariSekhon/DevOps-Perl-tools serverUrl - https://api.travis-ci.org/repositories/HariSekhon/DevOps-Bash-tools/cc.xml?branch=master + https://api.travis-ci.org/repos/HariSekhon/DevOps-Perl-tools/cc.xml?branch=master projectName @@ -114,6 +114,12 @@ serverUrl https://api.travis-ci.org/repos/HariSekhon/DevOps-Python-tools/cc.xml?branch=master + + projectName + HariSekhon/DevOps-Golang-tools + serverUrl + https://api.travis-ci.org/repos/HariSekhon/DevOps-Golang-tools/cc.xml?branch=master + SendNotification Broken From f4980a92d7e3d1125c9e37eca33614625f87cae8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 00:05:39 +0000 Subject: [PATCH 2/6] updated ccmenu_cp_plist.sh --- setup/ccmenu_cp_plist.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/ccmenu_cp_plist.sh b/setup/ccmenu_cp_plist.sh index fd156a64..dc5c1ece 100755 --- a/setup/ccmenu_cp_plist.sh +++ b/setup/ccmenu_cp_plist.sh @@ -24,6 +24,7 @@ plist_file="net.sourceforge.cruisecontrol.CCMenu.plist" cd "$srcdir/.." cp -vf ~/"$plist_dir/$plist_file" "$PWD/$plist_dir/$plist_file" +plutil -convert xml1 "$PWD/$plist_dir/$plist_file" echo echo "git diff $PWD/$plist_dir/$plist_file" From 6dd953448e328f02872c6379305f1b1450e5ace5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 00:21:03 +0000 Subject: [PATCH 3/6] updated git_remotes_set_multi_origin.sh --- git_remotes_set_multi_origin.sh | 44 +++++++++++++++------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/git_remotes_set_multi_origin.sh b/git_remotes_set_multi_origin.sh index b6e44145..9d49b646 100755 --- a/git_remotes_set_multi_origin.sh +++ b/git_remotes_set_multi_origin.sh @@ -52,12 +52,6 @@ no_more_opts "$@" min_args 1 "$@" -name="${1:-}" - -if [ -z "$name" ]; then - usage -fi - add_origin_url(){ local name="$1" local domain="unconfigured" @@ -91,22 +85,24 @@ add_origin_url(){ git remote set-url --add origin "$url" } -if [ "$name" = "github" ] || - [ "$name" = "gitlab" ] || - [ "$name" = "bitbucket" ] || - [ "$name" = "azure" ]; then - add_origin_url "$name" - echo >&2 - # TMI - #git remote show origin - git remote -v | grep '^origin' | sed 's|://.*@|://|' -elif [ "$name" = "all" ]; then - for name in github gitlab bitbucket azure; do +for name in "$@"; do + if [ "$name" = "github" ] || + [ "$name" = "gitlab" ] || + [ "$name" = "bitbucket" ] || + [ "$name" = "azure" ]; then add_origin_url "$name" - done - echo >&2 - #git remote show origin - git remote -v | grep '^origin' | sed 's|://.*@|://|' -else - usage -fi + echo >&2 + # TMI + #git remote show origin + git remote -v | grep '^origin' | sed 's|://.*@|://|' + elif [ "$name" = "all" ]; then + for name in github gitlab bitbucket azure; do + add_origin_url "$name" + done + echo >&2 + #git remote show origin + git remote -v | grep '^origin' | sed 's|://.*@|://|' + else + usage + fi +done From 07f47693a9ad6af1ece064050cfdb4a3a5243839 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 00:42:11 +0000 Subject: [PATCH 4/6] updated Makefile.in --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 1e43949b..5e441d09 100755 --- a/Makefile.in +++ b/Makefile.in @@ -523,7 +523,7 @@ python-version: golang-version: @echo && \ which go && \ - ls -l `which go` && \ + ls -l $$(readlink `which go`) && \ echo && \ go version || : ; \ echo From 05ed0db0efd7e57e31d0e308231c09cc4cdcaaf5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 01:05:48 +0000 Subject: [PATCH 5/6] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 989ce0ed..c1fe7946 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,8 @@ awkward URLs more nicely replaced with shields.io [![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Bash-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Bash-tools) [![Codeship Status for HariSekhon/DevOps-Bash-tools](https://app.codeship.com/projects/1b13b490-38c2-0138-ed09-4a04e28a9ab8/status?branch=master)](https://app.codeship.com/projects/386508) [![Shippable](https://img.shields.io/shippable/5e52c634d79b7d00077bf5ed/master?label=Shippable&logo=jfrog)](https://app.shippable.com/github/HariSekhon/DevOps-Bash-tools/dashboard/jobs) -[![Codefresh](https://g.codefresh.io/api/badges/pipeline/harisekhon/GitHub%2FDevOps-Bash-tools?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWU1MmM5OGNiM2FiOWUzM2Y3ZDZmYjM3.O69674cW7vYom3v5JOGKXDbYgCVIJU9EWhXUMHl3zwA&type=cf-1)](https://g.codefresh.io/pipelines/edit/new/builds?id=5e53eaeea284e010982eaa6e&pipeline=DevOps-Bash-tools&projects=GitHub&projectId=5e52ca8ea284e00f882ea992&context=github&filter=page:1;pageSize:10;timeFrameStart:week) [![BuildKite](https://img.shields.io/buildkite/f11bdd9690a9bac9a8edc6094dc2f2b9af3218a7a15d4ec17d/master?label=BuildKite&logo=buildkite)](https://buildkite.com/hari-sekhon/devops-bash-tools) +[![Codefresh](https://g.codefresh.io/api/badges/pipeline/harisekhon/GitHub%2FDevOps-Bash-tools?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWU1MmM5OGNiM2FiOWUzM2Y3ZDZmYjM3.O69674cW7vYom3v5JOGKXDbYgCVIJU9EWhXUMHl3zwA&type=cf-1)](https://g.codefresh.io/pipelines/edit/new/builds?id=5e53eaeea284e010982eaa6e&pipeline=DevOps-Bash-tools&projects=GitHub&projectId=5e52ca8ea284e00f882ea992&context=github&filter=page:1;pageSize:10;timeFrameStart:week) [![Buddy](https://app.buddy.works/harisekhon/devops-bash-tools/pipelines/pipeline/248539/badge.svg?token=7f63afa3c423a65e6e39a79be0386959e98c4105ea1e20f7f8b05d6d6b587038 "buddy pipeline")](https://app.buddy.works/harisekhon/devops-bash-tools/pipelines/pipeline/248539) [![Cirrus CI](https://img.shields.io/cirrus/github/HariSekhon/DevOps-Bash-tools/master?logo=Cirrus%20CI&label=Cirrus%20CI)](https://cirrus-ci.com/github/HariSekhon/DevOps-Bash-tools) [![Semaphore](https://harisekhon.semaphoreci.com/badges/DevOps-Bash-tools.svg)](https://harisekhon.semaphoreci.com/projects/DevOps-Bash-tools) From a11e114c782846b8542386dd7b66d782a088896a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 2 Jan 2021 01:14:36 +0000 Subject: [PATCH 6/6] updated Makefile.in --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 5e441d09..1e43949b 100755 --- a/Makefile.in +++ b/Makefile.in @@ -523,7 +523,7 @@ python-version: golang-version: @echo && \ which go && \ - ls -l $$(readlink `which go`) && \ + ls -l `which go` && \ echo && \ go version || : ; \ echo