{"id":18082741,"url":"https://github.com/juhp/koji-query","last_synced_at":"2025-04-05T23:13:06.765Z","repository":{"id":136157864,"uuid":"382790033","full_name":"juhp/koji-query","owner":"juhp","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-06T02:38:26.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T05:14:29.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juhp.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":"2021-07-04T07:25:27.000Z","updated_at":"2021-09-06T02:38:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"51f8e521-9b7e-4bed-8e95-059455d51fbd","html_url":"https://github.com/juhp/koji-query","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juhp%2Fkoji-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juhp%2Fkoji-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juhp%2Fkoji-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juhp%2Fkoji-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juhp","download_url":"https://codeload.github.com/juhp/koji-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411243,"owners_count":20934654,"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":[],"created_at":"2024-10-31T14:05:48.332Z","updated_at":"2025-04-05T23:13:06.745Z","avatar_url":"https://github.com/juhp.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koji-query\n\nA small cli tool to help locate Koji tasks.\n\nSimilar to `koji list-tasks --mine --quiet --all ...`,\nbut it shows duration kojiweb urls and build.log size,\nand it uses `date` to parse a specified date string\nand can filter results by package.\n\nLater I might merge in other mini-projects like koji-progress and\nkoji-buildlog-sizes (possibly even koji-install).\n\n## Installation\n\nEither: `cabal install  --installdir=~/bin`\n\n(on Fedora first run `cabal-rpm builddep` to save a lot of building).\n\nor: `stack install`.\n\n## Usage\n\nBy default it shows your Fedora Koji tasks since yesterday.\n\n```\n$ koji-query --version\n0.1.0\n$ koji-query --help\nkoji-query\n\nUsage: koji-query [--version] [-S|--server URL] [-u|--user USER]\n                  [-l|--limit INT] [(-t|--task TASKID) | (-P|--parent TASKID)]\n                  [-s|--state STATE] [-a|--arch ARCH] [-d|--date DAY]\n                  [-m|--method METHOD] [-p|--package PKG]\n  Helper client for koji queries: https://github.com/juhp/koji-query\n\nAvailable options:\n  -h,--help                Show this help text\n  --version                Show version\n  -S,--server URL          Koji Hub [default: Fedora]\n  -u,--user USER           Koji user\n  -l,--limit INT           Maximum number of tasks to show [default: 20]\n  -t,--task TASKID         Show task\n  -P,--parent TASKID       List children tasks\n  -s,--state STATE         Filter tasks by state\n  -a,--arch ARCH           Task arch\n  -d,--date DAY            Tasks started after date [default: yesterday]\n  -m,--method METHOD       Select tasks by method: [build,buildarch,etc]\n  -p,--package PKG         Filter results to specified package\n```\n\nExample:\n\n```\n$ koji-query -a aarch64 -d \"last week\" -s fail\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuhp%2Fkoji-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuhp%2Fkoji-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuhp%2Fkoji-query/lists"}