You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm using this command: poetry run cyclonedx-bom -p -i poetry.lock -o cyclonedx-bom.xml --force which generates report with all requirements.
I think we need flag which disable scan of dev-requirements.
Activity
jkowalleck commentedon Jun 20, 2022
Sounds reasonable.
Pull requests are welcome.
Do you want to give it a try?
[-]Skip dev-requirements in report[/-][+][POETRY] Skip dev-requirements in report[/+][-][POETRY] Skip dev-requirements in report[/-][+][POETRY] option to omit dev-requirements[/+]camillem commentedon Sep 12, 2022
Hi, I have a need which is similar but a bit different : that would be to have dev-requirements dependencies not omitted but flagged as such. May be by setting the field
https://cyclonedx.org/docs/1.4/json/#components_items_scope to "optional" for dev-requirements and to "required" for others.
jkowalleck commentedon Sep 12, 2022
is there some property in CycloneDX that describes a component as a "dev-dependency"? I suppose not.
@madpah So to publish this as a custom property, it would start with a taxonomy definition. ala
cdx:npm:package:developmentin https://github.com/CycloneDX/cyclonedx-property-taxonomy/blob/main/cdx/npm.mdcamillem commentedon Sep 13, 2022
Would it be something like that https://github.com/camillem/cyclonedx-property-taxonomy/blob/main/cdx/poetry.md ?
(and should I open a new issue, as we have diverged a bit from the initial topic?)
jkowalleck commentedon Sep 13, 2022
re: #374 (comment)
yes. an own issue https://github.com/CycloneDX/cyclonedx-property-taxonomy would be good, to discuss the initial needs.
The PR would then be created by the @CycloneDX/python-maintainers
and yes, an own issue regarding poetry driven properties would be good, too. - as the original request in this issue was about omitting data.
jkowalleck commentedon Oct 3, 2022
@camillem , @rugleb , the proposal was
mademerged - see CycloneDX/cyclonedx-property-taxonomy#29if you'd like, you could start with a implementation. or a draft, or ProveOfConcept. :-D
camillem commentedon Oct 14, 2022
@jkowalleck : thanks! Currently trying to come up with a draft/ PoC :-)
jkowalleck commentedon Dec 22, 2022
@rugleb @camillem this issue was superseded by #474