You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by hs...@apache.org on 2011/08/10 20:32:09 UTC

svn commit: r1156299 - in /incubator/kafka/trunk: ./ clients/clojure/ clients/cpp/ clients/csharp/ clients/php/ clients/python/ clients/ruby/ core/src/main/scala/kafka/tools/ core/src/test/scala/unit/kafka/producer/

Author: hsaputra
Date: Wed Aug 10 18:32:09 2011
New Revision: 1156299

URL: http://svn.apache.org/viewvc?rev=1156299&view=rev
Log:
KAFKA-93 | add license to missed files and remove LinkedIn copyright line per ASF guideline. Thanks to Joel Koshy for pointing it out

Modified:
    incubator/kafka/trunk/LICENSE
    incubator/kafka/trunk/clients/clojure/LICENSE
    incubator/kafka/trunk/clients/cpp/LICENSE
    incubator/kafka/trunk/clients/csharp/LICENSE
    incubator/kafka/trunk/clients/php/LICENSE
    incubator/kafka/trunk/clients/python/kafka.py
    incubator/kafka/trunk/clients/python/setup.py
    incubator/kafka/trunk/clients/ruby/LICENSE
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala

Modified: incubator/kafka/trunk/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/LICENSE (original)
+++ incubator/kafka/trunk/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@
       same "printed page" as the copyright notice for easier
       identification within third-party archives.
 
-   Copyright 2010 LinkedIn
+   Copyright [yyyy] [name of copyright owner]
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
@@ -200,3 +200,4 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
+

Modified: incubator/kafka/trunk/clients/clojure/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/clojure/LICENSE (original)
+++ incubator/kafka/trunk/clients/clojure/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache Licens
    same "printed page" as the copyright notice for easier
    identification within third-party archives.
 
-Copyright 2011 LinkedIn
+Copyright [yyyy] [name of copyright owner]
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

Modified: incubator/kafka/trunk/clients/cpp/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/cpp/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/cpp/LICENSE (original)
+++ incubator/kafka/trunk/clients/cpp/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache Licens
    same "printed page" as the copyright notice for easier
    identification within third-party archives.
 
-Copyright 2011 LinkedIn
+Copyright [yyyy] [name of copyright owner]
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

Modified: incubator/kafka/trunk/clients/csharp/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/csharp/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/csharp/LICENSE (original)
+++ incubator/kafka/trunk/clients/csharp/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache Licens
    same "printed page" as the copyright notice for easier
    identification within third-party archives.
 
-Copyright 2011 LinkedIn
+Copyright [yyyy] [name of copyright owner]
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -199,4 +199,4 @@ Unless required by applicable law or agr
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
-limitations under the License.
\ No newline at end of file
+limitations under the License.

Modified: incubator/kafka/trunk/clients/php/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/php/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/php/LICENSE (original)
+++ incubator/kafka/trunk/clients/php/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache Licens
    same "printed page" as the copyright notice for easier
    identification within third-party archives.
 
-Copyright 2011 LinkedIn
+Copyright [yyyy] [name of copyright owner]
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

Modified: incubator/kafka/trunk/clients/python/kafka.py
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/python/kafka.py?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/python/kafka.py (original)
+++ incubator/kafka/trunk/clients/python/kafka.py Wed Aug 10 18:32:09 2011
@@ -1,16 +1,20 @@
-# Copyright 2010 LinkedIn
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import socket
 import struct
@@ -65,4 +69,4 @@ if __name__ == '__main__':
         line = sys.stdin.readline()
         messages = line.split(',')
         producer.send(messages, topic)
-        print 'Sent', len(messages), 'messages successfully'
\ No newline at end of file
+        print 'Sent', len(messages), 'messages successfully'

Modified: incubator/kafka/trunk/clients/python/setup.py
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/python/setup.py?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/python/setup.py (original)
+++ incubator/kafka/trunk/clients/python/setup.py Wed Aug 10 18:32:09 2011
@@ -1,5 +1,23 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 from distutils.core import setup
  
 setup(

Modified: incubator/kafka/trunk/clients/ruby/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/ruby/LICENSE?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/clients/ruby/LICENSE (original)
+++ incubator/kafka/trunk/clients/ruby/LICENSE Wed Aug 10 18:32:09 2011
@@ -187,7 +187,7 @@ APPENDIX: How to apply the Apache Licens
    same "printed page" as the copyright notice for easier
    identification within third-party archives.
 
-Copyright 2011 LinkedIn
+Copyright [yyyy] [name of copyright owner]
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

Modified: incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala (original)
+++ incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala Wed Aug 10 18:32:09 2011
@@ -1,19 +1,21 @@
 /*
-* Copyright 2010 LinkedIn
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package kafka.tools
 
 import kafka.consumer._

Modified: incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala?rev=1156299&r1=1156298&r2=1156299&view=diff
==============================================================================
--- incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala (original)
+++ incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala Wed Aug 10 18:32:09 2011
@@ -1,18 +1,21 @@
 /*
- * Copyright 2011 LinkedIn
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package unit.kafka.producer
 
 import collection.immutable.SortedSet
@@ -51,4 +54,4 @@ class ProducerMethodsTest extends JUnitS
     }
 
   }
-}
\ No newline at end of file
+}