Skip to content

Conversation

@maxheld
Copy link
Contributor

@maxheld maxheld commented Jan 15, 2026

Summary

This pull request addresses the sudden removal of the https://github.com/aus-der-Technik/FileMonitor.git repository by introducing a newly implemented file monitoring module named FileMonitor within the codebase. The new implementation uses a snapshot mechanism with a polling timer to detect added, changed, or deleted files, emitting asynchronous stream events for changes.

Details

  • Removed external dependency on the FileMonitor package from Package.swift.
  • Added new FileMonitor.swift implementing directory monitoring with the ability to detect file adds, changes, and deletions asynchronously.
  • Updated usages in existing source files (SPMGraphEdit.swift and SPMGraphLoad.swift) to use the new FileMonitor implementation correctly.
  • Added a suite of thorough unit tests in FileMonitorTests.swift to cover scenarios of file addition, modification, deletion, and error conditions during initialization.
  • Updated the Xcode scheme and test plan to include the new test target for SPMGraphConfigSetupTests.
  • Enhanced end-to-end test cases in SPMGraphExecutableE2ETests.swift for improved argument handling and verification.

This PR restores critical functionality impacted by the missing FileMonitor dependency with a self-contained, tested, and integrated replacement.


The https://github.com/aus-der-Technik/FileMonitor.git repo was suddenly removed and we didn't have an archive of the code. This PR is a new implementation trying to fill the gap it was addressing.

@maxheld maxheld self-assigned this Jan 15, 2026
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

Successfully merging this pull request may close these issues.

2 participants