Skip to content

Commit

Permalink
Source code repository moved to @evilmartians organization
Browse files Browse the repository at this point in the history
Recently @Arkweid didn't have much capacity to maintain the project himself, so we decided to take control and maintenance burden for Lefthook.

Alexander, thank you for Lefthook. It is amazing! ❤️
  • Loading branch information
Envek committed Apr 21, 2021
1 parent 8bd07ee commit 37a7fe9
Show file tree
Hide file tree
Showing 15 changed files with 68 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ brews:
github:
owner: Arkweid
name: homebrew-lefthook
homepage: "https://github.com/Arkweid/lefthook"
homepage: "https://github.com/evilmartians/lefthook"
description: "Lefthook a single dependency-free binary to manage all your git hooks that works with any language in any environment, and in all common team workflows"
folder: Formula
test: |
Expand All @@ -61,7 +61,7 @@ brews:
nfpms:
-
file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://github.com/Arkweid/lefthook
homepage: https://github.com/evilmartians/lefthook
description: Lefthook a single dependency-free binary to manage all your git hooks that works with any language in any environment, and in all common team workflows
maintainer: Alexander Abroskin <[email protected]>
license: MIT
Expand Down
22 changes: 11 additions & 11 deletions .npm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Build Status](https://api.travis-ci.org/Arkweid/lefthook.svg?branch=master)
![Build Status](https://api.travis-ci.org/evilmartians/lefthook.svg?branch=master)

# Lefthook

Expand Down Expand Up @@ -41,7 +41,7 @@ Choose your environment:
* **[Ruby](./docs/ruby.md)**
* [Other environments](./docs/other.md)
Then you can find all Lefthook features in [the full guide](./docs/full_guide.md) and explore [wiki](https://github.com/Arkweid/lefthook/wiki).
Then you can find all Lefthook features in [the full guide](./docs/full_guide.md) and explore [wiki](https://github.com/evilmartians/lefthook/wiki).
***
Expand Down Expand Up @@ -178,23 +178,23 @@ $ lefthook run fixer
* [Ruby](./docs/ruby.md)
* [Other environments](./docs/other.md)
* [Full features guide](./docs/full_guide.md)
* [Troubleshooting](https://github.com/Arkweid/lefthook/wiki/Troubleshooting)
* [Troubleshooting](https://github.com/evilmartians/lefthook/wiki/Troubleshooting)

### Migrate from
* [Husky](https://github.com/Arkweid/lefthook/wiki/Migration-from-husky)
* [Husky and lint-staged](https://github.com/Arkweid/lefthook/wiki/Migration-from-husky-with-lint-staged)
* [Overcommit](https://github.com/Arkweid/lefthook/wiki/Migration-from-overcommit)
* [Husky](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky)
* [Husky and lint-staged](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky-with-lint-staged)
* [Overcommit](https://github.com/evilmartians/lefthook/wiki/Migration-from-overcommit)

### Examples
* [Simple script](https://github.com/Arkweid/lefthook/tree/master/examples/scripts)
* [Full features](https://github.com/Arkweid/lefthook/tree/master/examples/complete)
* [Simple script](https://github.com/evilmartians/lefthook/tree/master/examples/scripts)
* [Full features](https://github.com/evilmartians/lefthook/tree/master/examples/complete)

### Benchmarks
* [vs Overcommit](https://github.com/Arkweid/lefthook/wiki/Benchmark-lefthook-vs-overcommit)
* [vs pre-commit](https://github.com/Arkweid/lefthook/wiki/Benchmark-lefthook-vs-pre-commit)
* [vs Overcommit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-overcommit)
* [vs pre-commit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-pre-commit)

### Comparison list
* [vs Overcommit, Husky, pre-commit](https://github.com/Arkweid/lefthook/wiki/Comparison-with-other-solutions)
* [vs Overcommit, Husky, pre-commit](https://github.com/evilmartians/lefthook/wiki/Comparison-with-other-solutions)

### Articles
* [Lefthook: Knock your team’s code back into shape](https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook)
Expand Down
2 changes: 1 addition & 1 deletion .rubygems/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Lefthook

Ruby wrapper around [lefthook](https://github.com/Arkweid/lefthook)
Ruby wrapper around [lefthook](https://github.com/evilmartians/lefthook)
2 changes: 1 addition & 1 deletion .rubygems/lefthook.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
spec.email = ["[email protected]"]

spec.summary = "A single dependency-free binary to manage all your git hooks that works with any language in any environment, and in all common team workflows."
spec.homepage = "https://github.com/Arkweid/lefthook"
spec.homepage = "https://github.com/evilmartians/lefthook"
spec.post_install_message = "Lefthook installed! Run command in your project root directory 'lefthook install -f' to make installation completed."

spec.bindir = "bin"
Expand Down
52 changes: 26 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,87 +4,87 @@

# 0.7.2 (2020-02-02)

- [PR](https://github.com/Arkweid/lefthook/pull/126) Feature multiple extends. Thanks @Evilweed
- [PR](https://github.com/evilmartians/lefthook/pull/126) Feature multiple extends. Thanks @Evilweed

- [PR](https://github.com/Arkweid/lefthook/pull/124) Fix `npx` when only `yarn` exists. Thanks @dotterian
- [PR](https://github.com/evilmartians/lefthook/pull/124) Fix `npx` when only `yarn` exists. Thanks @dotterian

- [PR](https://github.com/Arkweid/lefthook/pull/116) Fix use '-h' for robust lefthook. Thanks @fahrinh
- [PR](https://github.com/evilmartians/lefthook/pull/116) Fix use '-h' for robust lefthook. Thanks @fahrinh

# 0.7.1 (2020-02-02)

- [PR](https://github.com/Arkweid/lefthook/pull/108) Fix `sh` dependency on windows when executing `git`. Thanks @lionskape
- [PR](https://github.com/evilmartians/lefthook/pull/108) Fix `sh` dependency on windows when executing `git`. Thanks @lionskape

- [PR](https://github.com/Arkweid/lefthook/pull/103) Add possibility for using `yaml` and `yml` extension for config. Thanks @rbUUbr
- [PR](https://github.com/evilmartians/lefthook/pull/103) Add possibility for using `yaml` and `yml` extension for config. Thanks @rbUUbr

# 0.7.0 (2019-12-14)

- [PR](https://github.com/Arkweid/lefthook/pull/98) Support relative roots for monorepos. Thanks @jsmestad
- [PR](https://github.com/evilmartians/lefthook/pull/98) Support relative roots for monorepos. Thanks @jsmestad

# 0.6.7 (2019-12-14)

- [Commit](https://github.com/Arkweid/lefthook/commit/e898b5c8ba56c4d6f29a4d1f433baa1779a0845b)
- [Commit](https://github.com/evilmartians/lefthook/commit/e898b5c8ba56c4d6f29a4d1f433baa1779a0845b)
Skip before executing command

- [PR](https://github.com/Arkweid/lefthook/pull/94) Add option --keep-config. Thanks @justinasposiunas
- [PR](https://github.com/evilmartians/lefthook/pull/94) Add option --keep-config. Thanks @justinasposiunas

- [Commit](https://github.com/Arkweid/lefthook/commit/d79a3a46e7d1ee709b97e97f823bfd27e9466eff)
- [Commit](https://github.com/evilmartians/lefthook/commit/d79a3a46e7d1ee709b97e97f823bfd27e9466eff)
Check if shell is non interactive

# 0.6.6 (2019-12-03)

- [PR](https://github.com/Arkweid/lefthook/pull/94) Use eval instead of exec; Enable tty for the shell. Thanks @ssnickolay
- [PR](https://github.com/evilmartians/lefthook/pull/94) Use eval instead of exec; Enable tty for the shell. Thanks @ssnickolay

# 0.6.5 (2019-11-15)

- [PR](https://github.com/Arkweid/lefthook/pull/89) Add support for git-worktree. Thanks @f440
- [PR](https://github.com/evilmartians/lefthook/pull/89) Add support for git-worktree. Thanks @f440

- [Commit](https://github.com/Arkweid/lefthook/commit/48702a0806d2b2eab13636ba56b0e0b99f346f1c)
- [Commit](https://github.com/evilmartians/lefthook/commit/48702a0806d2b2eab13636ba56b0e0b99f346f1c)
Commands and Scripts now can catch Stdin

- [Commit](https://github.com/Arkweid/lefthook/commit/9a226842292ff1dda0f2273b66a0799988aa5289)
- [Commit](https://github.com/evilmartians/lefthook/commit/9a226842292ff1dda0f2273b66a0799988aa5289)
Add partial support for monorepos and command execution not from project root

# 0.6.4 (2019-11-08)

- [PR](https://github.com/Arkweid/lefthook/pull/84) Fix return value from shell exit. Thanks @HaiD84
- [PR](https://github.com/evilmartians/lefthook/pull/84) Fix return value from shell exit. Thanks @HaiD84

- [PR](https://github.com/Arkweid/lefthook/pull/86) Support postinstall script for npm installation for monorepos. Thanks @sHooKDT
- [PR](https://github.com/evilmartians/lefthook/pull/86) Support postinstall script for npm installation for monorepos. Thanks @sHooKDT

- [PR](https://github.com/Arkweid/lefthook/pull/82) Now relative path to scripts supported. Thanks @AlexeyMatskevich
- [PR](https://github.com/evilmartians/lefthook/pull/82) Now relative path to scripts supported. Thanks @AlexeyMatskevich

- [Commit](https://github.com/Arkweid/lefthook/pull/80/commits/1a4b0ee155eb66ae6f3c365164012bee9332605a)
- [Commit](https://github.com/evilmartians/lefthook/pull/80/commits/1a4b0ee155eb66ae6f3c365164012bee9332605a)
Option `extends` for top level config added. Now you can merge some settings from different places:
```yml
extends: $HOME/work/lefthook-extend.yml
```
- [Commit](https://github.com/Arkweid/lefthook/commit/83cf818106dbf222ea33ba86aafce8f30d7cb5a9)
- [Commit](https://github.com/evilmartians/lefthook/commit/83cf818106dbf222ea33ba86aafce8f30d7cb5a9)
Add examples to generated lefthook.yml
## 0.6.3 (2019-07-15)
- [Commit](https://github.com/Arkweid/lefthook/commit/0426936f48f248221126f15619932b0dc8c54d7a) Add `-a` means `aggressive` strategy for `install` command
- [Commit](https://github.com/evilmartians/lefthook/commit/0426936f48f248221126f15619932b0dc8c54d7a) Add `-a` means `aggressive` strategy for `install` command
```bash
lefthook install -a # clear .git/hooks dir and reinstall lefthook hooks
```

- [Commit](https://github.com/Arkweid/lefthook/commit/5efb0677a4a9ec1728d3cf1a083075e23315a796) Add Lefthook version indicator for commands and script execution
- [Commit](https://github.com/evilmartians/lefthook/commit/5efb0677a4a9ec1728d3cf1a083075e23315a796) Add Lefthook version indicator for commands and script execution

- [Commit](https://github.com/Arkweid/lefthook/commit/8b55d91eed46643a1674bd4ad96fa211a177e159) Remove `npx` as dependency from node wrapper
- [Commit](https://github.com/evilmartians/lefthook/commit/8b55d91eed46643a1674bd4ad96fa211a177e159) Remove `npx` as dependency from node wrapper

Now we will call directly binary from `./node_modules`

- [Commit](https://github.com/Arkweid/lefthook/commit/76ffed4c698bc074984e91f5610c0b98784bd10b) Add `-f` means `force` strategy for `install` command
- [Commit](https://github.com/evilmartians/lefthook/commit/76ffed4c698bc074984e91f5610c0b98784bd10b) Add `-f` means `force` strategy for `install` command

```bash
lefthook install -f # reinstall lefthook hooks without sync info check
```

- PR [#27](https://github.com/Arkweid/lefthook/pull/27) Move LEFTHOOK env check in hooks files
- PR [#27](https://github.com/evilmartians/lefthook/pull/27) Move LEFTHOOK env check in hooks files

Now if LEFTHOOK=0 we will not call the binary file

- PR [#26](https://github.com/Arkweid/lefthook/pull/26) + [commit](https://github.com/Arkweid/lefthook/commit/afd67f94631a10975209ed4c5fabc763f44280eb) Add `{push_files}` shortcut
- PR [#26](https://github.com/evilmartians/lefthook/pull/26) + [commit](https://github.com/evilmartians/lefthook/commit/afd67f94631a10975209ed4c5fabc763f44280eb) Add `{push_files}` shortcut

Add shortcut `{push_files}`

Expand All @@ -103,7 +103,7 @@ pre-commit:
run: rubocop {push_files}
```
- [Commit](https://github.com/Arkweid/lefthook/commit/af087b032a14952aa1dd235a3d0b5a51bc760a10) Add `min_version` option
- [Commit](https://github.com/evilmartians/lefthook/commit/af087b032a14952aa1dd235a3d0b5a51bc760a10) Add `min_version` option
You can mark your config for minimum Lefthook version:
```
Expand All @@ -127,7 +127,7 @@ Will be executed in this way:
sh -c "rubocop -a && git add"
```
- PR [#23](https://github.com/Arkweid/lefthook/pull/24) Search Lefthook in Gemfile.
- PR [#23](https://github.com/evilmartians/lefthook/pull/24) Search Lefthook in Gemfile.
Now it's possible to use Lefthook from Gemfile.
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Build Status](https://api.travis-ci.org/Arkweid/lefthook.svg?branch=master)
![Build Status](https://api.travis-ci.org/evilmartians/lefthook.svg?branch=master)

# Lefthook

Expand Down Expand Up @@ -41,7 +41,7 @@ Choose your environment:
* **[Ruby](./docs/ruby.md)**
* [Other environments](./docs/other.md)
Then you can find all Lefthook features in [the full guide](./docs/full_guide.md) and explore [wiki](https://github.com/Arkweid/lefthook/wiki).
Then you can find all Lefthook features in [the full guide](./docs/full_guide.md) and explore [wiki](https://github.com/evilmartians/lefthook/wiki).
***
Expand Down Expand Up @@ -185,23 +185,23 @@ skip_output:
* [Ruby](./docs/ruby.md)
* [Other environments](./docs/other.md)
* [Full features guide](./docs/full_guide.md)
* [Troubleshooting](https://github.com/Arkweid/lefthook/wiki/Troubleshooting)
* [Troubleshooting](https://github.com/evilmartians/lefthook/wiki/Troubleshooting)
### Migrate from
* [Husky](https://github.com/Arkweid/lefthook/wiki/Migration-from-husky)
* [Husky and lint-staged](https://github.com/Arkweid/lefthook/wiki/Migration-from-husky-with-lint-staged)
* [Overcommit](https://github.com/Arkweid/lefthook/wiki/Migration-from-overcommit)
* [Husky](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky)
* [Husky and lint-staged](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky-with-lint-staged)
* [Overcommit](https://github.com/evilmartians/lefthook/wiki/Migration-from-overcommit)
### Examples
* [Simple script](https://github.com/Arkweid/lefthook/tree/master/examples/scripts)
* [Full features](https://github.com/Arkweid/lefthook/tree/master/examples/complete)
* [Simple script](https://github.com/evilmartians/lefthook/tree/master/examples/scripts)
* [Full features](https://github.com/evilmartians/lefthook/tree/master/examples/complete)
### Benchmarks
* [vs Overcommit](https://github.com/Arkweid/lefthook/wiki/Benchmark-lefthook-vs-overcommit)
* [vs pre-commit](https://github.com/Arkweid/lefthook/wiki/Benchmark-lefthook-vs-pre-commit)
* [vs Overcommit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-overcommit)
* [vs pre-commit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-pre-commit)
### Comparison list
* [vs Overcommit, Husky, pre-commit](https://github.com/Arkweid/lefthook/wiki/Comparison-with-other-solutions)
* [vs Overcommit, Husky, pre-commit](https://github.com/evilmartians/lefthook/wiki/Comparison-with-other-solutions)
### Articles
* [Lefthook: Knock your team’s code back into shape](https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook)
Expand Down
2 changes: 1 addition & 1 deletion cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func InstallCmdExecutor(args []string, fs afero.Fs) {
func AddConfigYaml(fs afero.Fs) {
template := `# EXAMPLE USAGE
# Refer for explanation to following link:
# https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md
# https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md
#
# pre-push:
# commands:
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync"
"time"

"github.com/Arkweid/lefthook/context"
"github.com/evilmartians/lefthook/context"

arrop "github.com/adam-hanna/arrayOperations"
"github.com/creack/pty"
Expand Down
2 changes: 1 addition & 1 deletion cmd/run_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"sync"
"time"

"github.com/Arkweid/lefthook/context"
"github.com/evilmartians/lefthook/context"

arrop "github.com/adam-hanna/arrayOperations"
"github.com/gobwas/glob"
Expand Down
10 changes: 5 additions & 5 deletions docs/full_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Add Lefthook to your system or build it from sources.
### go

```bash
go get github.com/Arkweid/lefthook
go get github.com/evilmartians/lefthook
```

### npm
Expand All @@ -27,20 +27,20 @@ gem install lefthook
### Homebrew for macOS

```bash
brew install Arkweid/lefthook/lefthook
brew install evilmartians/lefthook/lefthook
```

### AUR for Arch

You can install lefthook [package](https://aur.archlinux.org/packages/lefthook) from AUR

Or take it from [binaries](https://github.com/Arkweid/lefthook/releases) and install manually
Or take it from [binaries](https://github.com/evilmartians/lefthook/releases) and install manually

## Scenarios

### Examples

We have a directory with few examples. You can check it [here](https://github.com/Arkweid/lefthook/tree/master/examples).
We have a directory with few examples. You can check it [here](https://github.com/evilmartians/lefthook/tree/master/examples).

### First time user

Expand Down Expand Up @@ -497,4 +497,4 @@ lefthook uninstall
```

## More info
Have a question? Check the [wiki](https://github.com/Arkweid/lefthook/wiki).
Have a question? Check the [wiki](https://github.com/evilmartians/lefthook/wiki).
2 changes: 1 addition & 1 deletion docs/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ npx lefthook install && npx lefthook run pre-commit
```

### More info
Have a question? Check the [wiki](https://github.com/Arkweid/lefthook/wiki).
Have a question? Check the [wiki](https://github.com/evilmartians/lefthook/wiki).
8 changes: 4 additions & 4 deletions docs/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ Add Lefthook to your system or build it from source.
### go

```bash
go get github.com/Arkweid/lefthook
go get github.com/evilmartians/lefthook
```

### Homebrew for macOS

```bash
brew install Arkweid/lefthook/lefthook
brew install evilmartians/lefthook/lefthook
```

### AUR for Arch

You can install lefthook [package](https://aur.archlinux.org/packages/lefthook) from AUR

Or take it from [binaries](https://github.com/Arkweid/lefthook/releases) and install manually
Or take it from [binaries](https://github.com/evilmartians/lefthook/releases) and install manually

### pip for Python

Expand Down Expand Up @@ -50,4 +50,4 @@ lefthook install && lefthook run pre-commit
```

### More info
Have a question? Check the [wiki](https://github.com/Arkweid/lefthook/wiki).
Have a question? Check the [wiki](https://github.com/evilmartians/lefthook/wiki).
2 changes: 1 addition & 1 deletion docs/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ lefthook install && lefthook run pre-commit
If you see the error `lefthook: command not found` you need to check your $PATH. Also try to restart your terminal.

### More info
Have a question? Check the [wiki](https://github.com/Arkweid/lefthook/wiki).
Have a question? Check the [wiki](https://github.com/evilmartians/lefthook/wiki).
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Arkweid/lefthook
module github.com/evilmartians/lefthook

require (
github.com/Arkweid/hookah v0.2.3 // indirect
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/Arkweid/lefthook/cmd"
import "github.com/evilmartians/lefthook/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 37a7fe9

Please sign in to comment.