{"id":26186958,"url":"https://github.com/ivarref/finddep","last_synced_at":"2025-12-26T01:15:52.239Z","repository":{"id":191827939,"uuid":"685062568","full_name":"ivarref/finddep","owner":"ivarref","description":"Find the root (top) of a given dependency in Clojure","archived":false,"fork":false,"pushed_at":"2024-12-04T08:01:55.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T08:25:40.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivarref.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-08-30T12:43:41.000Z","updated_at":"2024-12-04T08:01:59.000Z","dependencies_parsed_at":"2023-09-01T00:46:22.708Z","dependency_job_id":"4cec87bf-db41-4b67-ac3b-c05e25679d82","html_url":"https://github.com/ivarref/finddep","commit_stats":null,"previous_names":["ivarref/findroot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Ffinddep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Ffinddep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Ffinddep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Ffinddep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivarref","download_url":"https://codeload.github.com/ivarref/finddep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243131003,"owners_count":20241174,"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":"2025-03-11T23:35:49.915Z","updated_at":"2025-12-26T01:15:52.235Z","avatar_url":"https://github.com/ivarref.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# finddep\n\nEver wondered where some dependency comes from?\nTired of manually \"parsing\" the output of `clojure -Stree`?\nIf so then `finddep` is for you.\n\n## Installation\n\n```\nclojure -Ttools install com.github.ivarref/finddep \\\n'{:git/tag \"0.1.73\" :git/sha \"f6faa87b4941bd818d7da3107ec0d555798908a3\"}' \\\n:as finddep\n```\n\n### Optional installation\n\nIf you are only going to use the `:name` parameter search (see next section), you can\nalso do the following:\n\n```bash\necho -e '#!/usr/bin/env bash\\nclojure -Tfinddep find :name \"$@\"' \u003e \\\n$HOME/.local/bin/finddep \u0026\u0026 chmod +x $HOME/.local/bin/finddep\n```\n\n## Usage with `:name` parameter search\n\nGo to your deps-based project and invoke the tool.\n\nFor example in this project if you are wondering why `org.ow2.asm/asm` is included, you can\ndo the following:\n\n```bash\nclojure -Tfinddep find :name asm\n\norg.clojure/tools.deps {:mvn/version \"0.19.1417\"}\n  com.cognitect.aws/api {:mvn/version \"0.8.686\"}\n    org.clojure/core.async {:mvn/version \"1.6.673\"}\n      org.clojure/tools.analyzer.jvm {:mvn/version \"1.2.2\"}\n        org.ow2.asm/asm {:mvn/version \"9.2\"}\n```\n\n## Usage with fzf\n\nGo to your deps-based project and invoke the tool:\n\n```bash\nclojure -Tfinddep fzf\n```\n\nStart typing to see the dependency tree for a given dependency.\n\nOutput:\n\n```\norg.clojure/tools.deps {:mvn/version \"0.19.1417\"}\n  com.cognitect.aws/api {:mvn/version \"0.8.686\"}\n    org.clojure/core.async {:mvn/version \"1.6.673\"}\n      org.clojure/tools.analyzer.jvm {:mvn/version \"1.2.2\"}\n        org.ow2.asm/asm {:mvn/version \"9.2\"}\n```\n\nRight, it so that's why it was included...\n\n\n\n## Usage with aliases\n\n```bash\nclojure -Tfinddep find :name java.classpath :aliases '[:test]'\n\nio.github.cognitect-labs/test-runner {:git/tag \"v0.5.0\" :git/sha \"48c3c67f98362ba1e20526db4eeb6996209c050a\"}\n  org.clojure/tools.namespace {:mvn/version \"1.1.0\"}\n    org.clojure/java.classpath {:mvn/version \"1.0.0\"}\n```\n\n## Usage with include-children\n\n```bash\nclojure -Tfinddep find :name tools.analyzer.jvm :include-children true\n\norg.clojure/tools.deps {:mvn/version \"0.19.1417\"}\n  com.cognitect.aws/api {:mvn/version \"0.8.686\"}\n    org.clojure/core.async {:mvn/version \"1.6.673\"}\n      org.clojure/tools.analyzer.jvm {:mvn/version \"1.2.2\"}\n      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n        org.clojure/core.memoize {:mvn/version \"1.0.253\"}\n          org.clojure/core.cache {:mvn/version \"1.0.225\"}\n            org.clojure/data.priority-map {:mvn/version \"1.1.0\"}\n        org.clojure/tools.analyzer {:mvn/version \"1.1.0\"}\n        org.clojure/tools.reader {:mvn/version \"1.3.6\"}\n        org.ow2.asm/asm {:mvn/version \"9.2\"}\n```\n\n### Making a new release\n\n```bash\n./release.py\n# or \"./release.py --dry\" if you want to see the changes about to be made\n```\n\n\n## License\n\nCopyright © 2023 — 2025 Ivar Refsdal\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Ffinddep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivarref%2Ffinddep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Ffinddep/lists"}