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 symlink locking for filesystems that do not support hardlinks #1708

Conversation

cfxegbert
Copy link
Contributor

@cfxegbert cfxegbert commented Apr 4, 2024

In our environment we are using a StorNext file server over Samba on our Mac OSX machines. Mounting over Samba does not allow creating hardlinks. The work done in #903 adds the ability to explicitly use mkdir instead of hardlinks. mkdir may not be an atomic operation on non-local filesystems.

See https://www.mail-archive.com/[email protected]/msg20456.html

@cfxegbert cfxegbert requested a review from a team as a code owner April 4, 2024 22:51
Copy link

linux-foundation-easycla bot commented Apr 4, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I left two nitpick comments in the docs.

src/rezplugins/package_repository/rezconfig Outdated Show resolved Hide resolved
src/rezplugins/package_repository/rezconfig Outdated Show resolved Hide resolved
@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the Next milestone Apr 7, 2024
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @cfxegbert!

@JeanChristopheMorinPerso
Copy link
Member

@cfxegbert can you fix the DCO thing please? You can follow the instructions at https://github.com/AcademySoftwareFoundation/rez/pull/1708/checks?check_run_id=23579052094.

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.27%. Comparing base (1b9c72a) to head (d45e5d3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1708   +/-   ##
=======================================
  Coverage   58.27%   58.27%           
=======================================
  Files         126      126           
  Lines       17157    17157           
  Branches     3504     3504           
=======================================
  Hits         9998     9998           
  Misses       6494     6494           
  Partials      665      665           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

cfxegbert and others added 3 commits April 13, 2024 15:00
Add symlink locking for filesystems that do not support hardlinks

Signed-off-by: Robert Minsk <[email protected]>
Co-authored-by: Jean-Christophe Morin <[email protected]>
Signed-off-by: Robert Minsk <[email protected]>
Signed-off-by: Robert Minsk <[email protected]>
@JeanChristopheMorinPerso
Copy link
Member

(I rebased the branch to fix a conflict)

@JeanChristopheMorinPerso JeanChristopheMorinPerso merged commit 9b01d0b into AcademySoftwareFoundation:main Apr 13, 2024
53 checks passed
Pixel-Minions added a commit to Pixel-Minions/rez that referenced this pull request Sep 26, 2024
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