[Piuparts-devel] piuparts.py - check_results()
Herbert Fortes
terberh at gmail.com
Sun Jan 20 08:12:01 GMT 2019
Maybe noone had time to review it. What is good.
I saw my error. prune_files_list() changes new,
removed, modified.
So it can be:
> check_results functions is:
> # https://salsa.debian.org/debian/piuparts/blob/develop/piuparts.py#L2185
reference_info = chroot_state["tree"]
ok = True
if settings.check_broken_diversions:
(removed, added) = chroot.get_modified_diversions(chroot_state["diversions"])
if added; if removed
current_info = chroot.get_tree_meta_data()
(new, removed, modified) = diff_meta_data(reference_info, current_info)
if settings.warn_on_others and deps_info is not None:
(depsnew, depsremoved, depsmodified) = diff_meta_data(reference_info,
deps_info, quiet=True)
prune_files_list() 3x
if warnnew; if warnremoved; if warnmodified
else:
if new; if removed; if modified
return ok
More information about the Piuparts-devel
mailing list