{"id":17961542,"url":"https://github.com/k-nasa/gid","last_synced_at":"2025-03-25T04:31:10.888Z","repository":{"id":37887320,"uuid":"479587220","full_name":"k-nasa/gid","owner":"k-nasa","description":"Help project managers and project owners with easy-to-understand views of github issue dependencies.","archived":false,"fork":false,"pushed_at":"2023-09-04T12:37:48.000Z","size":338,"stargazers_count":67,"open_issues_count":13,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T22:36:07.389Z","etag":null,"topics":["cli","developer-experience","github","github-actions","project-management","rust"],"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/k-nasa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":["k-nasa"],"custom":["https://twitter.com/nasa_desu"]}},"created_at":"2022-04-09T01:37:01.000Z","updated_at":"2024-12-18T01:34:23.000Z","dependencies_parsed_at":"2024-06-21T14:23:55.461Z","dependency_job_id":"8428ee4a-09c1-48e9-bac7-8aad03fa28fb","html_url":"https://github.com/k-nasa/gid","commit_stats":{"total_commits":163,"total_committers":2,"mean_commits":81.5,"dds":0.2576687116564417,"last_synced_commit":"724d7699c0151c6946ec3db231819dead456e929"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-nasa%2Fgid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-nasa%2Fgid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-nasa%2Fgid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-nasa%2Fgid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-nasa","download_url":"https://codeload.github.com/k-nasa/gid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401360,"owners_count":20609161,"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":["cli","developer-experience","github","github-actions","project-management","rust"],"created_at":"2024-10-29T11:09:38.627Z","updated_at":"2025-03-25T04:31:10.575Z","avatar_url":"https://github.com/k-nasa.png","language":"Rust","funding_links":["https://github.com/sponsors/k-nasa","https://twitter.com/nasa_desu"],"categories":[],"sub_categories":[],"readme":"## gid (Grasp issue dependencies)\n\n[![Actions Status](https://github.com/k-nasa/gid/workflows/CI/badge.svg)](https://github.com/k-nasa/gid/actions)\n[![crate-name at crates.io](https://img.shields.io/crates/v/gid_cli.svg)](https://crates.io/crates/gid_cli)\n[![GitHub license](https://img.shields.io/github/license/k-nasa/gid)](https://github.com/k-nasa/gid/blob/main/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/k-nasa/gid?style=social)](https://github.com/k-nasa/gid/stargazers)\n\nHelp project managers and project owners with easy-to-understand views of github issue dependencies.\n\n\u003cimg width=\"640\" alt=\"スクリーンショット 2022-04-10 10 36 22\" src=\"https://user-images.githubusercontent.com/23740172/162638576-77ce945e-1b46-43af-a824-44798067be55.png\"\u003e\n\nThis tool can be used on github action or the command line.\nBasically, it is supposed to be used in Github Action.\n\n\nIt relies on GitHub's builtin mermaid support. The output format may increase in the future.\n\nCurrently it only supports analysis with the [tracking feature of GitHub issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists).\nIssue Description tasks and issue link analysis will be added in the future.\n\n## DEMO\n\n### [GitHub Actions](https://github.com/marketplace/actions/grasp-issue-dependencies)\n\n\n\n\nhttps://user-images.githubusercontent.com/23740172/162850243-bd4e0df7-726c-4d89-829a-d2ef929298d0.mp4\n\n\n\nAdding the following workflow will analyze the issue every minute and comment on the diagram. (This is an example of parsing an issue labeled \"root\".)\n\n```yml\nname: Comment gid\n\non:\n  workflow_dispatch:\n  issues:\n    types: [\n      opened,\n      edited,\n      deleted,\n      closed,\n      reopened,\n      labeled,\n    ]\n\nconcurrency:\n  group: single\n  cancel-in-progress: true\n\njobs:\n  grasp_issue:\n    runs-on: ubuntu-latest\n    name: Grasp issue dependencies\n    steps:\n      - uses: actions/checkout@v3\n      - uses: k-nasa/gid@main\n        with:\n          label: 'root' # Analyze the issue with the specified label\n          github_token: ${{secrets.GITHUB_TOKEN}}\n```\n\nComment by github actions.\n\n\u003cimg width=\"934\" alt=\"スクリーンショット 2022-04-10 0 20 35\" src=\"https://user-images.githubusercontent.com/23740172/162580458-c81677c0-f171-4eda-8e8b-c9b9bff38691.png\"\u003e\n\n### CLI\n\nLet's analyze [issue 1](https://github.com/k-nasa/gid/issues/1) as a trial.\n\n```sh\ngid -o k-nasa -r gid -i 1\n```\n\nThis command outputs the following figure. (To be exact, the mermaid script that is the basis of the figure is output.)\n\n```mermaid\ngraph LR\n\nclassDef CLOSED fill:#8256d0,color:#FFFFFF,stroke-width:0px;\nclassDef OPEN fill:#347d39,color:#FFFFFF,stroke-width:0px;\n\n2 --\u003e 4[\"Child 1\"]:::CLOSED\n2 --\u003e 5[\"Child 2\"]:::CLOSED\n2 --\u003e 6[\"Child 3\"]:::CLOSED\n7 --\u003e 8[\"Child 2\"]:::OPEN\n7 --\u003e 9[\"Child 1\"]:::OPEN\n9 --\u003e 10[\"Grandchild1\"]:::OPEN\n9 --\u003e 11[\"Grandchild2\"]:::CLOSED\n1 --\u003e 2[\"DEMO 1\"]:::CLOSED\n1 --\u003e 3[\"DEMO2\"]:::OPEN\n1 --\u003e 7[\"DEMO3\"]:::OPEN\n\nclick 4 href \"https://github.com/k-nasa/gid/issues/4\" _blank\nclick 5 href \"https://github.com/k-nasa/gid/issues/5\" _blank\nclick 6 href \"https://github.com/k-nasa/gid/issues/6\" _blank\nclick 8 href \"https://github.com/k-nasa/gid/issues/8\" _blank\nclick 9 href \"https://github.com/k-nasa/gid/issues/9\" _blank\nclick 10 href \"https://github.com/k-nasa/gid/issues/10\" _blank\nclick 11 href \"https://github.com/k-nasa/gid/issues/11\" _blank\nclick 2 href \"https://github.com/k-nasa/gid/issues/2\" _blank\nclick 3 href \"https://github.com/k-nasa/gid/issues/3\" _blank\nclick 7 href \"https://github.com/k-nasa/gid/issues/7\" _blank\n```\n\n## Usage\n\n```sh\ngid 0.1.0\nk-nasa \u003chtilcs1115@gmail.com\u003e\nIssue graphical tool\n\nUSAGE:\n    gid --organization \u003cORGANIZATION\u003e --repository \u003cREPOSITORY\u003e --issue-number \u003cISSUE_NUMBER\u003e\n\nOPTIONS:\n    -h, --help                           Print help information\n    -i, --issue-number \u003cISSUE_NUMBER\u003e\n    -o, --organization \u003cORGANIZATION\u003e\n    -r, --repository \u003cREPOSITORY\u003e\n    -V, --version                        Print version information\n```\n\n## Install\n\ncurl\n\n```sh\ncurl -L -o gid.tar.gz https://github.com/k-nasa/gid/releases/download/0.1.0/gid_x86_64-apple-darwin.tar.gz\ntar -zxvf gid.tar.gz\n\n# Move binary file to the path\nmv gid_x86_64-apple-darwin/gid /usr/local/bin\n```\n\ncargo\n\n\n```sh\ncargo install gid_cli\n```\n\n## Contribution\n\n1. Fork it (http://github.com/k-nasa/gid)\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create new Pull Request\n\n## License\n\n[MIT](https://github.com/k-nasa/gid/blob/master/LICENSE)\n\n## Author\n\n[k-nasa](https://github.com/k-nasa)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-nasa%2Fgid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-nasa%2Fgid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-nasa%2Fgid/lists"}