Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental Loading - Stage 1 - Implement checks (3) - Config changed #120

Open
Ben-Hodgkiss opened this issue Oct 22, 2024 · 0 comments
Open

Comments

@Ben-Hodgkiss
Copy link
Contributor

Overview
We need to check if the configuration files have changed since the last successful run. To do this we need to find the last changes to them. While it is possible to use he github API to find the last checkin to the repo, it may well be simpler and clearer to update the process to do a lightweight checkout. The git log can then be checked for the relevant files.

Tech Approach

  • Update makerules to use git to checkout the config dirs, rather than getting the files via the raw.github URL.
  • Determine the files used for this collection.
  • Use git log to find the last update of the relevant files
  • Use this information, along with the last successful run, to add to the process log to determine this collection should be processed.

Acceptance Criteria/Tests

  • The collection runs as normal despite the changes to how the files are obtained.
  • Changes to the relevant parts of the config are determined
  • The process log is correctly updates

Resourcing & Dependencies

  • Developer, will need docker setup to test the container changes.
@Ben-Hodgkiss Ben-Hodgkiss converted this from a draft issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant