Skip to content

Commit

Permalink
deprecate some cdx:proetry:...
Browse files Browse the repository at this point in the history
deprecate some properties in `cdx:proetry:...` in favor of the more general properties in `cdx:python:...`

Signed-off-by: Jan Kowalleck <jan.kowalleck@owasp.org>
  • Loading branch information
jkowalleck authored Sep 18, 2024
1 parent 3d80d6d commit 61d1739
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cdx/poetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

| Property | Description |
|----------|-------------|
| `cdx:poetry:package:source:reference` | The repository reference of this package, e.g. "master", "1.0.0" or a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:resolved_reference` | The resolved repository reference of this package, e.g. a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:reference` | **Deprecated** in favor of [`cdx:python:package:source:vcs:requested_revision`](./python.md). <br/> The repository reference of this package, e.g. "master", "1.0.0" or a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:resolved_reference` | **Deprecated** in favor of [`cdx:python:package:source:vcs:commit_id`](./python.md). <br/> The resolved repository reference of this package, e.g. a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |

| Namespace | Description |
|-----------|-------------|
Expand All @@ -31,7 +31,7 @@ This namespace is **deprecated** in favor of the more general [`cdx:python:packa

| Property | Description |
|----------|-------------|
| `cdx:poetry:package:source:vcs:requested_revision` | The repository reference of this package, e.g. "master", "1.0.0" or a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:vcs:commit_id` | The resolved repository reference of this package, e.g. a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:vcs:requested_revision` | **Deprecated** in favor of [`cdx:python:package:source:vcs:requested_revision`](./python.md). <br/> The repository reference of this package, e.g. "master", "1.0.0" or a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |
| `cdx:poetry:package:source:vcs:commit_id` | **Deprecated** in favor of [`cdx:python:package:source:vcs:commit_id`](./python.md). <br/> The resolved repository reference of this package, e.g. a commit hash for git. Values may be applied to [`externalReferences`][CDX-useCases-externalReferences] of type `vcs`. _Non-empty string value_. May appear once. |

[CDX-useCases-externalReferences]: https://cyclonedx.org/use-cases/#external-references

0 comments on commit 61d1739

Please sign in to comment.