wjmelements / wjmelements/scripts

cpr cannot create pull requests from $TRUNK

Open
#18 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
16
Forks
3
PR merge metrics
No merged PRs in 30d

Description

By design, cpr prevents you from making a pull request from the trunk branch. I want a -f option to override that behavior.

Contributor guide

No contributing guide indexed for this repository

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 cpr command's option parsing and the guard that rejects pull requests from $TRUNK. Add the -f override there, preserving the existing behavior without the flag. Done means cpr can create the pull request from $TRUNK only when -f is supplied; run the available cpr tests or command checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.