Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Comments

Keep legal files when vendoring tools#8

Merged
spenczar merged 4 commits intomasterfrom
keep_legal_files
Mar 22, 2017
Merged

Keep legal files when vendoring tools#8
spenczar merged 4 commits intomasterfrom
keep_legal_files

Conversation

@spenczar
Copy link
Contributor

This is overdue, for sure!

We shouldn't be trimming out legal files. This also gives us a place to handle future exceptions, like we might want to do for #7.

@spenczar spenczar requested a review from garethlewin March 22, 2017 15:18
clean.go Outdated
}

var commonLegalFilePrefixes = []string{
"license",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider copying the list from https://github.com/tools/godep/blob/master/license.go

Sadly that whole file has exported methods but they are in package main or I would just depend on and use that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@spenczar spenczar merged commit 42cdcc3 into master Mar 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants