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

Bug: Documentation licensed under non-OSS compatible license #17225

Closed
nzakas opened this issue May 26, 2023 · 22 comments
Closed

Bug: Documentation licensed under non-OSS compatible license #17225

nzakas opened this issue May 26, 2023 · 22 comments
Assignees
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation

Comments

@nzakas
Copy link
Member

nzakas commented May 26, 2023

Background

We had a request to apply a license to our documentation, and even though this project is MIT licensed, I mistakenly thought that applied only to code and not to documentation. In fact, the MIT license specifically says that it also applies to the documentation (always read your licenses, folks!).

#17175 mentions that the CC license we applied is incompatible with open source licenses, which is true (verified by OpenJS legal). Some software scanners will flag this and mark the repo as not open source (technically incorrect, but scanners err on the side of false positives to be safe). Others can't contribute when there is a question about licensing.

So this was my mistake, and we should fix it ASAP.

Potential Solution

Because the MIT license actually does cover the documentation, the easiest path forward is to revert back to that and just make it clear by replacing all references to the CC license with references to the MIT license.

The steps would be:

  1. Find all documentation-related commits since feat: docs license #17010 was merged.
  2. Revert those documentation commits.
  3. Revert feat: docs license #17010.
  4. Ask people to resubmit the documentation from the removed commits.

It's kind of a pain, but it's the technically correct approach to this problem.

@nzakas nzakas added documentation Relates to ESLint's documentation accepted There is consensus among the team that this change meets the criteria for inclusion labels May 26, 2023
@nzakas nzakas self-assigned this May 26, 2023
@nzakas
Copy link
Member Author

nzakas commented May 26, 2023

@mdjermanovic interested to hear your thoughts on this.

@mdjermanovic
Copy link
Member

If that's the technically correct approach to the problem, then we should do it.

We should probably also not merge any other documentation-related PRs until we finish step 3.

@mdjermanovic
Copy link
Member

mdjermanovic commented May 27, 2023

  1. Find all documentation-related commits since feat: docs license #17010 was merged.

Commits that had changes in the docs/**/*.md files:

@mdjermanovic
Copy link
Member

Step 2: #17227

@nzakas
Copy link
Member Author

nzakas commented May 29, 2023

We should probably also not merge any other documentation-related PRs until we finish step 3.

Definitely. Ideally, we put the new license notice in place and ask people on existing PRs to rebase on top of main so the lineage is clear.

@aladdin-add
Copy link
Member

step 3: #17231

@nzakas nzakas added the tsc agenda This issue will be discussed by ESLint's TSC at the next meeting label Jun 1, 2023
@nzakas
Copy link
Member Author

nzakas commented Jun 1, 2023

TSC Summary: This issue outlines the steps needed to fix our documentation license issue.

TSC Question: What is the plan for making these changes? Should it be done before, with, or after the release?

@ollie-iterators
Copy link

TSC Summary: This issue outlines the steps needed to fix our documentation license issue.

TSC Question: What is the plan for making these changes? Should it be done before, with, or after the release?

Does it matter if both of them get merged?

@mdjermanovic mdjermanovic removed the tsc agenda This issue will be discussed by ESLint's TSC at the next meeting label Jun 5, 2023
@mdjermanovic
Copy link
Member

In the 2023-06-01 TSC Meeting, we decided to make these changes after the release (after we close the release issue #17210).

@ollie-iterators timing matters because merging #17227 makes docs being out-of-sync with the code and releases update the latest version of the docs at https://eslint.org/docs/latest with the content from the main branch. Now we have time to get the docs changes back into the main branch (step 4) before the next release.

@mdjermanovic
Copy link
Member

Steps 1-3 are finished now.

Definitely. Ideally, we put the new license notice in place and ask people on existing PRs to rebase on top of main so the lineage is clear.

@nzakas Should we put the new license notice now, before we ask people to resubmit the documentation from the removed commits and before we ask people to rebase existing PRs?

@nzakas
Copy link
Member Author

nzakas commented Jun 6, 2023

Yes, let’s get the new license notice in before merging anything else.

@mdjermanovic
Copy link
Member

Yes, let’s get the new license notice in before merging anything else.

#17248

aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add pushed a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add added a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add added a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add added a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add added a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
aladdin-add added a commit to aladdin-add/eslint that referenced this issue Jun 15, 2023
@aladdin-add
Copy link
Member

closing as fixed.

@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Dec 19, 2023
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
Archived in project
Development

No branches or pull requests

4 participants