Allow to use short SPDX licence identifier for selected files#62073
Allow to use short SPDX licence identifier for selected files#62073potiuk merged 1 commit intoapache:mainfrom
Conversation
Dev-iL
left a comment
There was a problem hiding this comment.
I thank you in the name of all agents and their users!
While we have some discussion on-going whether we should use some shorter, machine-readable friendly versions of licence specification in our source code headers here [1], the notion is that: a) PMC can make judgment calls when to include different versions of the licence b) This expectation only applies to the code we actually release in our official releases. This change makes some judgment call on using much shorter, SPDX driven licence headers in some specific files: * markdown files that are intended to be consumed by agents (AGENTS.md, SKILLS.md, CLAUDE.md and so on) * all the markdown .github/* files that are clearly meta-data for GitHub and which we exclude from released sources We also make sure all those files are excluded from the official source releases and distribution packages we prepare. [1] https://lists.apache.org/thread/j1tn63r2lf13v3d1tnnqff8fkcl4nx53
b66e88e to
a2bea2d
Compare
…iles (#62073) While we have some discussion on-going whether we should use some shorter, machine-readable friendly versions of licence specification in our source code headers here [1], the notion is that: a) PMC can make judgment calls when to include different versions of the licence b) This expectation only applies to the code we actually release in our official releases. This change makes some judgment call on using much shorter, SPDX driven licence headers in some specific files: * markdown files that are intended to be consumed by agents (AGENTS.md, SKILLS.md, CLAUDE.md and so on) * all the markdown .github/* files that are clearly meta-data for GitHub and which we exclude from released sources We also make sure all those files are excluded from the official source releases and distribution packages we prepare. [1] https://lists.apache.org/thread/j1tn63r2lf13v3d1tnnqff8fkcl4nx53 (cherry picked from commit eb96837) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Backport successfully created: v3-1-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
|
@potiuk @jscheffl Please, please, don't use an incompatible format! The line
will break every license parser in existence. After the If you need to put the license URL, please put it on a separate line. Personally, I don't believe it's needed, since But in any case, don't add it to the same line! |
We should be able to use |
…iles (#62073) (#62100) While we have some discussion on-going whether we should use some shorter, machine-readable friendly versions of licence specification in our source code headers here [1], the notion is that: a) PMC can make judgment calls when to include different versions of the licence b) This expectation only applies to the code we actually release in our official releases. This change makes some judgment call on using much shorter, SPDX driven licence headers in some specific files: * markdown files that are intended to be consumed by agents (AGENTS.md, SKILLS.md, CLAUDE.md and so on) * all the markdown .github/* files that are clearly meta-data for GitHub and which we exclude from released sources We also make sure all those files are excluded from the official source releases and distribution packages we prepare. [1] https://lists.apache.org/thread/j1tn63r2lf13v3d1tnnqff8fkcl4nx53 (cherry picked from commit eb96837) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
|
I am not sure what you mean by "it looks like fit to format". Whatever comes after a The string The URL must be placed on a separate line. |
Good point. Moving it to two lines is better. Thanks @zvr -> that's a great feedback. |
|
PR here #62145 |
|
Let us know @zvr if the proposed change in #62145 is good. I want it to be as concise as possible, so the line with licence starts with the comment |
|
No worries, almost license scanning tools know to ignore initial comment markers like |
While we have some discussion on-going whether we should use some shorter, machine-readable friendly versions of licence specification in our source code headers here [1], the notion is that:
a) PMC can make judgment calls when to include different versions of
the licence
b) This expectation only applies to the code we actually release
in our official releases.
This change makes some judgment call on using much shorter, SPDX driven licence headers in some specific files:
markdown files that are intended to be consumed by agents (AGENTS.md, SKILLS.md, CLAUDE.md and so on)
all the markdown .github/* files that are clearly meta-data for GitHub and which we exclude from released sources
We also make sure all those files are excluded from the official source releases and distribution packages we prepare.
[1] https://lists.apache.org/thread/j1tn63r2lf13v3d1tnnqff8fkcl4nx53
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.