Commit Graph

22 Commits

Author SHA1 Message Date
Nick Heppler
cad8d64c23 feat: Add --reload flag to data synchronization script for loading JSON data
- Introduced a new command-line argument `--reload` to allow loading data from a specified JSON file.
- Updated `parse_arguments` to include the `--reload` flag.
- Modified `main` function to truncate the feature layer and load data from the JSON file when the flag is used.
- Enhanced documentation to reflect the new functionality and usage examples.
2025-05-22 11:25:41 -04:00
b48cade0df Merge pull request 'Add --test Flag to Fetch Only the First Page of Results' (#10) from feature/add-test-flag-for-first-page-results into master
Reviewed-on: https://git.nickhepler.cloud/nick/753-Data-Sync/pulls/10
2025-05-22 10:51:20 -04:00
Nick Heppler
5be8659264 docs: Update README to include --test flag functionality
- Added documentation for the new `--test` command-line argument.
- Updated the "Script Usage" section to reflect the new flag.
- Enhanced the "Functionality" section to mention the test mode feature.
- Included examples of how to use the `--test` flag in the "Usage Examples" section.
2025-05-22 10:32:35 -04:00
Nick Heppler
b7ca534211 feat: Add --test flag to fetch only the first page of results
- Introduced a new command-line argument `--test` to limit data fetching to the first page.
- Updated `parse_arguments` function to include the `--test` flag.
- Modified the pagination logic in the `main` function to break after the first page when `--test` is enabled.
- Enhanced documentation to reflect the new functionality and usage examples.
2025-05-22 10:27:36 -04:00
364e365e9c Merge pull request 'Add Configurable Log and Data Retention' (#8) from feature/logfile-purge-support into master
Reviewed-on: https://git.nickhepler.cloud/nick/753-Data-Sync/pulls/8
2025-04-15 18:18:15 -04:00
Nick Heppler
ed8647df43 Improve README file. 2025-04-15 18:01:15 -04:00
Nick Heppler
6f412348fe feat(logging): add dynamic log filenames and support for PURGE_DAYS cleanup. 2025-04-15 17:53:02 -04:00
55816054fc Merge pull request 'Add Elapsed Time Logging to 753 Data Sync Script' (#7) from enhancement/log-execution-time into master
Reviewed-on: https://git.nickhepler.cloud/nick/753-Data-Sync/pulls/7
2025-04-15 17:31:46 -04:00
Nick Heppler
0ebb27729d Update shields.io badges. 2025-04-15 17:15:19 -04:00
Nick Heppler
b886a4636c log total script execution time in HH:MM:SS format. 2025-04-15 17:00:12 -04:00
Nick Heppler
3765c78de0 Improve README 2025-04-01 20:21:03 -04:00
Nick Heppler
b8e0c37482 Fix link to logo 2025-04-01 19:56:25 -04:00
ab6a2f0ec8 Merge pull request 'feature/add-debug-logging' (#3) from feature/add-debug-logging into master
Reviewed-on: https://git.nickhepler.cloud/nick/753-Data-Sync/pulls/3
2025-04-01 19:54:33 -04:00
Nick Heppler
8c2cfb8118 Add release badge, logo to README 2025-04-01 19:48:44 -04:00
Nick Heppler
1bfa53223d Add logo file 2025-04-01 19:48:25 -04:00
Nick Heppler
da4ef4dc55 Update README 2025-04-01 19:19:30 -04:00
Nick Heppler
01e0d16838 Only save the individual page files if the logging level is set to debug. 2025-04-01 19:15:33 -04:00
Nick Heppler
7f9d32424a Add debug logging messages. 2025-03-27 07:54:15 -04:00
Nick Heppler
6bbf29493c Add app.py script for fetching and syncing enforcement data with ArcGIS. 2025-03-26 12:09:09 -04:00
Nick Heppler
c5708d6d79 Add requirements.txt 2025-03-26 12:07:38 -04:00
Nick Heppler
2e17eac57d Update README file. 2025-03-26 12:07:02 -04:00
54e188bc55 Initial commit 2025-03-26 08:45:38 -04:00