{"id":20185097,"url":"https://github.com/sdboyer/db_whitelist","last_synced_at":"2025-03-03T06:41:22.289Z","repository":{"id":13291749,"uuid":"15977705","full_name":"sdboyer/db_whitelist","owner":"sdboyer","description":"A framework for dump-reducing sql for smaller datasets","archived":false,"fork":false,"pushed_at":"2014-01-16T18:58:53.000Z","size":176,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"whitelist","last_synced_at":"2025-01-13T17:49:40.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/sdboyer.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}},"created_at":"2014-01-16T18:58:14.000Z","updated_at":"2014-01-29T19:55:49.000Z","dependencies_parsed_at":"2022-08-25T18:12:06.556Z","dependency_job_id":null,"html_url":"https://github.com/sdboyer/db_whitelist","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/sdboyer%2Fdb_whitelist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdboyer%2Fdb_whitelist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdboyer%2Fdb_whitelist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdboyer%2Fdb_whitelist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdboyer","download_url":"https://codeload.github.com/sdboyer/db_whitelist/tar.gz/refs/heads/whitelist","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622594,"owners_count":19992501,"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-11-14T03:11:23.773Z","updated_at":"2025-03-03T06:41:22.267Z","avatar_url":"https://github.com/sdboyer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Running the script\n==================\n./sanitize_db.py \n \nOptions:\n  -h, --help            show this help message and exit\n  -d DESTDB, --dest-db=DESTDB\n                        The name of the database we insert into.\n  -s SOURCEDB, --src-db=SOURCEDB\n                        The name of the database we select from.\n  -p DATASET, --data-profile=DATASET\n                        Pick the data profile whitelist overlay. (boss or\n                        skeleton)\n\n\nSetting up a new site\n=====================\n\n1. Copy the project into a new folder\n2. Delete the whitelist file\n3. Run the script to get the new schema\n4. Put the new schema and put into a new whitelist file\n5. Mark tables and columns with ignore and nodata tags\n6. Run it and fix the errors in the table_config files\n7. Create or update profiles if needed (boss, skeleton)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdboyer%2Fdb_whitelist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdboyer%2Fdb_whitelist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdboyer%2Fdb_whitelist/lists"}