{"id":19938535,"url":"https://github.com/jdknight/fetchdep","last_synced_at":"2026-03-17T08:35:49.643Z","repository":{"id":238388200,"uuid":"796460363","full_name":"jdknight/fetchdep","owner":"jdknight","description":"A tool to help fetch sources for a project","archived":false,"fork":false,"pushed_at":"2026-01-24T19:28:20.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-25T07:50:34.098Z","etag":null,"topics":["cli","cvs","development-tools","git","mercurial","subversion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdknight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-06T01:26:20.000Z","updated_at":"2026-01-24T19:28:24.000Z","dependencies_parsed_at":"2025-12-21T17:04:46.520Z","dependency_job_id":null,"html_url":"https://github.com/jdknight/fetchdep","commit_stats":null,"previous_names":["jdknight/fetchdep"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jdknight/fetchdep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdknight%2Ffetchdep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdknight%2Ffetchdep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdknight%2Ffetchdep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdknight%2Ffetchdep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdknight","download_url":"https://codeload.github.com/jdknight/fetchdep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdknight%2Ffetchdep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30619216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T08:10:05.930Z","status":"ssl_error","status_checked_at":"2026-03-17T08:10:04.972Z","response_time":56,"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":["cli","cvs","development-tools","git","mercurial","subversion"],"created_at":"2024-11-12T23:40:47.212Z","updated_at":"2026-03-17T08:35:49.636Z","avatar_url":"https://github.com/jdknight.png","language":"Python","readme":"# fetchdep\n\n[![pip Version](https://badgen.net/pypi/v/fetchdep?label=PyPI)](https://pypi.python.org/pypi/fetchdep)\n[![Supports Various Python versions](https://badgen.net/static/Python/2.7%20%7C%203.5-3.14)](https://pypi.python.org/pypi/fetchdep)\n[![Build Status](https://github.com/jdknight/fetchdep/actions/workflows/build.yml/badge.svg)](https://github.com/jdknight/fetchdep/actions/workflows/build.yml)\n\n## Overview\n\nThe fetchdep utility provides an easy way for developers to fetch dependencies\nfor software projects that work under a container path. If a project contains\na fetchdep configuration at its root, a user can invoke `fetchdep` to\nautomatically download sources alongside the working path of a project. This\ncan be useful for projects which may not have package management capabilities.\n\nThe following version control systems are supported:\nCVS, Git, Mercurial, SVN.\n\n## Requirements\n\n* [Python][python] 2.7 or 3.5+\n* [PyYAML][pyyaml]\n* *(optional)* [CVS][cvs]\n* *(optional)* [Git][git]\n* *(optional)* [Mercurial][hg]\n* *(optional)* [SVN][svn]\n\n## Installation\n\nThis tool can be installed using [pip][pip] or [pipx][pipx]:\n\n```shell\npipx install fetchdep\n (or)\npip install fetchdep\n (or)\npython -m pip install fetchdep\n```\n\n## Usage\n\nThis tool can be invoked from a command line using:\n\n```shell\nfetchdep --help\n (or)\npython -m fetchdep --help\n```\n\n## Examples\n\nConsider a project that is cloned in the following path:\n\n```\n└── ~/workdir\n    └── my-awesome-project/\n        └── fetchdep.yml\n```\n\nIf a user is working inside the project directory and invokes `fetchdep`:\n\n```\n$ cd workdir/my-awesome-project\n$ fetchdep\n```\n\nThis can automatically clone dependencies alongside the project as follows:\n\n```\n└── ~/workdir\n    ├── my-awesome-library-a/\n    |   └── ...\n    ├── my-awesome-library-b/\n    |   └── ...\n    ├── my-awesome-library-c/\n    |   └── ...\n    └── my-awesome-project/\n        └── fetchdep.yml\n```\n\n## Configuration\n\nA fetchdep configuration file can be named either one of the following:\n\n- `fetchdep.yml`\n- `.fetchdep.yml`\n- `.fetchdep`\n\nConfiguration files are YAML defined configurations. Each configuration is\nexpected to have a root `fetchdep` list, which holds one or more dependencies\nto be fetched. For example:\n\n```yml\nfetchdep:\n  # cvs\n  - name: my-module-a\n    site: :pserver:anonymous@cvs.example.org:/cvsroot/my-module-a my-module-a\n  # git\n  - name: my-module-b\n    site: https://example.com/myteam/my-module-b.git\n  # hg\n  - name: my-module-c\n    site: hg+https://www.example.org/repo/my-module-c\n  # svn\n  - name: my-module-d\n    site: svn+https://svn.code.example.com/c/myteam/my-module-d/trunk\n```\n\n- Each entry must have a `name`, which will be used for the folder name to\n  checkout sources to.\n- Each entry must also have a `site`, defining what type of source will be\n  fetched. Accepted site prefixes include `cvs+`, `git+`, `hg+` and `svn+`.\n  Although, some sites may omit the prefix if this utility can determine\n  what type of sources are being fetched.\n\n## Capabilities\n\n### Tags\n\nThis utility supports tagged dependencies. A project can define one or more\ntags for a project. For example:\n\n```yml\nfetchdep:\n  - name: my-test-module\n    site: https://example.com/myteam/my-test-module.git\n    tags:\n      - test\n```\n\nBy default, if a user invokes `fetchdep` with no other arguments, the\n`my-test-module` module above will not be fetched. To include sources which\nhave a tag assigned, the tag must be added to the command line:\n\n```\nfetchdep --tag test\n```\n\nMultiple tags can be added by repeating the `--tag` argument. Users can also\nuse the `--all-tags` argument to fetch every dependency.\n\n### Recursive\n\nThe fetchdep utility will fetch only the current project's defined\ndependencies. If a project dependency defines their own fetchdep configuration,\nadditional dependencies will not be fetched by default.\n\nTo support downloading a project's dependency's dependencies, the `--recursive`\noption can be used:\n\n```\nfetchdep --recursive\n```\n\nFetching too many projects may cause fetchdep to prompt to continue. This can\nbe overridden using the `-y` argument.\n\n### Dry-run\n\nUsers can always invoke with the `--dry-run` argument to inspect which\ndependencies will be fetched without invoking a fetch operation.\n\n\n[cvs]: https://cvs.nongnu.org/\n[git]: https://git-scm.com/\n[hg]: https://www.mercurial-scm.org/\n[pip]: https://pip.pypa.io/\n[pipx]: https://pipx.pypa.io/\n[python]: https://www.python.org/\n[pyyaml]: https://pyyaml.org/\n[svn]: https://subversion.apache.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdknight%2Ffetchdep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdknight%2Ffetchdep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdknight%2Ffetchdep/lists"}