Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon pipeline to collect pygments symbols #1179

Merged
merged 7 commits into from
Apr 26, 2024
Merged

Addon pipeline to collect pygments symbols #1179

merged 7 commits into from
Apr 26, 2024

Conversation

keshav-space
Copy link
Member

Refrence: nexB/purldb#399

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Looking fine ... though make this a n add-on pipeline and add an end to end test to run the pipeline too.

scanpipe/pipelines/collect_pygments_symbols.py Outdated Show resolved Hide resolved
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Copy link
Member

@tdruez tdruez left a comment

Choose a reason for hiding this comment

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

@keshav-space See my comment.

Also, you need to add the new pipeline in built-in-pipelines.rst

Also, @pombredanne , do we actually need 3 pipelines for symbol/string collection?

collect_pygments_symbols = scanpipe.pipelines.collect_pygments_symbols:CollectPygmentsSymbolsAndStrings
collect_source_strings = scanpipe.pipelines.collect_source_strings:CollectSourceStrings
collect_symbols = scanpipe.pipelines.collect_symbols:CollectSymbols

scanpipe/pipes/symbols.py Outdated Show resolved Hide resolved
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@tdruez tdruez merged commit 0bdb8d3 into main Apr 26, 2024
9 checks passed
@tdruez tdruez deleted the pygments-pipeline branch April 26, 2024 05:40
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.

None yet

3 participants