{"id":26395687,"url":"https://github.com/tamada/btmeister","last_synced_at":"2025-03-17T11:19:01.520Z","repository":{"id":36964325,"uuid":"483071389","full_name":"tamada/btmeister","owner":"tamada","description":"Detecting the build tools in use.","archived":false,"fork":false,"pushed_at":"2025-03-13T01:59:25.000Z","size":5384,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T02:36:13.280Z","etag":null,"topics":["build-tool","project-analysis"],"latest_commit_sha":null,"homepage":"https://tamada.github.io/btmeister","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/tamada.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":"2022-04-19T02:45:39.000Z","updated_at":"2025-03-13T01:59:28.000Z","dependencies_parsed_at":"2025-01-11T07:28:04.819Z","dependency_job_id":"e4ab3061-376f-4eba-80bc-92148cd5c1d2","html_url":"https://github.com/tamada/btmeister","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamada%2Fbtmeister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamada%2Fbtmeister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamada%2Fbtmeister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamada%2Fbtmeister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tamada","download_url":"https://codeload.github.com/tamada/btmeister/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022684,"owners_count":20385134,"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":["build-tool","project-analysis"],"created_at":"2025-03-17T11:19:00.889Z","updated_at":"2025-03-17T11:19:01.510Z","avatar_url":"https://github.com/tamada.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# btmeister\n\n[![build](https://github.com/tamada/btmeister/actions/workflows/build.yaml/badge.svg)](https://github.com/tamada/btmeister/actions/workflows/build.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/tamada/btmeister/badge.svg?branch=main)](https://coveralls.io/github/tamada/btmeister?branch=main)\n[![Rust Report Card](https://rust-reportcard.xuri.me/badge/github.com/tamada/btmeister)](https://rust-reportcard.xuri.me/report/github.com/tamada/btmeister)\n\n[![Version](https://img.shields.io/badge/Version-v0.7.4-green)](https://github.com/tamada/btmeister/releases/tag/v0.7.4)\n[![License](https://img.shields.io/badge/License-MIT-green)](https://github.com/tamada/btmeister/blob/main/LICENSE)\n\n[![Docker](https://img.shields.io/badge/Docker-ghcr.io/tamada/btmeister:0.7.4-blue?logo=docker)](https://github.com/tamada/btmeister/pkgs/container/btmeister/)\n[![Homebrew](https://img.shields.io/badge/Homebrew-tamada/tap/btmeister-blue?logo=homebrew)](https://github.com/tamada/homebrew-tap)\n\nDetecting the build tools in use.\n\n![btmeister_logo](https://raw.githubusercontent.com/tamada/btmeister/main/site/static/images/logo.png)\n\n## :speaking_head: Description\n\nThis tool aims to detect the build tools in use for the project for surveying the share of the build tools.\nThe build tools build a project along with the rules defined in the build files.\nThe default names of the build files are fixed for each build tool.\nThis tool finds the build files from the specified directories, and identifies the build tools in use.\n\n## :runner: Usage\n\n```sh\nDetecting build tools/task runners in use of the projects\n\nUsage: btmeister [OPTIONS] [PROJECTs]...\n\nArguments:\n  [PROJECTs]...  The target project paths. If \"-\" was given, reads from stdin.\n                 Also, the first character was \"@\", read from the file eliminating \"@\".\n                 This parameters accept directories and archive files.\n                 Supported archive files: tar, tar.bz2, tar.gz, tar.xz, tar.zstd, and zip.\n\nOptions:\n  -D, --definition \u003cDEFS_JSON\u003e     Specify the definition of the build tools.\n      --append-defs \u003cDEFS_JSON\u003e    Specify the additional definitions of the build tools.\n  -i, --ignore-type \u003cIGNORE_TYPE\u003e  Specify the ignore type. [default: default] [possible values: default, hidden, ignore, git-ignore, git-global, git-exclude]\n  -e, --excludes \u003cEXCLUDEs\u003e        Specify the filters of excluding files or directories.\n  -L, --list-defs                  Print the build tools' definition list\n  -f, --format \u003cFORMAT\u003e            Specify the output format [default: default] [possible values: csv, default, json, markdown, xml, yaml]\n  -l, --level \u003cLEVEL\u003e              Specify the log level. [default: warn] [possible values: error, warn, info, debug, trace]\n  -h, --help                       Print help (see more with '--help')\n  -V, --version                    Print version\n```\n\n### Sample Output\n\n```sh\n$ btmeister ~/github.com/tamada/gibo-wrapper\n/home/tamada/github.com/tamada/gibo-wrapper\n    Cargo.toml: Cargo\n    Dockerfile: Docker\n    build.rs: Cargo\n    .github/workflows/publish.yaml: GitHub Actions\n    .github/workflows/docker.yaml: GitHub Actions\n    .github/workflows/versionup.yaml: GitHub Actions\n    .github/workflows/build.yaml: GitHub Actions\n$ btmeister --format json ~/github.com/tamada/gibo-wrapper | jq .\n[\n  {\n    \"base\": \"/home/tamada/github.com/tamada/gibo-wrapper\",\n    \"build-tools\": [\n      {\n        \"path\": \"Cargo.toml\",\n        \"tool-name\": \"Cargo\"\n      },\n      {\n        \"path\": \"Dockerfile\",\n        \"tool-name\": \"Docker\"\n      },\n      {\n        \"path\": \"build.rs\",\n        \"tool-name\": \"Cargo\"\n      },\n      {\n        \"path\": \".github/workflows/publish.yaml\",\n        \"tool-name\": \"GitHub Actions\"\n      },\n      {\n        \"path\": \".github/workflows/docker.yaml\",\n        \"tool-name\": \"GitHub Actions\"\n      },\n      {\n        \"path\": \".github/workflows/versionup.yaml\",\n        \"tool-name\": \"GitHub Actions\"\n      },\n      {\n        \"path\": \".github/workflows/build.yaml\",\n        \"tool-name\": \"GitHub Actions\"\n      }\n    ]\n  }\n]\n```\n\n## :whale: Docker\n\n[![Docker](https://img.shields.io/badge/Docker-ghcr.io/tamada/btmeister:0.7.4-blue?logo=docker)](https://github.com/tamada/btmeister/pkgs/container/btmeister/)\n\n```sh\ndocker run --rm -it -v $PWD:/app ghcr.io/tamada/btmeister:latest .\n```\n\n* Container OS\n  * Working directory: `/app`\n  * entry point: `/opt/btmeister/btmeister`\n  * user: `nonroot`\n\n## :hammer_and_wrench: Related Tools\n\n* [Licensee](https://github.com/licensee/licensee)\n  * License detector for the projects.\n* [linguist](https://github.com/github/linguist)\n  * Programming languages detector for the projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamada%2Fbtmeister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamada%2Fbtmeister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamada%2Fbtmeister/lists"}