Skip to content

Commit 393cf0f

Browse files
committed
Merge remote-tracking branch 'origin/main' into 1687-codebaseresource-parent-and-top-paths
Signed-off-by: Aayush Kumar <aayush214.kumar@gmail.com>
2 parents 6ee788c + e52ddfb commit 393cf0f

21 files changed

+218
-66
lines changed

CHANGELOG.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ Changelog
44
v34.12.0 (unreleased)
55
---------------------
66

7+
- Display matched snippets details in "Resource viewer", including the package,
8+
resource, and similarity values.
9+
https://github.com/aboutcode-org/scancode.io/issues/1688
10+
11+
- Add filtering by label and pipeline in the ``flush-projects`` management command.
12+
Also, a new ``--dry-run`` option is available to test the filters before applying
13+
the deletion.
14+
https://github.com/aboutcode-org/scancode.io/pull/1690
15+
716
- Add support for using Package URL (purl) as project input.
817
This implementation is based on ``purl2url.get_download_url``.
918
https://github.com/aboutcode-org/scancode.io/issues/1383
@@ -13,6 +22,10 @@ v34.12.0 (unreleased)
1322
This generally means an issue on the MatchCode.io server side.
1423
https://github.com/aboutcode-org/scancode.io/issues/1665
1524

25+
- Upgrade Bulma CSS and Ace JS libraries to latest versions.
26+
Refine the CSS for the Resource viewer.
27+
https://github.com/aboutcode-org/scancode.io/pull/1692
28+
1629
v34.11.0 (2025-05-02)
1730
---------------------
1831

docs/command-line-interface.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,14 @@ Optional arguments:
549549

550550
scanpipe flush-projects --retain-days 7
551551

552+
- ``--dry-run`` Do not delete any projects; just print the ones that would be flushed.
553+
554+
- ``--label LABELS`` Filter projects by the provided label.
555+
Multiple labels can be provided by using this argument multiple times.
556+
557+
- ``--pipeline PIPELINES`` Filter projects by the provided pipeline name.
558+
Multiple pipeline name can be provided by using this argument multiple times.
559+
552560
- ``--no-input`` Does not prompt the user for input of any kind.
553561

554562

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ max-complexity = 10
3636
# Allow the usage of assert in the test_spdx file.
3737
"**/test_spdx.py*" = ["S101"]
3838
"scanpipe/pipes/spdx.py" = ["UP006", "UP035"]
39+
# Allow complexity in management commands
40+
"scanpipe/management/commands/*" = ["C901"]

scancodeio/static/ace-1.20.0-ext-searchbox.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

scancodeio/static/ace-1.20.0.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)