{"id":17893503,"url":"https://github.com/parisek/commerce_order_revision_clear","last_synced_at":"2026-05-02T04:39:57.695Z","repository":{"id":248812154,"uuid":"171473712","full_name":"parisek/commerce_order_revision_clear","owner":"parisek","description":"Commerce order revision clear","archived":false,"fork":false,"pushed_at":"2019-02-19T14:37:33.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T04:16:29.578Z","etag":null,"topics":["drupal","drupal-7","drupal-commerce","php"],"latest_commit_sha":null,"homepage":"","language":null,"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/parisek.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":"2019-02-19T12:56:32.000Z","updated_at":"2020-12-14T17:24:16.000Z","dependencies_parsed_at":"2024-07-17T08:28:01.046Z","dependency_job_id":null,"html_url":"https://github.com/parisek/commerce_order_revision_clear","commit_stats":null,"previous_names":["parisek/commerce_order_revision_clear"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/parisek/commerce_order_revision_clear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisek%2Fcommerce_order_revision_clear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisek%2Fcommerce_order_revision_clear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisek%2Fcommerce_order_revision_clear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisek%2Fcommerce_order_revision_clear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parisek","download_url":"https://codeload.github.com/parisek/commerce_order_revision_clear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisek%2Fcommerce_order_revision_clear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32523428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["drupal","drupal-7","drupal-commerce","php"],"created_at":"2024-10-28T14:52:57.422Z","updated_at":"2026-05-02T04:39:57.668Z","avatar_url":"https://github.com/parisek.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Commerce order revision clear\n===\n\nThis is lightweight module that solves issue that database is getting really huge because we are storing all revisions for commerce orders. In our commerce site we have orders with hundreds of revisions.\n\nHow it works?\n===\nWe are using [https://www.drupal.org/project/commerce/issues/2442049](https://www.drupal.org/project/commerce/issues/2442049) code from provided patch to leverage Entity API module. With every CRON run we delete 50 oldest revisions which are older than 30 days. This module has no configuration, but could be easily customized in code for your special needs.\n\n**Do not test it in production and backup your database first**\n\nAuthor\n===\nPetr Parimucha  \n[https://pari.cz](https://pari.cz/en)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisek%2Fcommerce_order_revision_clear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparisek%2Fcommerce_order_revision_clear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisek%2Fcommerce_order_revision_clear/lists"}