Skip to content

Commit

Permalink
removes explicit mention of google in pickup names
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jan 30, 2025
1 parent a1bc4d5 commit 563cc00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions aim/digifeeds/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def generate_barcodes_added_in_last_two_weeks_report():
write_barcodes_added_in_last_two_weeks_report(rf)

today = datetime.today().strftime("%Y-%m-%d")
S.logger.info("writing google delivery report")
S.logger.info("writing delivery report")
rclone.copyto(
in_path=report_file.name,
out_path=f"{S.digifeeds_google_delivery_reports_rclone_remote}:{today}_barcodes_in_s3_processed.tsv",
out_path=f"{S.digifeeds_delivery_reports_rclone_remote}:{today}_barcodes_in_s3_processed.tsv",
)
8 changes: 4 additions & 4 deletions aim/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Services:
digifeeds_pickup_rclone_remote: str

#: The name of the rclone remote where reports about what has been sent to google are sent
digifeeds_google_delivery_reports_rclone_remote: str
digifeeds_delivery_reports_rclone_remote: str

#: file path to store of the hathi_file_list update items
hathifiles_store_path: str
Expand Down Expand Up @@ -129,10 +129,10 @@ class Services:
or "digifeeds_bucket",
digifeeds_pickup_rclone_remote=os.getenv("DIGIFEEDS_PICKUP_RCLONE_REMOTE")
or "digifeeds_pickup",
digifeeds_google_delivery_reports_rclone_remote=os.getenv(
"DIGIFEEDS_GOOGLE_DELIVERY_REPORTS_RCLONE_REMOTE"
digifeeds_delivery_reports_rclone_remote=os.getenv(
"DIGIFEEDS_DELIVERY_REPORTS_RCLONE_REMOTE"
)
or "digifeeds_google_delivery_reports",
or "digifeeds_delivery_reports",
hathifiles_store_path=os.getenv("HATHIFILES_STORE_PATH")
or "tmp/hathi_file_list_store.json",
hathifiles_webhook_url=os.getenv("HATHIFILES_WEBHOOK_URL")
Expand Down
4 changes: 2 additions & 2 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ RCLONE_CONFIG_CHAOS_USER=your_smb_user
RCLONE_CONFIG_CHAOS_PASS=your_smb_password
RCLONE_CONFIG_CHAOS_DOMAIN=your_smb_domain

RCLONE_CONFIG_DIGIFEEDS_GOOGLE_DELIVERY_REPORTS_TYPE=alias
RCLONE_CONFIG_DIGIFEEDS_GOOGLE_DELIVERY_REPORTS_REMOTE=chaos:your_reports_path
RCLONE_CONFIG_DIGIFEEDS_DELIVERY_REPORTS_TYPE=alias
RCLONE_CONFIG_DIGIFEEDS_DELIVERY_REPORTS_REMOTE=chaos:your_reports_path

RCLONE_CONFIG_DIGIFEEDS_S3_TYPE=s3
RCLONE_CONFIG_DIGIFEEDS_S3_PROVIDER=AWS
Expand Down

0 comments on commit 563cc00

Please sign in to comment.