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

Fix issue with partial rebuilds in SCons #38

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

weatherhead99
Copy link
Contributor

@weatherhead99 weatherhead99 commented May 17, 2024

When SCons runs the "butler" target, sometimes it erroneously replaced the gen3 butler SQLite file with an empty directory.

The exact reasons for this are unclear, but it appears that explicitly tagging the sqlite3 and yaml files as File, and the directories as Dir within SConscript causes the SCons dblite file to be generated properly and to allow for SCons targets to rebuild.

Should fix DM-44406

@weatherhead99 weatherhead99 requested a review from czwa May 17, 2024 02:46
@weatherhead99 weatherhead99 self-assigned this May 17, 2024
When SCons runs the "butler" target, sometimes it erroneously
replaced the gen3 butler SQLite file with an empty directory.

The exact reasons for this are unclear, but it appears that
explicitly tagging the sqlite3 and yaml files as File, and the
directories as Dir within SConscript causes the SCons dblite
file to be generated properly and to allow for SCons targets to
rebuild
@weatherhead99
Copy link
Contributor Author

revert the (somewhat unsuccessful) attempts at more complicated fixes, leave just the trivial fix that solves the original rebuild error

@weatherhead99 weatherhead99 merged commit f626154 into main Jun 5, 2024
2 checks passed
@weatherhead99 weatherhead99 deleted the tickets/DM-44406 branch June 5, 2024 14:30
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.

1 participant