Skip to content

[chore] Symlink README and duplicate LICENSE files#1859

Merged
Drarig29 merged 3 commits into
masterfrom
corentin.girard/license-and-readmes
Sep 24, 2025
Merged

[chore] Symlink README and duplicate LICENSE files#1859
Drarig29 merged 3 commits into
masterfrom
corentin.girard/license-and-readmes

Conversation

@Drarig29

@Drarig29 Drarig29 commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

What and why?

This PR prepares the release of all packages by duplicating the LICENSE file in every package, and it moves the root README.md to the packages/datadog-ci folder then symlinks the root README to the package README.

We can't symlink the other way around, because npm pack ignores symlinks and would not include the packages/datadog-ci README if it was a symlink. (see npm/cli#6746)

I found another repo doing it: https://github.com/SBoudrias/Inquirer.js/blob/main/README.md

In GitHub, it will look like this:

image

How?

Copy licenses, update migration script, move the root readme, then run ln -s packages/datadog-ci/README.md README.md

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@Drarig29 Drarig29 added chores Related to the CI or developer experience datadog-ci For PRs spanning multiple commands, and repo-wide changes labels Sep 23, 2025
@Drarig29
Drarig29 marked this pull request as ready for review September 23, 2025 15:40
@Drarig29
Drarig29 requested review from a team as code owners September 23, 2025 15:40

@AntoineDona AntoineDona left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! just left one small comment 😉

Comment thread packages/base/LICENSE Outdated
@Drarig29
Drarig29 merged commit 023dc88 into master Sep 24, 2025
19 checks passed
@Drarig29
Drarig29 deleted the corentin.girard/license-and-readmes branch September 24, 2025 10:04
This was referenced Sep 24, 2025
@Drarig29 Drarig29 mentioned this pull request May 18, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience datadog-ci For PRs spanning multiple commands, and repo-wide changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants