{"id":24175841,"url":"https://github.com/iht/debian-measurer","last_synced_at":"2026-06-04T13:31:16.296Z","repository":{"id":11449501,"uuid":"13909402","full_name":"iht/debian-measurer","owner":"iht","description":"Tool to gather the sources of Debian and measure them","archived":false,"fork":false,"pushed_at":"2018-06-22T10:08:11.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T14:49:28.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/iht.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}},"created_at":"2013-10-27T20:08:57.000Z","updated_at":"2018-06-22T10:08:13.000Z","dependencies_parsed_at":"2022-08-30T05:51:17.935Z","dependency_job_id":null,"html_url":"https://github.com/iht/debian-measurer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iht/debian-measurer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Fdebian-measurer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Fdebian-measurer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Fdebian-measurer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Fdebian-measurer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iht","download_url":"https://codeload.github.com/iht/debian-measurer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Fdebian-measurer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33907693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-13T02:33:19.469Z","updated_at":"2026-06-04T13:31:16.277Z","avatar_url":"https://github.com/iht.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"debian-measurer\n===============\n\n\nGrab all Debian packages and measure them. You will need a `Sources.gz`\nfile with the directory of packages to be measured. See below for a\nscript to gather that file from a Debian mirror.\n\nAfter that, install the tool with\n\n```\npython setup.py install\n```\n\nYou will need the `lockfile` module and the SLOCCount tool.\n\nAfter that, pass the following command line arguments to\n`debian-measurer`:\n* Location of the sources file\n* Output dir for the results\n* Base URL of the Debian mirror from where the packages will be\ngathered (from Spain, I recommend ftp://ftp.rediris.es/mirror/debian/)\n* Path to SLOCCount if it is not in the default path\n\n\n## Grab all the Sources.gz for Debian\n\nYou need to get the Sources.gz files for the release of Debian you\nwant to measure. Use this script to grab all the sources for all the releases:\n\n```shell\n#!/bin/bash\n\nbase_url=\"ftp://ftp.rediris.es/mirror/debian/\"\n\necho 'stable\\ntesting\\nsid\\nexperimental\\nstable-updates\\nstable-proposed-updates\\ntesting-proposed-updates'| while read d\ndo\n\n\techo 'main\\ncontrib\\nnon-free' | while read l\n\tdo\t\n\t\techo Grabbing $d/$l...\n\t\twget $base_url/dists/$d/$l/source/Sources.gz\n\t\tmv Sources.gz Sources-$d-$l.gz\n\tdone\ndone\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiht%2Fdebian-measurer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiht%2Fdebian-measurer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiht%2Fdebian-measurer/lists"}