Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-19333][SPARKR] Add Apache License headers to R files #16709

Closed
wants to merge 1 commit into from

Conversation

felixcheung
Copy link
Member

What changes were proposed in this pull request?

add header

How was this patch tested?

Manual run to check vignettes html is created properly

@SparkQA
Copy link

SparkQA commented Jan 26, 2017

Test build #72015 has finished for PR 16709 at commit 63a0356.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@@ -10,6 +10,23 @@ vignette: >
\usepackage[utf8]{inputenc}
---

<!--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need license headers in doc files -- I don't think others have this.
You could add one to DESCRIPTION for good measure but it's really conf.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have worked with a few Apache projects that do this in doc though.
I understand we don't. I'm fine either way but since the JIRA is opened, there really isn't any file without license except for DESCRIPTION (doesn't support comment, already has a license tag) and NAMESPACE (which is really a build file, and very often tool generated).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW the ASF policy statement talks about source files only: http://www.apache.org/legal/release-policy.html#license-headers
Is this source for docs? maybe so. I think it's fine as-is then.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, this file actually contains source code that gets run to generate output that gets included in generated doc (as a html file) in the Apache source release.

asfgit pushed a commit that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?

add header

## How was this patch tested?

Manual run to check vignettes html is created properly

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #16709 from felixcheung/rfilelicense.

(cherry picked from commit 385d738)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
asfgit pushed a commit that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?

add header

## How was this patch tested?

Manual run to check vignettes html is created properly

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #16709 from felixcheung/rfilelicense.

(cherry picked from commit 385d738)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
@felixcheung
Copy link
Member Author

merged to master, branch-2.1, branch-2.0

@asfgit asfgit closed this in 385d738 Jan 27, 2017
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
## What changes were proposed in this pull request?

add header

## How was this patch tested?

Manual run to check vignettes html is created properly

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes apache#16709 from felixcheung/rfilelicense.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants