Skip to content

[pull] master from DataDog:master - #366

Merged
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master
Feb 6, 2026
Merged

[pull] master from DataDog:master#366
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master

Conversation

@pull

@pull pull Bot commented Feb 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

HadhemiDD and others added 3 commits February 6, 2026 08:52
* add legacy field for integrations

* add coredns
* collect is physical from cisco aci

* add test

* fix test
* Improve license parsing

* Add changelog

* fix(licenses): Fix validation of SPDX identifiers containing -or- and -and-

- Update _OP_SPLIT regex to use negative lookbehind/lookahead assertions
- Prevent matching "-or-" or "-and-" inside identifiers like "GPL-2.0-or-later"
- Fix fallback logic to check per-chunk instead of entire parts list
- Ensure all license identifiers are extracted from compound expressions

Rationale: The _OP_SPLIT regex was incorrectly splitting SPDX identifiers like
GPL-2.0-or-later into fragments (GPL-2.0- and -later) because \bOR\b with
re.IGNORECASE matched the lowercase "or" between hyphens. This caused valid
licenses with -or-later or -and- segments to be rejected by ddev validate
licenses. Additionally, the fallback logic bug prevented proper extraction of
multiple license identifiers from compound expressions, resulting in only the
first identifier being extracted.

This commit made by [/dd:git:commit:atomic](https://github.com/DataDog/claude-marketplace/tree/main/dd/commands/git/commit/atomic.md)

* Add type hint to parts

* fix(licenses): Remove comma as a separator in license expressions

- Remove comma from _OP_SPLIT regex separator list
- Fixes incorrect splitting of license names containing commas
- Addresses validation failures for licenses like "Apache License, Version 2.0"

Rationale: Commas are not part of the SPDX expression syntax (only AND, OR,
and WITH are valid operators). When commas appear in license strings, they are
part of the license name itself, not expression separators. The previous
implementation incorrectly split "Apache License, Version 2.0" into
["Apache License", "Version 2.0"], causing validation failures.

This commit made by [/dd:git:commit:atomic](https://github.com/DataDog/claude-marketplace/tree/main/dd/commands/git/commit/atomic.md)
@pull pull Bot locked and limited conversation to collaborators Feb 6, 2026
@pull pull Bot added the ⤵️ pull label Feb 6, 2026
@pull
pull Bot merged commit f3e6753 into ConnectionMaster:master Feb 6, 2026
10 of 12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants