Skip to content

Commit

Permalink
Update Causes references to Brigade
Browse files Browse the repository at this point in the history
This repository is now maintained by Brigade, and is hosted under the
`brigade` GitHub organization.

Change-Id: I3b4fe0205ab638c4a07412da1f33816092515248
  • Loading branch information
sds committed Apr 1, 2015
1 parent 972700c commit 46b5ad5
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 27 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@
post-checkout `BundleCheck` hook
* Add support for hook plugin signature verification so that you don't
automatically execute repo-specific hooks that changed since you last
ran them. See [Security](https://github.com/causes/overcommit#security)
for more information
ran them. See [Security](README.md#security) for more information
* Automatically update `overcommit-hook` master hook and any other symlinks
before hook run. Run `overcommit --install` if you're upgrading to save
you from having to run `overcommit --install` in the future
Expand Down Expand Up @@ -372,7 +371,7 @@
## 0.2.6

* Added check for linting HAML files with
[haml-lint](https://github.com/causes/haml-lint)
[haml-lint](https://github.com/brigade/haml-lint)

## 0.2.5

Expand Down
4 changes: 2 additions & 2 deletions MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2013-2015 Causes Engineering, Aiden Scandella, Shane da Silva
https://www.causes.com/
Copyright (c) 2013-2015 Brigade Engineering, Aiden Scandella, Shane da Silva
https://www.brigade.com/

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[![Gem Version](https://badge.fury.io/rb/overcommit.svg)](https://badge.fury.io/rb/overcommit)
[![Build Status](https://travis-ci.org/causes/overcommit.svg)](https://travis-ci.org/causes/overcommit)
[![Coverage Status](https://coveralls.io/repos/causes/overcommit/badge.svg)](https://coveralls.io/r/causes/overcommit)
[![Code Climate](https://codeclimate.com/github/causes/overcommit.png)](https://codeclimate.com/github/causes/overcommit)
[![Dependency Status](https://gemnasium.com/causes/overcommit.svg)](https://gemnasium.com/causes/overcommit)
[![Inline docs](http://inch-ci.org/github/causes/overcommit.svg?branch=master)](http://inch-ci.org/github/causes/overcommit)
[![Build Status](https://travis-ci.org/brigade/overcommit.svg)](https://travis-ci.org/brigade/overcommit)
[![Coverage Status](https://coveralls.io/repos/brigade/overcommit/badge.svg)](https://coveralls.io/r/brigade/overcommit)
[![Code Climate](https://codeclimate.com/github/brigade/overcommit.png)](https://codeclimate.com/github/brigade/overcommit)
[![Dependency Status](https://gemnasium.com/brigade/overcommit.svg)](https://gemnasium.com/brigade/overcommit)
[![Inline docs](http://inch-ci.org/github/brigade/overcommit.svg?branch=master)](http://inch-ci.org/github/brigade/overcommit)

# Overcommit

Expand All @@ -12,10 +12,7 @@

In addition to supporting a wide variety of hooks that can be used across
multiple repositories, you can also define hooks specific to a
repository (but unlike regular Git hooks, are stored with that repository).

[Read more](http://causes.github.io/blog/2013/05/30/overcommit-the-opinionated-git-hook-manager/)
about Overcommit on our [engineering blog](http://causes.github.io).
repository (but unlike regular Git hooks, are stored in source control).

* [Requirements](#requirements)
* [Dependencies](#dependencies)
Expand Down Expand Up @@ -46,7 +43,7 @@ This project aims to support the following Ruby runtimes:

Some of the hooks have third-party dependencies. For example, to lint your
[SCSS](http://sass-lang.com/) files, you're going to need our
[scss-lint gem](https://github.com/causes/scss-lint).
[scss-lint gem](https://github.com/brigade/scss-lint).

Depending on the hooks you enable/disable for your repository, you'll need to
ensure your development environment already has those dependencies installed.
Expand Down Expand Up @@ -246,16 +243,16 @@ Currently, Overcommit supports `commit-msg`, `pre-commit`, `post-checkout`,
expanded to support others.

You can see the full list of hooks by checking out the
[hooks directory](https://github.com/causes/overcommit/blob/master/lib/overcommit/hook),
and view their [default configuration](config/default.yml).
[hooks directory](lib/overcommit/hook), and view their
[default configuration](config/default.yml).

## Repo-Specific hooks

Out of the box, `overcommit` comes with a set of hooks that enforce a variety of
styles and lints. However, some hooks only make sense in the context of a given
repository.

At Causes, for example, we have a number of ad hoc Ruby checks that we run
At Brigade, for example, we have a number of ad hoc Ruby checks that we run
against our code to catch common errors. For example, since we use
[RSpec](http://rspec.info/), we want to make sure all spec files contain the
line `require 'spec_helper'`.
Expand Down
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugin_directory: '.git-hooks'
# Whether to check if a hook plugin has changed since Overcommit last ran it.
# This is a defense mechanism when working with repositories which can contain
# untrusted code (e.g. when you fetch a pull request from a third party).
# See https://github.com/causes/overcommit#security for more information.
# See https://github.com/brigade/overcommit#security for more information.
verify_plugin_signatures: true

# Hooks that are run against every commit message after a user has written it.
Expand Down
6 changes: 3 additions & 3 deletions config/starter.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Use this file to configure the Overcommit hooks you wish to use. This will
# extend the default configuration defined in:
# https://github.com/causes/overcommit/blob/master/config/default.yml
# https://github.com/brigade/overcommit/blob/master/config/default.yml
#
# At the topmost level of this YAML file is a key representing type of hook
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
# customize each hook, such as whether to only run it on certain files (via
# `include`), whether to only display output if it fails (via `quiet`), etc.
#
# For a complete list of hooks, see:
# https://github.com/causes/overcommit/tree/master/lib/overcommit/hook
# https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
#
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/causes/overcommit#configuration
# https://github.com/brigade/overcommit#configuration
#
# Uncomment the following lines to make the configuration take effect.

Expand Down
2 changes: 1 addition & 1 deletion lib/overcommit/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module Overcommit
OVERCOMMIT_HOME = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
OVERCOMMIT_CONFIG_FILE_NAME = '.overcommit.yml'

REPO_URL = 'https://github.com/causes/overcommit'
REPO_URL = 'https://github.com/brigade/overcommit'
BUG_REPORT_URL = "#{REPO_URL}/issues"
end
4 changes: 2 additions & 2 deletions overcommit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Gem::Specification.new do |s|
s.license = 'MIT'
s.summary = 'Git hook manager'
s.description = 'Utility to install, configure, and extend Git hooks'
s.authors = ['Causes Engineering', 'Shane da Silva']
s.email = ['eng@causes.com', 'shane@causes.com']
s.authors = ['Brigade Engineering', 'Shane da Silva']
s.email = ['eng@brigade.com', 'shane.dasilva@brigade.com']
s.homepage = Overcommit::REPO_URL
s.post_install_message =
'Install hooks by running `overcommit --install` in your Git repository'
Expand Down
4 changes: 2 additions & 2 deletions spec/overcommit/hook/pre_commit/author_email_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
super().merge(Overcommit::Configuration.new(
'PreCommit' => {
'AuthorEmail' => {
'pattern' => '^[^@]+@causes\.com$'
'pattern' => '^[^@]+@brigade\.com$'
}
}
))
Expand All @@ -47,7 +47,7 @@
end

context 'and the email matches the pattern' do
let(:email) { 'email@causes.com' }
let(:email) { 'email@brigade.com' }

it { should pass }
end
Expand Down

0 comments on commit 46b5ad5

Please sign in to comment.