-
-
Notifications
You must be signed in to change notification settings - Fork 10k
Closes #538: save_manifest at end of --update merge step #545
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -931,6 +931,14 @@ merged_out = { | |
| } | ||
| Path('graphify-out/.graphify_extract.json').write_text(json.dumps(merged_out)) | ||
| print(f'[graphify update] Merged extraction written ({len(merged_out[\"nodes\"])} nodes, {len(merged_out[\"edges\"])} edges)') | ||
|
|
||
| # Save manifest with the CURRENT full file list so the next --update | ||
| # diffs against today's filesystem state, not the prior --update's | ||
| # baseline. Without this, deleted files get reported as ghosts again | ||
| # on every subsequent --update until a full rebuild runs. | ||
| from graphify.detect import save_manifest | ||
| save_manifest(incremental['files']) | ||
|
Comment on lines
+939
to
+940
|
||
| print('[graphify update] Manifest saved.') | ||
| " | ||
| ``` | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This snippet groups imports at the top, but
from graphify.detect import save_manifestis added later. Consider moving that import up with the other imports to keep thepython -cblock easier to skim and maintain.