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

Add a tag to the cachedir #4617

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Add a tag to the cachedir #4617

merged 1 commit into from
Oct 28, 2024

Conversation

mwichmann
Copy link
Collaborator

Since there are now two files to make when a cachedir is created, use the temporary-dir -> rename technique.

CacheDir tests no longer pre-create the cache directory, they should be verifying it's created properly upon request (one unit test still makes sure passing an existing empty directory works, too).

There are no externally visible changes (except the new tag file if someone goes and explicitly looks, but that's an "implementation detail", not part of the behavior).

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

SCons/CacheDirTests.py Outdated Show resolved Hide resolved
@mwichmann
Copy link
Collaborator Author

Hmmm, I had made the updates to CHANGES and RELEASE, but it looks like they never got committed. I'll fix that when resolving the conflict.

Since there are now two files to make when a cachedir is created,
use the temporary-dir -> rename technique.

CacheDir tests no longer pre-create the cache directory, they should
be verifying it's created properly upon request (one unit test still
makes sure passing an existing empty directory works, too).

Signed-off-by: Mats Wichmann <[email protected]>
@bdbaddog bdbaddog merged commit de084c8 into SCons:master Oct 28, 2024
7 of 8 checks passed
@mwichmann mwichmann added this to the NextRelease milestone Oct 28, 2024
@mwichmann mwichmann deleted the cachedir-tag branch October 31, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants