{"id":18080857,"url":"https://github.com/pdehaan/common-tests-zip","last_synced_at":"2025-04-05T22:18:10.394Z","repository":{"id":36762285,"uuid":"41068962","full_name":"pdehaan/common-tests-zip","owner":"pdehaan","description":"Some nonsense to download *.common.tests.zip files from ftp.mozilla.org.","archived":false,"fork":false,"pushed_at":"2015-08-20T02:03:26.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T19:43:42.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pdehaan.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":"2015-08-20T01:40:46.000Z","updated_at":"2015-08-20T01:43:12.000Z","dependencies_parsed_at":"2022-08-29T19:10:11.769Z","dependency_job_id":null,"html_url":"https://github.com/pdehaan/common-tests-zip","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/pdehaan%2Fcommon-tests-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Fcommon-tests-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Fcommon-tests-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Fcommon-tests-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdehaan","download_url":"https://codeload.github.com/pdehaan/common-tests-zip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406203,"owners_count":20933829,"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-31T13:10:50.634Z","updated_at":"2025-04-05T22:18:10.369Z","avatar_url":"https://github.com/pdehaan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# common-tests-zip\n\n## Why? BUT WHY?\n\nWe need to download `*.common.tests.zip` files for specific channels and OSes. This seemed like a ~~good~~ solution.\n\n## Installation:\n\n```sh\n$ npm install common-tests-zip -g\n```\n\n## Usage:\n\n```sh\nUsage: common-tests-zip [options]\n\n  --help, -h\n    Displays help information about this script\n    'common-tests-zip -h' or 'common-tests-zip --help'\n\n  --channel, -c\n    Release channel. Valid values are \"release\" and \"nightly\". Required.\n    'common-tests-zip --channel=release' or 'common-tests-zip -c nightly'\n\n  --os, -o\n    Operating system. Valid values are \"linux\" and \"mac\". Required.\n    'common-tests-zip --os=mac' or 'common-tests-zip -o linux'\n\n  --verify, -v\n    Verifies the link and returns the result as a JSON object. Optional.\n    'common-tests-zip --verify' or 'common-tests-zip -v'\n\n  --version\n    Displays version info\n    common-tests-zip --version\n```\n\n### Examples:\n\n#### Basic:\n\nThe following example returns a link to the Mac OS X Firefox Nightly channel *.common.tests.zip:\n\n```sh\n$ common-tests-zip -c nightly -o mac\n```\n\n**Output:**\n```\nhttps://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-43.0a1.en-US.mac.common.tests.zip\n```\n\n#### Mega advanced:\nThe following example returns a JSON object to the Linux Firefox Release channel *.common.tests.zip file:\n\n```sh\n$ common-tests-zip --channel=release --os=linux --verify\n```\n\n**Output:**\n```json\n{\n  \"href\": \"https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-release-linux64/latest/firefox-40.0.2.en-US.linux-x86_64.common.tests.zip\",\n  \"statusCode\": 200,\n  \"contentLength\": 23670401\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdehaan%2Fcommon-tests-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdehaan%2Fcommon-tests-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdehaan%2Fcommon-tests-zip/lists"}