oracle / oracle/macaron

Support multi-argument build and deploy commands

Open
#493 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build_tools
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.