mojotech / mojotech/pullr

So close to what I need

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
32
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I tried to hack on this and make it support my local corporate repos, but no dice.

program
  .version(package.version)
  .option('-g, --github_location <url>', 'url of github')
  ...
return {
    github_location : github_location,
   ...
var url = options.github_location + '/repos/' + options.intoOwner + '/' + options.intoRepo + '/pulls',
      repo = options.intoRepo,
      head = options.fromOwner + ':' + options.fromBranch,
      base = options.intoBranch;

But no dice. Am I missing something?

Tried calling it like:

c:\wk\ms-attraction-reservations>"C:\Program Files\nodejs\node.exe" c:\wk\pullr -g https://mygituub.net -n -l -t "Sonar Jenkins Update" -d "Update Jenkins file so it supports develop branch as opposed to all branches together" -I "develop" -f origin/feature/US32497-1_Sonar -p --plaintext

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 reproducing the Windows command with the shown -g/--github_location option. Trace how that option is parsed and passed into the pull-request URL construction shown in the issue, then compare the request against the documented custom GitHub endpoint. Done means the command can target the reported corporate GitHub host, with a test or reproduction result covering that invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.