rsync distributor syncs symlinks to wrong directory if repo_relative_path starts with /
Due behavior of
produces wrong destination directory which cause symlinks + extra content are synced to
<host>:/<relative_path> instead of <host>:<remote_root>/<relative_path>
#16 Updated by email@example.com over 1 year ago
The rsync distributor documentation and code are confusing. I don't see a distributor configuration property named repo_relative_path in the documentation or the code. The closest I can find is remote_units_path which appears to be verified in the remote configuration but used from the root configuration which is a bug.
Please provided a more detailed explanation and steps to reproduce including a sample distributor configuration.
#21 Updated by jluza over 1 year ago
repo_relative_path is attribute shared for all types of repositories. You can find it for example here:
pulp_rpm/plugins/pulp_rpm/plugins/distributors/yum/configuration.py::get_repo_relative_path which looks at repo config for
btw, this was filled against master but I think master is already for pulp-3.x which could be different from what was in pulp-2.x
Please register to edit this issue