Skip to content

Commit

Permalink
Merge branch 'main' into 4707-case-name-search-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
albertisfu authored Dec 17, 2024
2 parents 13f8466 + 88924a3 commit 336869f
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 2,235 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,6 @@ jobs:
matrix:
tag_flags: ["--exclude-tag selenium", "--tag selenium"]
steps:
- name: Check out solr
uses: actions/checkout@v4
with:
repository: freelawproject/courtlistener-solr-server
ref: main
path: courtlistener-solr-server
- name: Set up solr permissions
run: |
cd courtlistener-solr-server
sudo chown -R :1024 data
sudo chown -R :1024 solr
sudo find data -type d -exec chmod g+s {} \;
sudo find solr -type d -exec chmod g+s {} \;
sudo find data -type d -exec chmod 775 {} \;
sudo find solr -type d -exec chmod 775 {} \;
sudo find data -type f -exec chmod 664 {} \;
sudo find solr -type f -exec chmod 664 {} \;
- name: Check out CourtListener
uses: actions/checkout@v4
with:
Expand Down
23 changes: 0 additions & 23 deletions cl/corpus_importer/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,6 @@ class CaseLawFactory(factory.DictFactory):
docket_number = Faker("federal_district_docket_number")


class RssDocketEntryDataFactory(factory.DictFactory):
date_filed = Faker("date_object")
description = ""
document_number = Faker("pyint", min_value=1, max_value=100)
pacer_doc_id = Faker("random_id_string")
pacer_seq_no = Faker("random_id_string")
short_description = Faker("text", max_nb_chars=40)


class RssDocketDataFactory(factory.DictFactory):
court_id = FuzzyText(length=4, chars=string.ascii_lowercase, suffix="d")
case_name = Faker("case_name")
docket_entries = factory.List(
[factory.SubFactory(RssDocketEntryDataFactory)]
)
docket_number = Faker("federal_district_docket_number")
office = Faker("pyint", min_value=1, max_value=100)
chapter = Faker("pyint", min_value=1, max_value=100)
trustee_str = Faker("text", max_nb_chars=15)
type = Faker("text", max_nb_chars=8)
pacer_case_id = Faker("random_id_string")


class FreeOpinionRowDataFactory(factory.DictFactory):
case_name = Faker("case_name")
cause = Faker("text", max_nb_chars=8)
Expand Down
Loading

0 comments on commit 336869f

Please sign in to comment.