nodejs / nodejs/citgm

Enable testing a Github branch other than master

Open
#279 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement semver-minor
Dominant language
JavaScript
Stars
605
Forks
157
Avg merge
3d 23h
Merged PRs (30d)
3

Description

It is currently possible to use citgm to test the master branch with the following lookup.json options:

"master": true,
"repo": "https://github.com/org/repo",
"replace": true

However, there's no way to select a different branch, which makes it harder to use CitGM for development.

The fix would be to have the option "branch": "my_branch" instead of "master": true. We can alias "master": true to "branch": "master" for backwards compatibility.

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 how citgm reads lookup.json and handles the existing "master": true option. Add support for selecting a named branch while preserving the existing master behavior, then verify both configurations against the relevant test or command paths identified in the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
testing-qa, 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.