v. 3.0.0
- created, ignoring all previous incarnations of the rules, from draft of an email
v 3.0.1
- Clarifications
#!/bin/sh | |
#/ Usage: transfer-master path-to-repo( path-to-repo( path-to-repo))... | |
#/ Changes master to reference new master | |
set -e | |
# show program usage | |
if [ $# -eq 0 -o "$1" = "--help" ] | |
then | |
grep '^#/' <"$0" | | |
cut -c4- |
1. Black bear | |
- went to Newark got a passenger van | |
- reservation got lost | |
- Lee, Bryan, Josh, John (w) | |
vs. | |
- Noah, Ross, Brenn (l) | |
- came down to hold 18 | |
2. The links at Shirley | |
- Noah, Lee, John (w) |
def get_remote_repository(): | |
git_command = ["git", "config", "--get", "remote.origin.url"] | |
popen = subprocess.Popen(git_command, stdout = subprocess.PIPE) | |
return popen.communicate()[0].strip() |
--sort-files | |
--color | |
--context=1 | |
--follow | |
--group | |
--ignore-dir=log | |
--ignore-dir=tmp | |
--ignore-dir=bundler | |
--type-set | |
haml=.haml |
After do |scenario| | |
if scenario.failed? && $browser | |
file_base = "#{scenario.file_colon_line.parameterize.to_s.underscore}_#{Time.now.to_i}" | |
file_path = Rails.root.join("tmp", "build_assets", file_base) | |
puts "Writing log of failure to #{file_base}.log..." | |
`tail -n1000 #{Rails.root.join('log', 'selenium.log')} > #{file_path}.log` | |
puts "Writing screengrab of failure to #{file_base}.png..." | |
$browser.capture_screenshot("#{file_path}.png") | |
end |
#!/bin/bash | |
# usage: cloudssh | |
# ssh's into the build master | |
# usage: cloudssh {0|1|2} | |
# ssh's into one of the testjour slaves | |
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then | |
# First try to load from a user install | |
source "$HOME/.rvm/scripts/rvm" |
- do we still use this library? | |
- is it a first and/or second degree dependency? If a second degree dependency, may not need to explicitly reference it in gemfile | |
(- can it be easily replaced with another existing library (?), note it for later tasks) | |
- how is it currently stored, frozen/submoduled/which repository | |
- is forked: | |
- did weplay fork and make changes? if not, prefer canonical source (gem first, git second) for clarity, (consider deleting fork later on ... not now!) | |
- is the submodule at the HEAD of the fork? if no, reference the SHA in the gemfile. if yes, SHA not needed | |
- if frozen, are there changes from frozen version | |
- if yes, create new github repo | |
- if no, use canonical version |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'curb' | |
require 'xmlsimple' | |
# NB: currently throws errors to cron if build server is down | |
# NB: keeps track of build number on disk, so if build server is reset this script gets screwy | |
DATA_FILE = File.join(File.dirname(__FILE__), 'build_poller.data') |
(in /Users/noah/vendor/rails/actionpack) | |
/usr/local/ruby-enterprise-1.8.7-2009.10/bin/ruby -I"lib:test" "/usr/local/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/benchmark_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/cookie_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/dispatcher_test.rb" "test/controller/dom_assertions_test.rb" "test/controller/failsafe_test.rb" "test/controller/filter_params_test.rb" "test/controller/filters_test.rb" "test/controller/flash_test.rb" "test/controller/header_test.rb" "test/controller/helper_test.rb" "test/controller/html-scanner/cdata_node_test.rb" "test/controller/html-scanner/document_test.rb" "test/controller/html-scanner/ |