update `run` cli command to run pipelines without an input
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start in scanpipe/management/commands/run.py at the linked section where the CLI input argument is defined and validated, then follow into the pipeline execution path that rejects missing input paths. Check how a pipeline is detected and whether a no-input pipeline variant should bypass that requirement. Done means python manage.py run <pipeline> works without "" for no-input pipelines, and any run-command test coverage is updated or added for this behavior.
Written by the indexing model from the issue text.
Description
I have a pipeline that does not take an input that I would like to run using the cli, but an input location is required (https://github.com/aboutcode-org/scancode.io/blob/main/scanpipe/management/commands/run.py#L51)
As a workaround, I can run my pipeline by using python manage.py run <pipeline> "".
- Dominant language
- Python
- Stars
- 226
- Forks
- 222
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 32
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aboutcode-org/scancode.io
-
Register Missing Models in Django Admin (DiscoveredLicense, ProjectMessage, CodebaseRelation, Run, WebhookSubscription)Possibly taken @Rucha0901 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aboutcode-org/scancode.io#2329 ·
Maintainers usually reply within 1 day
-
ignored_dependency_scopes does not exclude npm devDependenciesPossibly taken @MGpromax claimed this 83 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
aboutcode-org/scancode.io#2215 ·
Maintainers usually reply within 1 day
-
Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/May be free again @akshat-lakhera claimed this 30 days ago, and no pull request is open. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
aboutcode-org/scancode.io#2206 · 1 comment ·
Maintainers usually reply within 1 day
-
Local developement docs are outdatedPossibly taken @nik-767 claimed this 125 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
aboutcode-org/scancode.io#2197 · 1 comment ·
Maintainers usually reply within 1 day
-
match_unmapped_resources ignores matched_extensions and re-sends those files to PurlDBPossibly taken @AradhyaTiwari10 claimed this 2 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 25/100
aboutcode-org/scancode.io#2338 ·
Maintainers usually reply within 1 day
All issues in aboutcode-org/scancode.io
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mohanraj00/entelos#200 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
sweep
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
bketelsen/truenas-mcp#77 ·
Maintainers usually reply within 1 day
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
sandbox-quantum/switch#2163 ·
Maintainers usually reply within 1 day