From 8895b975eec69c4c0e9613475db97e71a4ff4bd1 Mon Sep 17 00:00:00 2001 From: alexglasertpx Date: Thu, 23 Jan 2025 10:55:43 +0000 Subject: [PATCH 1/2] Added --force-refetch to collect --- collection.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection.mk b/collection.mk index 4c49ba6..3f2fe6a 100644 --- a/collection.mk +++ b/collection.mk @@ -76,7 +76,7 @@ second-pass:: collection collect:: $(COLLECTION_CONFIG_FILES) @mkdir -p $(RESOURCE_DIR) - digital-land ${DIGITAL_LAND_OPTS} collect $(ENDPOINT_CSV) --collection-dir $(COLLECTION_DIR) + digital-land ${DIGITAL_LAND_OPTS} collect $(ENDPOINT_CSV) --collection-dir $(COLLECTION_DIR) --force-refetch $(REFILL_TODAYS_LOGS) collection:: digital-land ${DIGITAL_LAND_OPTS} collection-save-csv --collection-dir $(COLLECTION_DIR) From c27a18d69bf8a5277302d7bda0e4bba823591008 Mon Sep 17 00:00:00 2001 From: alexglasertpx Date: Tue, 28 Jan 2025 11:20:03 +0000 Subject: [PATCH 2/2] Added variables to refill todays logs --- collection.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection.mk b/collection.mk index 3f2fe6a..f66a252 100644 --- a/collection.mk +++ b/collection.mk @@ -79,7 +79,7 @@ collect:: $(COLLECTION_CONFIG_FILES) digital-land ${DIGITAL_LAND_OPTS} collect $(ENDPOINT_CSV) --collection-dir $(COLLECTION_DIR) --force-refetch $(REFILL_TODAYS_LOGS) collection:: - digital-land ${DIGITAL_LAND_OPTS} collection-save-csv --collection-dir $(COLLECTION_DIR) + digital-land ${DIGITAL_LAND_OPTS} collection-save-csv --collection-dir $(COLLECTION_DIR) --overwrite-today $(REFILL_TODAYS_LOGS) clobber-today:: rm -rf $(LOG_FILES_TODAY) $(COLLECTION_INDEX)