Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Latest commit

 

History

History
64 lines (57 loc) · 1.74 KB

Developing.md

File metadata and controls

64 lines (57 loc) · 1.74 KB

Developing

Tools for developing

How to develop

  • Checkout the repo
  • Open it with Visual Studio
  • Build it
  • Optional: Build the Dockerfile with docker build

How to test

Sample files for testing:

launchSettings.json

  • located under PullDetachedRemote/Properties
{
  "profiles": {
    "PDR - GenConf": {
      "commandName": "Project",
      "commandLineArgs": "--genconf config.yml"
    },
    "PDR - Conf": {
      "commandName": "Project",
      "commandLineArgs": "--config config.yml --GITHUB_PAT=xxx"
    },
    "PDR - CMD": {
      "commandName": "Project",
      "commandLineArgs": "[email protected] --identityuser=\"Test Test\" --prlabels \"upstream\" --clonemode=CLONE_ALWAYS --originrepo=https://github.com/<owner>/forked --originbranch=an-update --upstreamrepo=https://github.com/<owner>/fork-base --upstreambranch=master --GITHUB_PAT=xxx"
    }
  }
}

config.yml

IdentityEmail: [email protected]
IdentityUsername: Test Test
PRMetaInfo:
  Assignees: []
  Reviewers: []
  Labels: ['upstream']
PathToWorkingRepo: test
CloneMode: CLONE_ALWAYS
OriginRepo: https://github.com/<owner>/forked
OriginBranch: an-update
UpstreamRepo: https://github.com/<owner>/fork-base
UpstreamBranch: master
OriginUpdateBranch: 
UpstreamCredMode: AUTO