Skip to content

Update copyright headers for legacy EasyExcel code to comply with ASF policies #878

@psxjoy

Description

@psxjoy

Background
Apache Fesod (Incubating), formerly FastExcel, originated as a fork of Alibaba EasyExcel. While we have secured the Software Grant Agreement (SGA) for the new code and improvements developed under the FastExcel/Fesod name, the legacy code inherited from EasyExcel retains its original copyright.

After consulting with our Mentors and discussing on the dev mailing list, the PPMC has decided to adopt the "Pekko Route" for IP clearance. This means we treat the legacy code as existing open-source code under the Apache License 2.0. To comply with ASF policies, we must apply the standard ASF license headers while strictly retaining the original Alibaba attribution in the derived files.

Current Status & Reference
To unblock the 2.0.1-incubating release, we have already updated the project-level NOTICE and switched to DISCLAIMER-WIP (see PR #834).
The next step is the long-term task of updating the license headers in individual source files across the entire codebase.

For a practical example of how this should be done, please refer to our recent PR: #877

Task Description
We need to categorize and update the headers of all .java (and other relevant source) files:

  1. For files entirely created by the FastExcel/Fesod team:
    Apply the standard ASF License Header only.
  2. For legacy files derived from EasyExcel:
    Apply the standard ASF License Header, followed immediately by the original Alibaba copyright statement.

The required header format for legacy files is as follows:

/*
 * 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.
 */

/*
 * This file is part of the Apache Fesod (Incubating) project, which was derived from Alibaba EasyExcel.
 *
 * Copyright (C) 2018-2024 Alibaba Group Holding Ltd.
 */

How to Contribute
This is a significant undertaking and a perfect "Good First Issue" for new contributors to get involved with the Apache Fesod (Incubating) community.

Since the codebase is large, we plan to split this work module by module (or package by package).
If you would like to help, please:

  1. Review the reference PR docs: add copyright notice for Project #877 to understand the expected changes.
  2. Leave a comment below indicating which module/package you want to work on.
  3. We will assign that specific part to you to avoid duplicate efforts.
  4. Submit a PR linking back to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions