{"id":16641788,"url":"https://github.com/samthor/purge-gcloud-app","last_synced_at":"2026-04-20T22:05:10.581Z","repository":{"id":66115174,"uuid":"312463623","full_name":"samthor/purge-gcloud-app","owner":"samthor","description":"Purge old gcloud deployed App Engine versions","archived":false,"fork":false,"pushed_at":"2020-11-13T04:45:17.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-18T18:02:06.230Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samthor.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-13T03:30:30.000Z","updated_at":"2020-11-13T07:51:21.000Z","dependencies_parsed_at":"2023-02-20T19:31:00.624Z","dependency_job_id":null,"html_url":"https://github.com/samthor/purge-gcloud-app","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/samthor%2Fpurge-gcloud-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2Fpurge-gcloud-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2Fpurge-gcloud-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2Fpurge-gcloud-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samthor","download_url":"https://codeload.github.com/samthor/purge-gcloud-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243164819,"owners_count":20246718,"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-12T07:47:51.666Z","updated_at":"2025-12-25T23:33:03.732Z","avatar_url":"https://github.com/samthor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Helper to delete old versions of an App Engine project.\nInstall via [`purge-gcloud-app`](https://www.npmjs.com/package/purge-gcloud-app).\n\nThis just farms out to `gcloud` and will use whatever credentials are available in your environment.\nEven though this task is fundamentally async, we block in Node until complete.\n\n## Usage\n\n```js\nimport purgeGcloudApp from 'purge-gcloud-app';\n\nconst deletedVersionCount = purgeGcloudApp({\n  project: 'project-id', // required\n\n  // All other parameters are optional, here are their defaults:\n  service: 'default',\n  keepMinimum: 20,            // keep the most recent \u003cX\u003e versions\n  keepDailyAmountDefault: 7,  // keep one version for each of the past \u003cX\u003e days\n  log: (s) =\u003e console.info(s),\n});\n```\n\nThere's also a binary `purge-gcloud-app` which just takes a single argument the project ID, and otherwise uses all defaults.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamthor%2Fpurge-gcloud-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamthor%2Fpurge-gcloud-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamthor%2Fpurge-gcloud-app/lists"}