{"id":18266291,"url":"https://github.com/ssube/cautious-journey","last_synced_at":"2026-02-03T01:02:59.275Z","repository":{"id":40416997,"uuid":"286865624","full_name":"ssube/cautious-journey","owner":"ssube","description":"label manager and state machine for Github and Gitlab","archived":false,"fork":false,"pushed_at":"2024-04-27T18:02:27.000Z","size":1529,"stargazers_count":2,"open_issues_count":12,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-27T19:22:09.472Z","etag":null,"topics":["github-labels","github-workflow","gitlab-label","gitlab-workflow","labels","state-machine","workflow"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssube.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-11T23:03:19.000Z","updated_at":"2024-04-27T19:22:22.335Z","dependencies_parsed_at":"2024-04-27T19:22:12.737Z","dependency_job_id":"707b3cfb-e5c4-4615-8259-b2931258b212","html_url":"https://github.com/ssube/cautious-journey","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssube%2Fcautious-journey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssube%2Fcautious-journey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssube%2Fcautious-journey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssube%2Fcautious-journey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssube","download_url":"https://codeload.github.com/ssube/cautious-journey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223159813,"owners_count":17097534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-labels","github-workflow","gitlab-label","gitlab-workflow","labels","state-machine","workflow"],"created_at":"2024-11-05T11:22:45.558Z","updated_at":"2026-02-03T01:02:59.220Z","avatar_url":"https://github.com/ssube.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cautious Journey\n\n\u003cp align=\"center\"\u003e\n  \u003cimg align=\"center\" src=\"docs/logo.png\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n Label manager and state machine, for Github and Gitlab.\n\u003c/p\u003e\n\n## Features\n\n- create, delete, and update project labels\n- add and remove issue labels\n- mutually-exclusive label groups\n- state machine between group values\n- `dot` graph output\n- supports Github and Gitlab\n\n## Contents\n\n- [Cautious Journey](#cautious-journey)\n  - [Features](#features)\n  - [Contents](#contents)\n  - [Status](#status)\n  - [Releases](#releases)\n  - [Usage](#usage)\n    - [Running with Docker](#running-with-docker)\n    - [Running with Yarn](#running-with-yarn)\n    - [Logging with Bunyan](#logging-with-bunyan)\n    - [Graphing with GraphViz](#graphing-with-graphviz)\n  - [Build](#build)\n  - [License](#license)\n\n## Status\n\n[![Pipeline status](https://img.shields.io/gitlab/pipeline/ssube/cautious-journey.svg?gitlab_url=https%3A%2F%2Fgit.apextoaster.com\u0026logo=gitlab)](https://git.apextoaster.com/ssube/cautious-journey/commits/master)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=ssube_cautious-journey\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=ssube_cautious-journey)\n[![Test coverage](https://codecov.io/gh/ssube/cautious-journey/branch/master/graph/badge.svg)](https://codecov.io/gh/ssube/cautious-journey)\n[![MIT license](https://img.shields.io/github/license/ssube/cautious-journey.svg)](https://github.com/ssube/cautious-journey/blob/master/LICENSE.md)\n\n[![Open bug count](https://img.shields.io/github/issues-raw/ssube/cautious-journey/type-bug.svg)](https://github.com/ssube/cautious-journey/issues?q=is%3Aopen+is%3Aissue+label%3Atype%2Fbug)\n[![Open issue count](https://img.shields.io/github/issues-raw/ssube/cautious-journey.svg)](https://github.com/ssube/cautious-journey/issues?q=is%3Aopen+is%3Aissue)\n[![Closed issue count](https://img.shields.io/github/issues-closed-raw/ssube/cautious-journey.svg)](https://github.com/ssube/cautious-journey/issues?q=is%3Aissue+is%3Aclosed)\n\n[![Renovate badge](https://badges.renovateapi.com/github/ssube/cautious-journey)](https://renovatebot.com)\n[![Dependency status](https://img.shields.io/librariesio/github/ssube/cautious-journey)](https://libraries.io/github/ssube/cautious-journey)\n[![Known vulnerabilities](https://snyk.io/test/github/ssube/cautious-journey/badge.svg)](https://snyk.io/test/github/ssube/cautious-journey)\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/599b7b2382601f95d7a5/maintainability)](https://codeclimate.com/github/ssube/cautious-journey/maintainability)\n[![Technical debt ratio](https://img.shields.io/codeclimate/tech-debt/ssube/cautious-journey.svg)](https://codeclimate.com/github/ssube/cautious-journey/trends/technical_debt)\n[![Quality issues](https://img.shields.io/codeclimate/issues/ssube/cautious-journey.svg)](https://codeclimate.com/github/ssube/cautious-journey/issues)\n[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/ssube/cautious-journey.svg?logo=lgtm)](https://lgtm.com/projects/g/ssube/cautious-journey/context:javascript)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/ssube/cautious-journey.svg)](https://lgtm.com/projects/g/ssube/cautious-journey/alerts/)\n\n## Releases\n\n[![github release link](https://img.shields.io/badge/github-release-blue?logo=github)](https://github.com/ssube/cautious-journey/releases)\n[![github release version](https://img.shields.io/github/tag/ssube/cautious-journey.svg)](https://github.com/ssube/cautious-journey/releases)\n[![github commits since release](https://img.shields.io/github/commits-since/ssube/cautious-journey/v0.1.0.svg)](https://github.com/ssube/cautious-journey/compare/v0.1.0...master)\n\n[![npm package link](https://img.shields.io/badge/npm-package-blue?logo=npm)](https://www.npmjs.com/package/cautious-journey)\n[![npm release version](https://img.shields.io/npm/v/cautious-journey.svg)](https://www.npmjs.com/package/cautious-journey)\n[![Typescript definitions](https://img.shields.io/npm/types/cautious-journey.svg)](https://www.npmjs.com/package/cautious-journey)\n\n## Usage\n\ncautious-journey can be installed as a Docker image or an npm package:\n\n```shell\n\u003e docker pull ssube/cautious-journey\n\u003e yarn global add cautious-journey\n```\n\n### Running with Docker\n\n```shell\n\u003e docker run --rm --it ssube/cautious-journey --help\n\nUsage: cautious-journey \u003cmode\u003e [options]\n\nCommands:\n  index.js graph-labels   graph label state changes\n  index.js sync-issues    sync issue labels\n  index.js sync-projects  sync project labels\n\nOptions:\n  --help         Show help                                             [boolean]\n  --version      Show version number                                   [boolean]\n  --config, -c                                               [string] [required]\n  --dryrun, -d                                         [boolean] [default: true]\n  --project, -p                                                          [array]\n```\n\nDocker provides a single output stream, regardless of logger configuration. When running `graph-labels`, turning\nthe `logger.level` to `warn` or `error` will suppress log messages that could confuse `dot`.\n\n### Running with Yarn\n\n```shell\n$(yarn global bin)/cautious-journey --help\n```\n\nYarn will install a copy of the latest `cautious-journey` package into your `$(yarn global dir)` path.\n\n### Logging with Bunyan\n\n```shell\n$(yarn global bin)/cautious-journey sync-issues | $(yarn global bin)/bunyan\n```\n\nPiping logs through `bunyan` will pretty-print the JSON records that `cautious-journey` emits. When running with\n`docker`, note that all program output will be combined into a single stream.\n\nYou can also use `jq` to format or filter messages. Logs are line-delimited JSON.\n\n### Graphing with GraphViz\n\n```shell\n$(yarn global bin)/cautious-journey graph-labels | dot -Tpng -o /tmp/labels.png\nsensible-browser /tmp/labels.png\n```\n\nMore details can be found in the [getting started guide](./docs/getting-started.md#graphing).\n\n## Build\n\ncautious-journey is built with `make`, `node`, and `yarn`. The [developer guide](./docs/dev.md#setup) has steps\nfor installing these, or you can use a container that provides them.\n\nNode 12 or better is required, along with Yarn 1.x or better.\n\n## License\n\nReleased under [the MIT license](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssube%2Fcautious-journey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssube%2Fcautious-journey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssube%2Fcautious-journey/lists"}