Support multi-argument build and deploy commands
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 210
- Forks
- 36
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
To support deployment of Yarn modern projects, the command yarn npm publish needs to be supported. As it stands this is not supported properly though; build_as_code_check will only need to see the argument publish within the parsed command and nothing else to accept. As such updates need to be made to support scenarios like this; i.e., checking the command properly matches potentially multiple arguments.
For completeness and preventing against any similar future issues, similar changes should be made to build_service_check to do the same for potentially multi-argument build commands.
Contributor 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.
Research direction
Start by locating the build_as_code_check and build_service_check entry points and read how each parses and matches commands. Update the matching behavior so multi-argument commands such as yarn npm publish are accepted when the required argument is present, and verify both build and deploy scenarios with the existing test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100