Skip to content

Conversation

@roduran-dev
Copy link
Contributor

@roduran-dev roduran-dev commented Dec 2, 2025

The library is not publish en pypi yet.

Closes Osidb-4661

@roduran-dev roduran-dev force-pushed the OSIDB-4661_purl_library branch 4 times, most recently from 2056571 to 7d9ff98 Compare December 2, 2025 12:12
@roduran-dev roduran-dev force-pushed the OSIDB-4661_purl_library branch from 7d9ff98 to c013082 Compare December 2, 2025 12:17
import re
import uuid

import particular_purl_parse as purl_parser
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The method and the new library's function had the same name ps_component_from_purl.

having ps_component_from_purl inside ps_component_from_purl seemed like it would cause confusion and renaming ps_component_from_purl seemed also wrong and particular_purl_parse.ps_component_from_purl seems too long so I rename the library to just do purl_parser.ps_component_from_purl

"markdown>=3.3.6",
"nvdlib>=0.7.6",
"packageurl-python>=0.16.0",
"particular-purl-parse @ git+https://github.com/RedHatProductSecurity/particular-purl-parse.git#subdirectory=py",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This library is not publish on Pypi so I use the library.

@roduran-dev roduran-dev requested a review from a team December 2, 2025 12:48
@roduran-dev roduran-dev self-assigned this Dec 2, 2025
@roduran-dev roduran-dev marked this pull request as ready for review December 2, 2025 12:48
Copy link
Contributor

@Elkasitu Elkasitu left a comment

Choose a reason for hiding this comment

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

Nothing wrong with the code per se, but I think we should get the library in proper shape before using it in downstream projects:

  1. set up tests in the library, should be a txt/json file of inputs/outputs that should be ran by the TS and PY libraries
  2. document if needed
  3. deploy to at least PyPI, optionally NPM

@roduran-dev
Copy link
Contributor Author

Nothing wrong with the code per se, but I think we should get the library in proper shape before using it in downstream projects:

  1. set up tests in the library, should be a txt/json file of inputs/outputs that should be ran by the TS and PY libraries
  2. document if needed
  3. deploy to at least PyPI, optionally NPM

I saw some tests in the library but I think what you're asking is a bit different.

@MrMarble and @superbuggy do you think you could add this to the project? (If not maybe at just publish in Pypi)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants