-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
qvm-copy: support --ignore-symlinks
and honor --
#529
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #529 +/- ##
=======================================
Coverage 70.57% 70.57%
=======================================
Files 3 3
Lines 469 469
=======================================
Hits 331 331
Misses 138 138 ☔ View full report in Codecov by Sentry. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024110421-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024091704-4.3&flavor=update
Failed tests22 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/112766#dependencies 199 fixed
Unstable tests
|
"--" was stripped from the arguments before being passed to qfile-agent, so "qvm-copy -- --ignore-symlinks" would ignore symlinks instead of copying a file named "--ignore-symlinks". To fix this problem, always pass "--" to qfile-agent, preceeded by --ignore-symlinks if necessary. This requires qfile-agent to honor -- as indicating end of options, so patch it to do that.
List the options and document -- as indicating end of options.
This improves consistency and is trivial to implement.
2ea4119
to
404ea26
Compare
--
was stripped from the arguments before being passed to qfile-agent, soqvm-copy -- --ignore-symlinks
would ignore symlinks instead of copying a file named--ignore-symlinks
. To fix this problem, always pass--
to qfile-agent, preceeded by--ignore-symlinks
if necessary. This requires qfile-agent to honor--
as indicating end of options, so patch it to do that.