Skip to content

Commit 52f4400

Browse files
author
ajohns
committed
added comment about non-hidden filename
1 parent 467808e commit 52f4400

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 2.90.1 (2021-06-08)
4+
[Source](https://github.com/nerdvegas/rez/tree/2.90.1) | [Diff](https://github.com/nerdvegas/rez/compare/2.90.0...2.90.1)
5+
6+
**Merged pull requests:**
7+
8+
- Avoid hidden folder/files as it introduces problems on certain fileystems [\#1088](https://github.com/nerdvegas/rez/pull/1088) ([bfloch](https://github.com/bfloch))
9+
310
## 2.90.0 (2021-06-08)
411
[Source](https://github.com/nerdvegas/rez/tree/2.90.0) | [Diff](https://github.com/nerdvegas/rez/compare/2.89.1...2.90.0)
512

src/rez/utils/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
# Update this value to version up Rez. Do not place anything else in this file.
4-
_rez_version = "2.90.0"
4+
_rez_version = "2.90.1"
55

66

77
# Copyright 2013-2016 Allan Johns.

src/rez/utils/filesystem.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,12 @@ def make_tmp_name(name):
323323
disk at context exit time, it is deleted.
324324
"""
325325
path, base = os.path.split(name)
326+
327+
# there's a reason this isn't a hidden file:
328+
# https://github.com/nerdvegas/rez/pull/1088
329+
#
326330
tmp_base = "_tmp-%s-%s" % (base, uuid4().hex)
331+
327332
tmp_name = os.path.join(path, tmp_base)
328333

329334
try:

0 commit comments

Comments
 (0)