Tim Moore avatar Tim Moore committed d9479c4

First commit with stupid shellscripts

Comments (0)

Files changed (3)

+#!/bin/bash
+
+./freezebot "${1}" 'CODE FREEZE on ondemand-fireball master'
+#!/bin/bash
+
+token_file="${1:?token_file required}" ; shift
+freeze_message="${1:?freeze_message required}"; shift
+color="${1:-purple}"
+
+curl --data-urlencode "message=@all ${freeze_message}" \
+    -d "auth_token=$(<${token_file})" \
+    -d 'room_id=OnDemand' \
+    -d 'from=FreezeBot' \
+    -d 'notify=1' \
+    -d "color=${color}" \
+    'https://api.hipchat.com/v1/rooms/message'
+
+open "mailto:ondemand-committers@atlassian.com?subject=${freeze_message} <EOM>"
+
+echo
+#!/bin/bash
+
+./freezebot "${1}" 'CODE THAW on ondemand-fireball master' green
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.