{"id":37746350,"url":"https://github.com/kryptn/gitops-monorepo-manifest","last_synced_at":"2026-01-16T14:17:12.320Z","repository":{"id":148505135,"uuid":"620187931","full_name":"kryptn/gitops-monorepo-manifest","owner":"kryptn","description":"tooling for a gitops-driven monorepo","archived":false,"fork":false,"pushed_at":"2024-04-29T20:08:22.000Z","size":135,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-29T21:58:10.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kryptn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-28T07:43:43.000Z","updated_at":"2023-03-30T01:04:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"f575037e-a472-4978-be9c-1f19fe51075f","html_url":"https://github.com/kryptn/gitops-monorepo-manifest","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/kryptn/gitops-monorepo-manifest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptn%2Fgitops-monorepo-manifest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptn%2Fgitops-monorepo-manifest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptn%2Fgitops-monorepo-manifest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptn%2Fgitops-monorepo-manifest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kryptn","download_url":"https://codeload.github.com/kryptn/gitops-monorepo-manifest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptn%2Fgitops-monorepo-manifest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-16T14:17:12.233Z","updated_at":"2026-01-16T14:17:12.299Z","avatar_url":"https://github.com/kryptn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Manifest\n\n### A way to determine what to do with a monorepo\n\nThis tool does two primary things:\n\n- With a given target, determine if it's been changed relative to where it was branched\n- Get a git sha from the target\n    - if that target has been changed, it should be the HEAD of the current branch\n    - if that target hasn't changed, it should be the merge-base ref\n\n\n## Usage\n\n```\n❯ manifest --help\nUsage: manifest [REPO_PATH] \u003cCOMMAND\u003e\n\nCommands:\n  get-deployable-ref\n  derive\n  help                Print this message or the help of the given subcommand(s)\n\nArguments:\n  [REPO_PATH]  [default: .]\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n\n\n### The Manifest file\n\n```yaml\nbase: main\ntargets:\n  apollo:\n    path: services/apollo/*\n    activated_by:\n      - common-dependency\n\n  artemis:\n    path: services/artemis/*\n    activated_by:\n      - common-dependency\n\n  documentation:\n    path: documentation/*\n    globs:\n      - services/apollo/docs/*\n      - services/artemis/docs/*\n\n  common-dependency:\n    path: packages/common/*\n    resistance: 1\n```\n\n| spec | description |\n| ---- | ----------- |\n`.base` | the branch every branch will be compared against\n`.targets[]` | the name of the target\n`.targets[].path` | the path for the target\n`.targets[].resistance` | when forced, it takes this many flags to activate it\n`.targets[].globs[].` | an additional list of paths that will activate the target\n`.targets[].activated_by[].` | a list of targets that will activate this target when activated\n\n## Github Actions\n\nBuilt with github actions in mind, there's a couple flags that'll write to files provided by github actions.\n\n`--actions-output` will append three outputs to the file `$GITHUB_OUTPUT`\n\n- `manifest`, a encoded json object with derived manifest output\n- `changed_targets`, an encoded json list of targets that have changed\n- `unchanged_targets`, an encoded json list of targets that have not changed\n\n`--step-summary` will write a pretty-printed json manifest into the file at `$GITHUB_STEP_SUMMARY` and will show on the summary page for your github action.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkryptn%2Fgitops-monorepo-manifest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkryptn%2Fgitops-monorepo-manifest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkryptn%2Fgitops-monorepo-manifest/lists"}