Skip to content

Commit a02b264

Browse files
committed
Add NOTICE files to license generating
1 parent d06dfdf commit a02b264

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

ecs-cli/license/license.go

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ THE SOFTWARE.
307307
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
308308
See the License for the specific language governing permissions and
309309
limitations under the License.
310+
NOTICE file reads:
311+
AWS SDK for Go
312+
Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
313+
Copyright 2014-2015 Stripe, Inc.
310314
311315
***
312316
./../vendor/github.com/davecgh/go-spew
@@ -521,6 +525,26 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
521525
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
522526
See the License for the specific language governing permissions and
523527
limitations under the License.
528+
NOTICE file reads:
529+
Docker
530+
Copyright 2012-2016 Docker, Inc.
531+
532+
This product includes software developed at Docker, Inc. (https://www.docker.com).
533+
534+
This product contains software (https://github.com/kr/pty) developed
535+
by Keith Rarick, licensed under the MIT License.
536+
537+
The following is courtesy of our legal counsel:
538+
539+
540+
Use and transfer of Docker may be subject to certain restrictions by the
541+
United States and other governments.
542+
It is your responsibility to ensure that your use and/or transfer does not
543+
violate applicable laws.
544+
545+
For more information, please see https://www.bis.doc.gov
546+
547+
See also https://www.apache.org/dev/crypto.html and/or seek legal counsel.
524548
525549
***
526550
./../vendor/github.com/docker/go-connections
@@ -2317,6 +2341,24 @@ limitations under the License.
23172341
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23182342
See the License for the specific language governing permissions and
23192343
limitations under the License.
2344+
NOTICE file reads:
2345+
runc
2346+
2347+
Copyright 2012-2015 Docker, Inc.
2348+
2349+
This product includes software developed at Docker, Inc. (http://www.docker.com).
2350+
2351+
The following is courtesy of our legal counsel:
2352+
2353+
2354+
Use and transfer of Docker may be subject to certain restrictions by the
2355+
United States and other governments.
2356+
It is your responsibility to ensure that your use and/or transfer does not
2357+
violate applicable laws.
2358+
2359+
For more information, please see http://www.bis.doc.gov
2360+
2361+
See also http://www.apache.org/dev/crypto.html and/or seek legal counsel.
23202362
23212363
***
23222364
./../vendor/github.com/pkg/errors

scripts/license.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,17 @@ appendRepoLicense() {
2727
inputfile+="$(<$licensefile)"$'\n'
2828
fi;
2929
done;
30+
3031
# Copy COPYING* file
3132
if [ -f $repo/COPYING* ]; then
3233
inputfile+="$(<$repo/COPYING*)"$'\n'
3334
fi;
35+
36+
# Copy NOTICE*
37+
if [ -f $repo/NOTICE* ]; then
38+
inputfile+="NOTICE file reads:"$'\n'
39+
inputfile+="$(<$repo/NOTICE*)"$'\n'
40+
fi;
3441
}
3542

3643
for registry in github.com golang.org; do

0 commit comments

Comments
 (0)