Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool implemented #1

Merged
merged 1 commit into from
Sep 18, 2017
Merged

tool implemented #1

merged 1 commit into from
Sep 18, 2017

Conversation

odeke-em
Copy link
Member

Implemented apache2conform a tool that scans through a Git repository
of your choice, passed in by the Go import path, assumed to be
located locally under $GOPATH/src/.
The tool scans through each of your Go files looking for files that
don't have a license header as required by
Apache 2.0 at
http://www.apache.org/dev/apply-license.html#new

The tool can be run with a sample run like this

$ apache2conform -copyright-holder Tendermint -fix -repo github.com/tendermint/go-wire
Total: 40:: AddedLicenses: 40 AlreadyHaveLicenses: 0 Errors: 0
TimeSpent: 1.795497249s

Implemented apache2conform a tool that scans through a Git repository
of your choice, passed in by the Go import path, assumed to be
located locally under $GOPATH/src/.
The tool scans through each of your Go files looking for files that
don't have a license header as required by
Apache 2.0 at
http://www.apache.org/dev/apply-license.html#new

The tool can be run with a sample run like this
```shell
$ apache2conform -copyright-holder Tendermint -fix -repo github.com/tendermint/go-wire
Total: 40:: AddedLicenses: 40 AlreadyHaveLicenses: 0 Errors: 0
TimeSpent: 1.795497249s
```
@odeke-em odeke-em merged commit 01b1255 into master Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant