Fun Task: Complying with Apache License

Coordinator
Sep 14, 2010 at 6:35 PM
Edited Sep 14, 2010 at 6:36 PM

In order to comply with the Apache license, we need to add the following header to each of our source code files.

In order to comply with the Apache license, we need to add the following header to every source code file in NuPack.

   Copyright 2010 CodePlex Foundation

   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.

Ideally, we should have some automation set up to check each file for this header and add it if it's not already there as I just *know* people are going to forget. Anyone want to take on adding this header to each file? I'll log an issue.

UPDATE: Added as work item: http://nupack.codeplex.com/workitem/36

Sep 14, 2010 at 6:38 PM
I believe Resharper can do this stuff automatically for you. Dru knows how to get this rocking.
Sep 14, 2010 at 6:45 PM

We pushed back on the foundation and did not do this for mvccontrib

On Sep 14, 2010 12:38 PM, "ferventcoder" <notifications@codeplex.com> wrote:
> From: ferventcoder
>
> I believe Resharper can do this stuff automatically for you. Dru knows how to get this rocking.____
> Rob
> "Be passionate in all you do"
>
> http://devlicio.us/blogs/rob_reynolds
> http://ferventcoder.com
> http://twitter.com/ferventcoder
>
>
>
>

Sep 14, 2010 at 6:59 PM

Pushed back on what foundation? CodePlex? Apache? And they allowed this?

In any case, I'm bored and while I have my massive changeset on the go I can go off and do this for my first pull request ;)

Sep 14, 2010 at 7:05 PM
Guys,
It is your code.
And you can say it is Apache without requiring the license header.

On Tue, Sep 14, 2010 at 7:59 PM, bsimser <notifications@codeplex.com> wrote:

From: bsimser

Pushed back on what foundation? CodePlex? Apache? And they allowed this?

In any case, I'm bored and while I have my massive changeset on the go I can go off and do this for my first pull request ;)

Read the full discussion online.

To add a post to this discussion, reply to this email (nupack@discussions.codeplex.com)

To start a new discussion for this project, email nupack@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Sep 14, 2010 at 7:08 PM
I basically told the foundation I did not want to include the headers for our code.
 
I did include headers for any code that was forked from another project and/or under another license.  This was mostly around portions of the castle project that we brought into the mvccontrib codebase.
Coordinator
Sep 14, 2010 at 7:11 PM

So you got approval from the Apache foundation?

Phil

Sep 14, 2010 at 7:30 PM
 
So it does show how to apply the license in the Appendix, but it does not explicitly say it must be applied to every source file. So we included the bolierplate notice in the License.txt in the root of the source repository.
 
On Tue, Sep 14, 2010 at 1:11 PM, Haacked <notifications@codeplex.com> wrote:

From: Haacked

So you got approval from the Apache foundation?

Phil

Read the full discussion online.

To add a post to this discussion, reply to this email (nupack@discussions.codeplex.com)

To start a new discussion for this project, email nupack@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Coordinator
Sep 14, 2010 at 8:03 PM

Hey Eric, I just looked at the LICENSE.txt file in MvcContrib and I see that you have the standard Apache license text, but nowhere does it say who owns the copyright. I think the copyright notice and the LICENSE.txt files are two different things. You need to have a copyright notice somewhere that specifies who owns the copyright of the code.

Here's what I think I'll do for now. I'll put the header text in a COPYRIGHT.txt file in the root of our project rather than add it to every source file. I'll follow up with the CodePlex Foundation lawyers to get their opinion.

If we're following the Apache license, I think it's important to abide by the license and not make up our own rules as we go along. In this case, I agree that the Addendum appears to be a recommendation and not a requirement as it's not part of the license terms of condition itself. Thanks for the feedback everyone!

Sep 14, 2010 at 8:25 PM
They foundation people had me put the license in the credits.txt http://mvccontrib.codeplex.com/SourceControl/changeset/view/0b2fef5c8344#Credits.txt
 
I think I will update the license file as well.