Jakub Sokołowski
60dbc0dbd5
I added CLI flags so this could be easily re-used: ```sh > node import.js --help Usage: import [options] Options: -t, --github-token <token> API token for GitHub -o, --github-org <name> Name of GitHub Organization (default: "status-im") -p, --project-number <number> Number of GitHub Project from URL -r, --repos-regex <regex> Regex to match repos (default: "^status-(react|desktop|web)$") -d, --dry-run Only list issues, do not import (default: false) -h, --help display help for command ``` I also wanted to import Infra issues to my own Project: https://github.com/orgs/status-im/projects/73/views/1 And managed do do this using: ```sh node import.js -p 73 -r '^infra-.*$' ``` I also dropped use of REST API to fetch issues and used GraphQL instead. Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.env.example | ||
.gitignore | ||
README.md | ||
import.js | ||
jsconfig.json | ||
package.json | ||
webhooks.js | ||
yarn.lock |