Financial-Times / nori

🍙 exploratory command-line tool to make changes across multiple repositories & track their progress
MIT License
11 stars 0 forks source link

Nori stuck in input validation for PR details #78

Closed umbobabo closed 5 years ago

umbobabo commented 5 years ago

Nori (https://registry.npmjs.org/nori/-/nori-2.0.0-beta.5.tgz) seems to get stuck in validation and is not clear what the problem is:

Screenshot 2019-05-20 at 16 42 38

The script seems to work well

cat > CODEOWNERS <<- EOM
# See https://help.github.com/articles/about-codeowners/ for more information about this file.

*bla.bal@something.com
EOM

git add .
git commit -m "Update owner"

cause I see the change in the logs of the repo that Nori cloned. I haven't configure Tako at the moment so my config look similar to:

{"githubAccessToken":"<MY-TOKEN>","takoHost":"","takoToken":""}

and this is my .nori.json file

{
  "data": {
    "repos": [
      {
        "owner": "Financial-Times",
        "name": "next-mship-mock-api"
      }
    ],
    "branches": [
      "renovate-owner"
    ]
  },
  "steps": [
    {
      "name": "file",
      "args": {
        "_": [],
        "$0": "nori",
        "githubAccessToken": "<MY_TOKEN>",
        "takoHost": "",
        "takoToken": "",
        "stateFile": "/Users/<me>/.config/nori-workspace/renovate.nori.json",
        "createStateFile": true,
        "file": "/Users/<me>/ft/conversion-repos.txt"
      }
    },
    {
      "name": "run-script",
      "args": {
        "_": [],
        "$0": "nori",
        "githubAccessToken": "<MY_TOKEN>",
        "takoHost": "",
        "takoToken": "",
        "stateFile": "/Users/<me>/.config/nori-workspace/renovate.nori.json",
        "createStateFile": true,
        "script": "/Users/<me>/ft/assign-owner.sh",
        "branch": "renovate-owner"
      }
    }
  ]
}