Skip to content

Commit 7c97655

Browse files
committed
feat: rename folders
1 parent ed8b505 commit 7c97655

29,811 files changed

Lines changed: 6 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
project: "philippine-datasets-api"
3535
entrypoint: "main.ts"
3636
root: "."
37-
exclude: "foi/**,phlpost/**,psa/**,senate/**"
37+
exclude: "foi/**,phlpost/**,psa/**,congress/**"

senate/README.md renamed to congress/README.md

Lines changed: 2 additions & 2 deletions

senate/main.py renamed to congress/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ async def fetch_bills_batch(self, congress: int, bill_type: str, bill_numbers: L
546546
print(f" ... and {len(bill_numbers) - 10} more")
547547

548548
# Create directory structure
549-
bill_dir = self.base_dir / "congress" / str(congress) / bill_type
549+
bill_dir = self.base_dir / "senate" / str(congress) / bill_type
550550
bill_dir.mkdir(parents=True, exist_ok=True)
551551

552552
successful = 0
@@ -643,7 +643,7 @@ def get_missing_bills(metadata_dir: Path, congress: int, bill_type: str, base_di
643643
return []
644644

645645
# Check which files already exist
646-
bill_dir = base_dir / "congress" / str(congress) / bill_type
646+
bill_dir = base_dir / "senate" / str(congress) / bill_type
647647
existing_bills = set()
648648

649649
if bill_dir.exists():
@@ -670,7 +670,7 @@ def get_missing_bills(metadata_dir: Path, congress: int, bill_type: str, base_di
670670

671671
def update_index_file(base_dir: Path, congress: int, bill_type: str):
672672
"""Update or create index.yml file with all existing bills."""
673-
bill_dir = base_dir / "congress" / str(congress) / bill_type
673+
bill_dir = base_dir / "senate" / str(congress) / bill_type
674674
if not bill_dir.exists():
675675
return
676676

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)