{"id":14069800,"url":"https://github.com/jimhester/aws-check","last_synced_at":"2025-07-30T06:32:56.960Z","repository":{"id":136988267,"uuid":"248342149","full_name":"jimhester/aws-check","owner":"jimhester","description":null,"archived":true,"fork":false,"pushed_at":"2020-03-19T15:16:23.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T11:37:57.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimhester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-03-18T21:01:56.000Z","updated_at":"2023-01-28T08:12:02.000Z","dependencies_parsed_at":"2024-02-29T08:19:03.372Z","dependency_job_id":"547326b4-bae5-4d30-b80c-644229932f2d","html_url":"https://github.com/jimhester/aws-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jimhester/aws-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimhester%2Faws-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimhester%2Faws-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimhester%2Faws-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimhester%2Faws-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimhester","download_url":"https://codeload.github.com/jimhester/aws-check/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimhester%2Faws-check/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267822843,"owners_count":24149705,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":"2024-08-13T07:07:14.643Z","updated_at":"2025-07-30T06:32:56.672Z","avatar_url":"https://github.com/jimhester.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Important environment variabless\n\n- `DEV_PKG_TARBALL` - the development package we are running reverse dependency checks for\n- `CHECK_PKG_LIST` - the package(s) we are checking against\n- `AWS_BATCH_JOB_ARRAY_INDEX` - the AWS environment variable set by the array job\n- `AWS_REGION` - The AWS region\n- `OUTPUT_S3_PATH` - The output S3 path\n\n# Local usage\n\nGet a dev version of a package and build a tarball for it\n\n```shell\ngit clone --depth 1 https://github.com/tidyverse/glue.git /tmp/glue\nR CMD build /tmp/glue .\n```\ngenerate the list of reverse dependencies for a given package and save it to a file (here `pkgs`)\n\n```shell\nRscript -e 'writeLines(tools::package_dependencies(\"glue\", reverse = TRUE)[[1]], \"pkgs\")'\n```\n\nThen run the first few 5 jobs to test\n\n```shell\nAWS_BATCH_JOB_ARRAY_INDEX=0\nwhile [ $AWS_BATCH_JOB_ARRAY_INDEX -le 4 ]\ndo\n  docker run -v $PWD:/tmp/workdir -e DEV_PKG_TARBALL=glue_1.3.1.tar.gz -e CHECK_PKG_LIST=pkgs -e CHECK_ARGS= -e AWS_BATCH_JOB_ARRAY_INDEX=$AWS_BATCH_JOB_ARRAY_INDEX r_cmd_check\n  AWS_BATCH_JOB_ARRAY_INDEX=$((AWS_BATCH_JOB_ARRAY_INDEX + 1))\ndone\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimhester%2Faws-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimhester%2Faws-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimhester%2Faws-check/lists"}