dcs-branch-merger
v1.4.1
Published
A package for merging branches through the DCS API.
Downloads
77
Maintainers
Keywords
Readme
dcs-branch-merger
A package for merging branches with the DCS API.
Demo: https://unfoldingword.github.io/dcs-branch-merger/
To run locally:
- clone it
- install dependencies:
npm install
- run:
npm run start
- point browser to
localhost:6060
You must supply values server, owner, repo, userName, userBranch, and tokenid. Some sample values are hardcoded, but not the token.
To get an access token:
- go to https://qa.door43.org/api/swagger#/user/userCreateToken
- click the lock icon and enter username and password to QA DCS
- then fill out the form and execute (I put cecil.new in both places)
- curl and results are below.
- the access token is the value for the sha1 attribute.
Curl:
Response:
To reset test repository
To reset, just delete it (make sure you're doing this on qa!), then go to + => New Migration => Gitea and just put https://git.door43.org/dcs-poc-org/en_tn as the URL, and change Owner to dcs-poc-org (you must be a member) and the repo name should be populated already (en_tn)