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 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) 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 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"