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

11 rsync links #298

Merged
merged 20 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f7ad442
#278 Use absolute path for source file when compiling Fortran.
hiker Feb 29, 2024
378b47f
Fixed errors in the psyclone system tests - Issue #4
Mar 1, 2024
6b8f73b
Also don't change directory so we can be sure all paths are absolute.
hiker Mar 2, 2024
071d1a2
Minor documentation update for #277.
hiker Mar 2, 2024
c7dc9d3
hiker#5 Test warnings are either filtered or changed to be alerted wh…
Mar 11, 2024
34853c4
hiker#5, hiker#4: Renamed duplicated filenames in test subdirectories…
Mar 11, 2024
d0fb208
Merge pull request #6 from hiker/small_documentation_update
jasonjunweilyu Mar 12, 2024
14d0e59
Merge pull request #7 from hiker/278_absolute_paths_in_compilation
jasonjunweilyu Mar 12, 2024
7791733
hiker#4: Improved the test error fix to be easier to understand
Mar 12, 2024
63d2ddc
Merge pull request #9 from hiker/fix_test_error
hiker Mar 12, 2024
ea7b813
Removed absolute path patch, since this breaks a test.
hiker Mar 12, 2024
b8a45c3
Resolve merge conflict with branch fix_test_error by incorporating bo…
Mar 13, 2024
2268191
Fix styling problems reported by Flake8
Mar 13, 2024
2cfcb1a
Fix "_metric_send_conn not set, cannot send metrics" warning not issu…
Mar 13, 2024
e080c44
Merge pull request #10 from hiker/fix_test_warning
hiker Mar 14, 2024
3160570
Add --links option to rsync.
hiker Mar 14, 2024
ed9da03
Merge branch 'bom_master' into 11_rsync_links
hiker Mar 14, 2024
2da2a4f
Merge remote-tracking branch 'upstream/master' into 11_rsync_links
hiker Mar 25, 2024
ab3ac33
Removed unused glob import.
hiker Mar 26, 2024
04c2479
Merge remote-tracking branch 'upstream/master' into 11_rsync_links
hiker Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/fab/steps/grab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def call_rsync(src: Union[str, Path], dst: Union[str, Path]):
if not src.endswith('/'):
src += '/'

command = ['rsync', '--times', '--stats', '-ru', src, str(dst)]
command = ['rsync', '--times', '--links', '--stats', '-ru', src, str(dst)]
return run_command(command)
3 changes: 2 additions & 1 deletion tests/unit_tests/steps/test_grab.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def _common(self, grab_src, expect_grab_src):
grab_folder(mock_config, src=grab_src, dst_label=dst)

expect_dst = mock_config.source_root / dst
mock_run.assert_called_once_with(['rsync', '--times', '--stats', '-ru', expect_grab_src, str(expect_dst)])
mock_run.assert_called_once_with(['rsync', '--times', '--links', '--stats',
'-ru', expect_grab_src, str(expect_dst)])


class TestGrabFcm(object):
Expand Down
Loading