diff --git a/check_buckets.py b/check_buckets.py deleted file mode 100644 index 5e649c1..0000000 --- a/check_buckets.py +++ /dev/null @@ -1,30 +0,0 @@ -import asyncio -from bucket_manager import BucketManager -from utils import load_config - -async def main(): - config = load_config() - bm = BucketManager(config) - buckets = await bm.list_all(include_archive=True) - - print(f"Total buckets: {len(buckets)}") - - domains = {} - for b in buckets: - for d in b.get("metadata", {}).get("domain", []): - domains[d] = domains.get(d, 0) + 1 - - print(f"Domains: {domains}") - - # Check for formatting issues (e.g., missing critical fields) - issues = 0 - for b in buckets: - meta = b.get("metadata", {}) - if not meta.get("name") or not meta.get("domain") or not b.get("content"): - print(f"Format issue in {b['id']}") - issues += 1 - - print(f"Found {issues} formatting issues.") - -if __name__ == "__main__": - asyncio.run(main())