_link_output(args, f.name, f"{args.output}.manifest")
if ManifestFormat.changelog in args.manifest_format:
- with complete_step(f"Saving report {relpath}.packages"):
+ with complete_step(f"Saving report {relpath}.changelog"):
g: TextIO = cast(
TextIO,
tempfile.NamedTemporaryFile(
)
with g:
manifest.write_package_report(g)
- _link_output(args, g.name, f"{relpath}.packages")
+ _link_output(args, g.name, f"{relpath}.changelog")
def print_output_size(args: CommandLineArguments) -> None:
with complete_step("Removing output files…"):
unlink_try_hard(args.output)
unlink_try_hard(f"{args.output}.manifest")
- unlink_try_hard(f"{args.output}.packages")
+ unlink_try_hard(f"{args.output}.changelog")
if args.checksum:
unlink_try_hard(args.output_checksum)
class ManifestFormat(Parseable, enum.Enum):
- json = "json" # the standard manifest in json format
+ json = "json" # the standard manifest in json format
changelog = "changelog" # human-readable text file with package changelogs