|
|
@ -264,7 +264,7 @@ def format_and_log_uninst(logger, architectures, nuninst, *, loglevel=logging.IN
|
|
|
|
logger.log(loglevel, msg)
|
|
|
|
logger.log(loglevel, msg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def write_heidi(filename, sources_t, packages_t, *, outofsync_arches=frozenset(), sorted=sorted):
|
|
|
|
def write_heidi(filename, target_suite, *, outofsync_arches=frozenset(), sorted=sorted):
|
|
|
|
"""Write the output HeidiResult
|
|
|
|
"""Write the output HeidiResult
|
|
|
|
|
|
|
|
|
|
|
|
This method write the output for Heidi, which contains all the
|
|
|
|
This method write the output for Heidi, which contains all the
|
|
|
@ -273,9 +273,8 @@ def write_heidi(filename, sources_t, packages_t, *, outofsync_arches=frozenset()
|
|
|
|
<pkg-name> <pkg-version> <pkg-architecture> <pkg-section>
|
|
|
|
<pkg-name> <pkg-version> <pkg-architecture> <pkg-section>
|
|
|
|
<src-name> <src-version> source <src-section>
|
|
|
|
<src-name> <src-version> source <src-section>
|
|
|
|
|
|
|
|
|
|
|
|
The file is written as "filename", it assumes all sources and
|
|
|
|
The file is written as "filename" using the sources and packages
|
|
|
|
packages in "sources_t" and "packages_t" to be the packages in
|
|
|
|
from the "target_suite" parameter.
|
|
|
|
"testing".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
outofsync_arches: If given, it is a set of architectures marked
|
|
|
|
outofsync_arches: If given, it is a set of architectures marked
|
|
|
|
as "out of sync". The output file may exclude some out of date
|
|
|
|
as "out of sync". The output file may exclude some out of date
|
|
|
@ -284,6 +283,9 @@ def write_heidi(filename, sources_t, packages_t, *, outofsync_arches=frozenset()
|
|
|
|
The "X=X" parameters are optimizations to avoid "load global" in
|
|
|
|
The "X=X" parameters are optimizations to avoid "load global" in
|
|
|
|
the loops.
|
|
|
|
the loops.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
sources_t = target_suite.sources
|
|
|
|
|
|
|
|
packages_t = target_suite.binaries
|
|
|
|
|
|
|
|
|
|
|
|
with open(filename, 'w', encoding='ascii') as f:
|
|
|
|
with open(filename, 'w', encoding='ascii') as f:
|
|
|
|
|
|
|
|
|
|
|
|
# write binary packages
|
|
|
|
# write binary packages
|
|
|
|