From 34d01ad2e59a1f3f0a74228acca18c283fbaebd7 Mon Sep 17 00:00:00 2001 From: Kevin Moore <kevmoo@google.com> Date: Mon, 20 Jul 2015 15:28:29 -0700 Subject: [PATCH] updated license --- CONTRIBUTING.md | 33 +++++++++++++++++++++++++++++++++ LICENSE | 2 +- example/example_server.dart | 4 ++++ lib/shelf_static.dart | 4 ++++ lib/src/static_handler.dart | 4 ++++ lib/src/util.dart | 2 +- test/alternative_root_test.dart | 4 ++++ test/basic_file_test.dart | 4 ++++ test/default_document_test.dart | 4 ++++ test/get_handler_test.dart | 4 ++++ test/sample_test.dart | 4 ++++ test/symbolic_link_test.dart | 4 ++++ test/test_all.dart | 4 ++++ test/test_util.dart | 2 +- 14 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..6f5e0ea --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,33 @@ +Want to contribute? Great! First, read this page (including the small print at +the end). + +### Before you contribute +Before we can use your code, you must sign the +[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual) +(CLA), which you can do online. The CLA is necessary mainly because you own the +copyright to your changes, even after your contribution becomes part of our +codebase, so we need your permission to use and distribute your code. We also +need to be sure of various other things—for instance that you'll tell us if you +know that your code infringes on other people's patents. You don't have to sign +the CLA until after you've submitted your code for review and a member has +approved it, but you must do it before we can put your code into our codebase. + +Before you start working on a larger contribution, you should get in touch with +us first through the issue tracker with your idea so that we can help out and +possibly guide you. Coordinating up front makes it much easier to avoid +frustration later on. + +### Code reviews +All submissions, including submissions by project members, require review. + +### File headers +All files in the project must start with the following header. + + // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file + // for details. All rights reserved. Use of this source code is governed by a + // BSD-style license that can be found in the LICENSE file. + +### The small print +Contributions made by corporations are covered by a different agreement than the +one above, the +[Software Grant and Corporate Contributor License Agreement](https://developers.google.com/open-source/cla/corporate). diff --git a/LICENSE b/LICENSE index 1dd958b..de31e1a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2014, the shelf_static authors. All rights reserved. +Copyright 2015, the Dart project authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/example/example_server.dart b/example/example_server.dart index def7c6b..aedefa1 100644 --- a/example/example_server.dart +++ b/example/example_server.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.example; import 'dart:io'; diff --git a/lib/shelf_static.dart b/lib/shelf_static.dart index 81e89f5..cc70247 100644 --- a/lib/shelf_static.dart +++ b/lib/shelf_static.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static; export 'src/static_handler.dart'; diff --git a/lib/src/static_handler.dart b/lib/src/static_handler.dart index 3729fa9..7a5b4a5 100644 --- a/lib/src/static_handler.dart +++ b/lib/src/static_handler.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.staic_handler; import 'dart:io'; diff --git a/lib/src/util.dart b/lib/src/util.dart index 287ac9b..5db5e92 100644 --- a/lib/src/util.dart +++ b/lib/src/util.dart @@ -1,4 +1,4 @@ -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. diff --git a/test/alternative_root_test.dart b/test/alternative_root_test.dart index 4750fe1..eb6bfd7 100644 --- a/test/alternative_root_test.dart +++ b/test/alternative_root_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.alternative_root_test; import 'dart:io'; diff --git a/test/basic_file_test.dart b/test/basic_file_test.dart index b145a0d..795e2db 100644 --- a/test/basic_file_test.dart +++ b/test/basic_file_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.basic_file_test; import 'dart:io'; diff --git a/test/default_document_test.dart b/test/default_document_test.dart index 8e8adba..e703bd4 100644 --- a/test/default_document_test.dart +++ b/test/default_document_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.default_document_test; import 'dart:io'; diff --git a/test/get_handler_test.dart b/test/get_handler_test.dart index 0f186e8..1659a0e 100644 --- a/test/get_handler_test.dart +++ b/test/get_handler_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.get_handler_test; import 'dart:io'; diff --git a/test/sample_test.dart b/test/sample_test.dart index dea72f3..ab7878f 100644 --- a/test/sample_test.dart +++ b/test/sample_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.sample_test; import 'dart:async'; diff --git a/test/symbolic_link_test.dart b/test/symbolic_link_test.dart index 2e1459e..6e9d956 100644 --- a/test/symbolic_link_test.dart +++ b/test/symbolic_link_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.symbolic_link_test; import 'dart:io'; diff --git a/test/test_all.dart b/test/test_all.dart index bd1f249..1db9b9b 100644 --- a/test/test_all.dart +++ b/test/test_all.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + library shelf_static.test_all; import 'package:scheduled_test/scheduled_test.dart'; diff --git a/test/test_util.dart b/test/test_util.dart index db3f909..b96abce 100644 --- a/test/test_util.dart +++ b/test/test_util.dart @@ -1,4 +1,4 @@ -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -- GitLab