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

πŸ› rclone preserves symlinks even if broken #4585

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Aug 7, 2023

What do these changes do?

Unfortunately rclone was configured to copy the content pointed by the symlink. This caused rclone to fail if the symlink was broken (the pointed file did not exists).

  • ✨ adds regression test
  • πŸ› rclone copies symlinks as they are without following them

Related issue/s

How to test

DevOps Checklist

@GitHK GitHK marked this pull request as ready for review August 7, 2023 13:17
@GitHK GitHK self-assigned this Aug 7, 2023
@GitHK GitHK added this to the Sundae milestone Aug 7, 2023
@GitHK GitHK requested a review from mguidon August 7, 2023 13:18
@codeclimate
Copy link

codeclimate bot commented Aug 7, 2023

Code Climate has analyzed commit 7cf8d26 and detected 0 issues on this pull request.

View more on Code Climate.

@sonarcloud
Copy link

sonarcloud bot commented Aug 7, 2023

Kudos, SonarCloud Quality Gate passed!Β  Β  Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@GitHK GitHK added t:maintenance Some planned maintenance work a:dynamic-sidecar dynamic-sidecar service a:agent agent service labels Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #4585 (7cf8d26) into master (b6ef630) will increase coverage by 0.1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #4585     +/-   ##
========================================
+ Coverage    86.7%   86.8%   +0.1%     
========================================
  Files        1023     744    -279     
  Lines       43772   34047   -9725     
  Branches     1013     188    -825     
========================================
- Hits        37967   29581   -8386     
+ Misses       5578    4420   -1158     
+ Partials      227      46    -181     
Flag Coverage Ξ”
integrationtests 65.2% <ΓΈ> (-1.5%) ⬇️
unittests 83.9% <ΓΈ> (-0.4%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Ξ”
...e-sdk/src/simcore_sdk/node_ports_common/r_clone.py 97.8% <ΓΈ> (ΓΈ)

... and 288 files with indirect coverage changes

Copy link
Contributor

@elisabettai elisabettai left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@GitHK GitHK enabled auto-merge (squash) August 7, 2023 13:35
@GitHK
Copy link
Contributor Author

GitHK commented Aug 7, 2023

Thanks for the quick fix!

I will shutdown the node as soon as this gets in master. TO check that nothing else is broken.

@GitHK GitHK merged commit f8aa15d into ITISFoundation:master Aug 7, 2023
52 checks passed
@GitHK GitHK deleted the pr-osparc-rts-fix-link-issues branch August 7, 2023 14:48
@GitHK
Copy link
Contributor Author

GitHK commented Aug 7, 2023

Thanks for the quick fix!

I will shutdown the node as soon as this gets in master. TO check that nothing else is broken.

Allo good, this fixed the issue!

@GitHK GitHK mentioned this pull request Aug 8, 2023
26 tasks
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Sep 22, 2023
50 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:agent agent service a:dynamic-sidecar dynamic-sidecar service t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants