{"id":18512808,"url":"https://github.com/vmware/tdnf","last_synced_at":"2026-04-17T00:07:57.108Z","repository":{"id":27853048,"uuid":"31343521","full_name":"vmware/tdnf","owner":"vmware","description":"Tiny Dandified Yum","archived":false,"fork":false,"pushed_at":"2025-03-25T17:56:07.000Z","size":2669,"stargazers_count":123,"open_issues_count":14,"forks_count":50,"subscribers_count":19,"default_branch":"dev","last_synced_at":"2025-03-29T05:07:20.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware.png","metadata":{"files":{"readme":"README.md","changelog":"history/CMakeLists.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","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":"2015-02-26T00:44:11.000Z","updated_at":"2025-03-25T17:56:11.000Z","dependencies_parsed_at":"2023-01-14T07:37:09.744Z","dependency_job_id":"20633c65-f759-4c2f-ae6f-ec8c209d342d","html_url":"https://github.com/vmware/tdnf","commit_stats":null,"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Ftdnf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Ftdnf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Ftdnf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Ftdnf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/tdnf/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294537,"owners_count":20915340,"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-11-06T15:35:31.279Z","updated_at":"2026-04-17T00:07:57.051Z","avatar_url":"https://github.com/vmware.png","language":"C","readme":"# tdnf - tiny dandified yum\n\nIn order to compile, from the checkout directory, run the following\n\n```sh\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\n```\n\nDo enable debugging symbols (useful for use with `gdb`), use:\n```\ncmake -DCMAKE_BUILD_TYPE=Debug ..\n```\n\nYou can also build tdnf using docker using the following commands:\n\n```sh\ndocker build -t photon/tdnf-build -f ci/Dockerfile.photon .\ndocker run --rm -it -v $(pwd):/build -w /build photon/tdnf-build\n```\n\ncreate a conf file named `tdnf.conf` under `/etc/tdnf/` with the following content\n\n```text\n[main]\ngpgcheck=1\ninstallonly_limit=3\nclean_requirements_on_remove=true\nrepodir=/etc/yum.repos.d\ncachedir=/var/cache/tdnf\n```\n\nNow configure repo files under `/etc/yum.repos.d` or your repodir following\n`.repo` format of dnf/yum.\n\nYou should now have a client executable named tdnf under `bin/`. To test\nrun:\n\n```sh\n./bin/tdnf list installed\n```\n\nYou should see a list of installed packages and their related info\n\n## Testing\n\nTo build and run the test scripts within a container, do:\n\n```text\nexport DIST=photon\ndocker run --security-opt seccomp:unconfined --rm -it -e DIST -v$(pwd):/build -w/build ${DIST}/tdnf-build ./ci/docker-entrypoint.sh\n```\nSame for\n```text\nexport DIST=fedora\n```\n\n## Coverity\n\nAssuming you have coverity installed on `/pathto/coverity`, you can run:\n\n```text\ndocker run --rm -it -v $(pwd):/build -v /pathto/coverity/:/coverity/ -w /build photon/tdnf-build ./ci/coverity.sh\n```\n\nThis will put the output to `./build-coverity`. You can then commit the results to the coverity database from that directory, or view the results in `./build-coverity/html`. For example, you can start an nginx container:\n\n```text\ndocker run -it --rm -p 8080:80 --name web -v $(pwd)/build-coverity/html:/usr/share/nginx/html nginx\n```\nand then view results in your browser at `http://\u003chost\u003e:8080/`.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Ftdnf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Ftdnf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Ftdnf/lists"}