silverstripe / silverstripe/module-standardiser

Get --update-prs flag to create new PR if no existing PR

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

Nobody has claimed this yet.

affects/v4 affects/v5 impact/medium type/enhancement
Dominant language
PHP
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If the --update-prs flag has been used, and there is no existing PR for a repo, then create a new PR for this repo i.e. same was as if the --update-prs flag wasn't used

See comment https://github.com/silverstripe/module-standardiser/pull/2#issuecomment-1676583527

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 tracing handling of the --update-prs flag and the existing pull-request creation path, then inspect the linked pull-request comment for context. Done means a repository with no existing PR follows the same new-PR behavior when --update-prs is supplied, with the relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.