{"id":22664672,"url":"https://github.com/whyeasy/zally-cleaner","last_synced_at":"2025-03-29T09:25:15.242Z","repository":{"id":55621515,"uuid":"311648788","full_name":"Whyeasy/zally-cleaner","owner":"Whyeasy","description":"A Go app to run as job to clean up old results from Zally Server.","archived":false,"fork":false,"pushed_at":"2020-12-17T15:40:39.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-03T23:58:35.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Whyeasy.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":"2020-11-10T12:17:28.000Z","updated_at":"2022-07-13T16:08:25.000Z","dependencies_parsed_at":"2022-08-15T04:40:40.620Z","dependency_job_id":null,"html_url":"https://github.com/Whyeasy/zally-cleaner","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fzally-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fzally-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fzally-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fzally-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whyeasy","download_url":"https://codeload.github.com/Whyeasy/zally-cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246163894,"owners_count":20733686,"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-12-09T13:16:16.076Z","updated_at":"2025-03-29T09:25:15.216Z","avatar_url":"https://github.com/Whyeasy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![build](https://github.com/Whyeasy/zally-cleaner/workflows/build/badge.svg)\n![status-badge](https://goreportcard.com/badge/github.com/Whyeasy/zally-cleaner)\n![Github go.mod Go version](https://img.shields.io/github/go-mod/go-version/Whyeasy/zally-cleaner)\n\n# zally-cleaner\n\nA Go app to run as a job to clean up old results from Zally Server and if it's backed with a Postgres Database.\n\n## Requirements\n\nProvide the Postgres host; `--postgresHost` or as env variable `POSTGRES_HOST`.\n\nProvide the Postgres database name: `--postgresDatabase` or as env variable `POSTGRES_DB`.\n\nProvide the Postgres user: `--postgresUser` or as env variable `POSTGRES_USER`.\n\nProvide the Postgres user password: `--postgresPassword` or as env variable `POSTGRES_PASSWORD`.\n\n### Optional\n\nChange the port to use to connect to Postgres; `--postgresPort \u003cstring\u003e` or as env variable `POSTGRES_PORT`. The default value is `\"5432\"`. Provide value as a string.\n\nChange the SSL connection mode to Postgres; `--postgresSSL` or as env variable `POSTGRES_SSL`. The default value is `require`.\n\nChange the retention period of the records to keep. `--zallyRetention \u003cstring\u003e` or as env variable `ZALLY_RETENTION`. The default value is `\"7\"`. Provide value as a string and all entries older than the value will be deleted!\n\nChange if you don't use the Zally violations metrics output. `--zallyMetrics \u003cstring\u003e` or as env variable `ZALLY_METRICS`. The value is `\"true\"`. Provide value as a string.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyeasy%2Fzally-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyeasy%2Fzally-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyeasy%2Fzally-cleaner/lists"}