-
Notifications
You must be signed in to change notification settings - Fork 12
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
repo: handle properly nested suites #54
Comments
Hi, The info_suites variable is very fragile and it's highly dependant on https://github.com/edf-hpc/clara/blob/master/example-conf/config.ini#L26 So it only work using "server" and "info_suites" as stated in the example config.ini The problem with nested suited was already taken into account hardcoded https://github.com/edf-hpc/clara/blob/master/clara/plugins/clara_repo.py#L184 so the suite name would be properly handled by debmirror but the destination I think (untested) the problem mentioned is fixed by replacing:
with: However, we should fix the real problem here and this will need some discussion :-) One possible solution inside clara is modify "info_suites" to instead of having
Another possible solution is to declare all this data in a YAML file |
Hi,
I can fix easily the part as explain by @ana , but: Do you want me to change it to use Also, Do you wish to use that codename repository or change to the last one (if the repositories with that codenames exist)? |
On Debian wheezy with reprepro 4.12.5-1, with the following
info_suites
:The resulting layout in the
mirror_root
of the local disk is:This is an issue since when clara first sync the
jessie
suite, it deletes recursively thejessie/updates
directory since it is not present on the source server (it is in another webroot). Then, thejessie/updates
suite must be sync from scratch every times, and this is a bit annoying.The text was updated successfully, but these errors were encountered: